local_deps_explain: Explain dependencies of a package tree

View source: R/local.R

local_deps_explainR Documentation

Explain dependencies of a package tree

Description

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

Usage

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

What kinds of dependencies to install. Most commonly one of the following values:

  • NA: only required (hard) dependencies,

  • TRUE: required dependencies plus optional and development dependencies,

  • FALSE: do not install any dependencies. (You might end up with a non-working package, and/or the installation might fail.) See Package dependency types for other possible values and more information about package dependencies.

See Also

Other local package trees: local_deps(), local_install_deps(), local_install_dev_deps(), local_install(), local_package_trees, pak()


r-lib/pak documentation built on Nov. 9, 2024, 2:34 a.m.