Get recursive package dependencies
Source:R/get_recursive_pkg_dependencies.R
get_recursive_pkg_dependencies.Rd
Get recursive package dependencies
Usage
get_recursive_pkg_dependencies(
pkgs,
library_path = .libPaths(),
dbg = TRUE,
...
)
Arguments
- pkgs
character vector with package names
- library_path
character vector with path(s) to R library (default: .libPaths())
- dbg
logical if debug should be shown (default: TRUE)
- ...
additional arguments passed to packrat:::getPackageDependencies()
Examples
if (FALSE) {
pkgs <- pkgmeta::get_github_packages()
get_recursive_pkg_dependencies(pkgs$name)
}