Deprecated: use audit_check() instead
check_as_cran(
pkg = ".",
check_output = file.path(dirname(normalizePath(pkg, mustWork = FALSE)), "check"),
scratch = tempfile("scratch_dir"),
Ncpus = 1,
as_command = FALSE,
clean_before = TRUE,
open = FALSE,
repos = getOption("repos")
)Path to the package to check.
Where to store check outputs.
Where to store temporary files.
Number of CPUs.
Run as Linux command line instead of in R.
Currently a no-op: the as_command = TRUE branch only sets a
local variable and returns invisibly without invoking the check.
Keep FALSE (default) until that branch is implemented.
Wipe check_output before running.
Open the check directory at the end.
Repositories used for dependency resolution.
See audit_check().