get_pkg_dependencies: Get package dependencies

View source: R/get_pkg_dependencies.R

get_pkg_dependenciesR Documentation

Get package dependencies

Description

Get package dependencies

Usage

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 packrat:::getPackageDependencies()

Value

list with package dependencies

Examples

## Not run: 
pkgs <- pkgmeta::get_github_packages()
get_pkg_dependencies(pkgs$name)

## End(Not run)


KWB-R/pkgmeta documentation built on March 27, 2024, 4:28 p.m.