Skip to content

Look up the dependencies of a package

Usage

pkg_deps(pkg, upgrade = TRUE, dependencies = NA)

Arguments

pkg

Package name or remote package specification to resolve.

upgrade

Whether to use the most recent available package versions.

dependencies

Dependency types. See pkgdepends::as_pkg_dependencies() for possible values.

Value

A data frame.

See also

Examples

if (FALSE) {
pkg_deps("curl")
pkg_deps("r-lib/fs")
}