revdep_check()
to run check_cran()
on all downstream
dependencies. Summarises the results with revdep_check_summary()
and
see problems with revdep_check_print_problems()
.revdep_check_save_summary(pkg = ".")revdep_check_print_problems(pkg = ".")
revdep_check(pkg = ".", recursive = FALSE, ignore = NULL,
dependencies = c("Depends", "Imports", "Suggests", "LinkingTo"),
skip = character(), libpath = getOption("devtools.revdep.libpath"),
srcpath = libpath, bioconductor = FALSE, type = getOption("pkgType"),
threads = getOption("Ncpus", 1), env_vars = NULL, check_dir = NULL,
install_dir = NULL, quiet_check = TRUE)
revdep_check_resume(pkg = ".", ...)
revdep_check_reset(pkg = ".")
TRUE
look for full set of recursive dependencies.revdep_check
to avoid packages with installation problems
or extremely long check times.TRUE
also look for dependencies amongst
bioconductor packages.install.packages()
."Ncpus"
or 1
if unset.R CMD check
TRUE
, suppresses individual R CMD
check
output and only prints summaries. Set to FALSE
for
debugging.revdep_check
. Use with care.check_dir
.
Summaries of all ERRORs and WARNINGs will be stored in
check_dir/00check-summary.txt
.pkg
(in special library, see below).
pkg
.
R CMD check
on each package.
pkg
(so other reverse dependency checks don't
use the development version instead of the CRAN version)
By default revdep_check
uses a temporary library to store any packages
that are required by the packages being tested. This ensures that they don't
interfere with your default library, but means that if you restart R
between checks, you'll need to reinstall all the packages. If you're
doing reverse dependency checks frequently, I recommend that you create
a directory for these packages and set options(devtools.revdep.libpath)
.
revdep_check_resume()
, or blow away the cached result so you can
start afresh with revdep_check_reset()
.revdep_maintainers()
to get a list of all revdep
maintainers.## Not run: ------------------------------------
# # Run R CMD check on all downstream dependencies
# revdep_check()
# revdep_check_save_summary()
# revdep_check_print_problems()
## ---------------------------------------------
Run the code above in your browser using DataLab