Run a examples for an in-development function.
dev_example
is a replacement for example
. run_example
is a low-level function that takes a path to an Rd file.
dev_example(topic, quiet = FALSE) run_example( path, run_donttest = FALSE, run_dontrun = FALSE, env = new.env(parent = globalenv()), quiet = FALSE, macros = NULL, run, test )
topic |
Name or topic (or name of Rd) file to run examples for |
quiet |
If |
path |
Path to |
run_donttest |
if |
run_dontrun |
if |
env |
Environment in which code will be run. |
macros |
Custom macros to use to parse the |
run, test |
Deprecated, see |
## Not run: # Runs installed example: library("ggplot2") example("ggplot") # Runs develoment example: dev_example("ggplot") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.