Skip to content

Dependencies of a package tree

Usage

local_deps(root = ".", upgrade = TRUE, dependencies = NA)

local_deps_tree(root = ".", upgrade = TRUE, dependencies = NA)

local_dev_deps(root = ".", upgrade = TRUE, dependencies = TRUE)

local_dev_deps_tree(root = ".", upgrade = TRUE, dependencies = TRUE)

Arguments

root

Path to the package tree.

upgrade

Whether to use the most recent available package versions.

dependencies

Which dependencies to print. Defaults to the hard dependencies for local_deps() and local_deps_tree() and the hard dependencies plus the development dependencies for local_dev_deps() and local_dev_deps_tree().

Value

All of these functions return the dependencies in a data frame. local_deps_tree() and local_dev_deps_tree() also print the dependency tree.