testInstalledPackage(pkg, lib.loc = NULL, outDir = ".",
types = c("examples", "tests", "vignettes"),
srcdir = NULL, Ropts = "", ...)testInstalledPackages(outDir = ".", errorsAreFatal = TRUE,
scope = c("both", "base", "recommended"),
types = c("examples", "tests", "vignettes"),
srcdir = NULL, Ropts = "", ...)
testInstalledBasic(scope = c("basic", "devel", "both", "internet"))
library..save files.commentDontrun and commentDonttest.0L for success, 1L for failure. Package tests are run in a
testInstalledBasic runs the basic tests, if installed. This
should be run with LC_COLLATE=C set: the function tries to set
this by it may not work on all OSes. For non-English locales it may
be desirable to set environment variables
Except on Windows, if the environment variable testInstalledPackages will
run the package tests in parallel using its value as the maximum
number of parallel processes.
#ifdef unix
The package-specific tests for the base and recommended packages are
not normally installed, but diff for a full report
if more than simple differences are found.
#endif