These functions are similar to pkg_deps_explain(), but work on a local package tree. local_dev_deps_explain() also includes development dependencies.

local_deps_explain(deps, root = ".", upgrade = TRUE, dependencies = NA)

local_dev_deps_explain(deps, root = ".", upgrade = TRUE, dependencies = TRUE)

Arguments

deps

Package names of the dependencies to explain.

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().

See also