dev_example {pkgload} | R Documentation |
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, test = FALSE, run = FALSE, env = new.env(parent = globalenv()), quiet = FALSE)
topic |
Name or topic (or name of Rd) file to run examples for |
quiet |
If |
path |
Path to |
test |
if |
run |
if |
env |
Environment in which code will be run. |
## Not run: # Runs installed example: library("ggplot2") example("ggplot") # Runs develoment example: dev_example("ggplot") ## End(Not run)