dev_example is a replacement for example. run_example
is a low-level function that takes a path to an Rd file.
Arguments
- topic
Name or topic (or name of Rd) file to run examples for
- quiet
If
TRUE, does not echo code to console.- path
Path to
.Rdfile- run_donttest
if
TRUE, do run\donttestsections in the Rd files.- run_dontrun
if
TRUE, do run\dontrunsections in the Rd files.- env
Environment in which code will be run.
- macros
Custom macros to use to parse the
.Rdfile. See themacrosargument oftools::parse_Rd(). IfNULL, then thetools::Rd2ex()(andtools::parse_Rd()) default is used.- run, test
Deprecated, see
run_dontrunandrun_donttestabove.