dev_example
is a replacement for example
. run_example
is a low-level function that takes a path to an Rd file.
Name or topic (or name of Rd) file to run examples for
If TRUE
, does not echo code to console.
Path to .Rd
file
if TRUE
, do run \donttest
sections in the Rd files.
if TRUE
, do run \dontrun
sections in the Rd files.
Environment in which code will be run.
Custom macros to use to parse the .Rd
file. See the
macros
argument of tools::parse_Rd()
. If NULL
, then the
tools::Rd2ex()
(and tools::parse_Rd()
) default is used.
Deprecated, see run_dontrun
and run_donttest
above.