powered by
This function will check a source package.
pkg_check( pkgid, src_pkgs = get_srcpkgs(), lib = ".check", roxygen = TRUE, quiet = FALSE, error_on = "error", check_system_clock = FALSE, ... )
the results as a pkg_test object, or NULL if no tests found
pkg_test
a package name, path or package object
a collection of source packages as a srckgs object.
srckgs
directory where to install and find installed pkgs
whether to roxygenize
whether to be quiet/silent
passed to devtools::check()
devtools::check()
if FALSE, disable the _R_CHECK_SYSTEM_CLOCK_ check. This check sometimes fail because of firewalls...
_R_CHECK_SYSTEM_CLOCK_
# \donttest{ pkg <- setup_and_get_dummy_srcpkg() res <- pkg_check(pkg, lib = tempfile(), error_on = "never") print(res) # }
Run the code above in your browser using DataLab