Learn R Programming

pak (version 0.3.1)

pkg_deps_tree: Draw the dependency tree of a package

Description

Draw the dependency tree of a package

Usage

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

Value

The same data frame as pkg_deps(), invisibly.

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.

See Also

Other package functions: lib_status(), pak_package_sources, pak(), pkg_deps(), pkg_download(), pkg_install(), pkg_remove(), pkg_status()

Examples

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

Run the code above in your browser using DataLab