run_examples {devtools} | R Documentation |
One of the most frustrating parts of R CMD check
is getting all of your
examples to pass - whenever one fails you need to fix the problem and then
restart the whole process. This function makes it a little easier by
making it possible to run all examples from an R function.
run_examples(pkg = ".", start = NULL, show = TRUE, test = FALSE, run = TRUE, fresh = FALSE, document = TRUE)
pkg |
package description, can be path or package name. See
|
start |
Where to start running the examples: this can either be the
name of |
show |
DEPRECATED. |
test |
if |
run |
if |
fresh |
if |
document |
if |