crandalf (version 0.0.1)

rev_check: Check the reversion dependencies of an R package on Github

Description

This function calls tools::check_packages_in_dir() to check the reverse dependencies of an R package hosted on Github.

Usage

rev_check(repo = "yihui/knitr", check_args = "--no-manual", reverse = list(which = "all"), xvfb = TRUE, Ncpus = parallel::detectCores())

Arguments

repo
the repository name of the form user/repo
check_args
a character vector with arguments to be passed to R CMD check, or a list of length two of such character vectors to be used for checking packages and reverse dependencies, respectively.
reverse
a list with names partially matching "repos", "which", or "recursive", giving the repositories to use for locating reverse dependencies (default: getOption("repos")), the types of reverse dependencies (default: c("Depends", "Imports", "LinkingTo"), with shorthands "most" and "all" as for package_dependencies), and indicating whether to also check reverse dependencies of reverse dependencies and so on (default: FALSE), or NULL (default), in which case no reverse dependencies are checked.
xvfb
a logical indicating whether to perform checking inside a virtual framebuffer X server (Unix only), or a character vector of Xvfb options for doing so.
Ncpus
the number of parallel processes to use for parallel installation and checking.