Skip to contents

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()

Value

list with recursive package dependencies

Examples

if (FALSE) {
pkgs <- pkgmeta::get_github_packages()
get_recursive_pkg_dependencies(pkgs$name)
}