check
automatically builds a package before using
R CMD check
as this is the recommended way to
check packages. Note that this process runs in an
independent realisation of R, so nothing in your current
workspace will affect the process.check(pkg = NULL, document = TRUE, cleanup = TRUE,
cran = TRUE, args = NULL)
as.package
for more informationTRUE
(the default), will update
and check documentation before running formal check.TRUE
the check directory is
removed if the check is successful - this allows you to
inspect the results to figure out what went wrong. If
FALSE
the check directory is never removed.TRUE
(the default), check with
CRAN.R CMD
check
.