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, run_donttest = FALSE, run_dontrun = FALSE, fresh = FALSE, document = TRUE, run, test )
| pkg | The package to use, can be a file path to the package or a
package object. See |
|---|---|
| start | Where to start running the examples: this can either be the
name of |
| show | DEPRECATED. |
| run_donttest | if |
| run_dontrun | if |
| fresh | if |
| document | if |
| run | Deprecated, see |
| test | Deprecated, see |