Skip to content

Draw the dependency tree of a package

Usage

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

The same data frame as pkg_deps(), invisibly.

See also

Examples

if (FALSE) {
pkg_deps_tree("dplyr")
pkg_deps_tree("r-lib/usethis")
}