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)
package description, can be path or package name. See
Where to start running the examples: this can either be the