check_rev_deps {checked} | R Documentation |
Check reverse dependencies
Description
Check a package's reverse dependencies in order to identify differences in reverse dependency check results when run alongside your package's development and release versions.
Usage
check_rev_deps(
path,
n = 2L,
output = tempfile(paste(utils::packageName(), Sys.Date(), sep = "-")),
lib.loc = .libPaths(),
repos = getOption("repos"),
reverse_repos = repos,
restore = options::opt("restore"),
reporter = reporter_default(),
...
)
Arguments
path |
file path to the package source directory |
n |
|
output |
|
lib.loc |
|
repos |
|
reverse_repos |
|
restore |
|
reporter |
A reporter to provide progress updates. Will default to the most expressive command-line reporter given your terminal capabilities. |
... |
Additional arguments passed to |
Details
Runs classical reverse dependency checks for the given source package. It
first identifies reverse dependencies available in repos
. Then, after
installing all required dependencies, runs R CMD check
twice for each
package, one time with the release version of the given source package
installed from repos
and a second time with the development version
installed from local source. Both R CMD checks
are later compared to
identify changes in reverse dependency behaviors.
Value
check_design()
R6 class storing all the details
regarding checks that run. Can be combined with
results
and summary()
methods to generate results.
See Also
Other checks:
check_design
,
check_dev_rev_deps()
,
check_dir()
,
check_pkgs()
,
new_check_design()