Get package dependencies

get_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 getPackageDependencies

Value

list with package dependencies

Examples

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