rcmdcheck {rcmdcheck} | R Documentation |
Run R CMD check form R programatically, and capture the results of the individual checks.
rcmdcheck(path = ".", quiet = FALSE, args = character(), build_args = character(), check_dir = NULL, libpath = .libPaths(), repos = getOption("repos"), timeout = Inf, error_on = c("never", "error", "warning", "note"))
path |
Path to a package tarball or a directory. |
quiet |
Whether to print check output during checking. |
args |
Character vector of arguments to pass to
|
build_args |
Character vector of arguments to pass to
|
check_dir |
Path to a directory where the check is performed.
If this is not |
libpath |
The library path to set for the check. The default uses the current library path. |
repos |
The |
timeout |
Timeout for the check, in seconds, or as a
base::difftime object. If it is not finished before this, it will be
killed. |
error_on |
Whether to throw an error on |
An S3 object (list) with fields errors
,
warnings
and notes
. These are all character
vectors containing the output for the failed check.