Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

add_comments

Extend code regions to include leading comments and whitespace


Description

Extend code regions to include leading comments and whitespace

Usage

add_comments(refs)

Arguments

refs

a list of the code region srcrefs to extend.

Value

add_comment returns a list of srcrefs corresponding to srcref, but extended to include the preceding comment block.


box

Write Reusable, Composable and Modular R Code

v1.0.2
MIT + file LICENSE
Authors
Konrad Rudolph [aut, cre] (<https://orcid.org/0000-0002-9866-7051>), Michael Schubert [ctb] (<https://orcid.org/0000-0002-6862-5221>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.