% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/local.R
\name{local_install_dev_deps}
\alias{local_install_dev_deps}
\title{Install all (development) dependencies of a package tree}
\usage{
local_install_dev_deps(
  root = ".",
  lib = NULL,
  upgrade = TRUE,
  ask = interactive(),
  dependencies = TRUE
)
}
\arguments{
\item{root}{Path to the package tree.}

\item{lib}{Character vector of library paths to consider when creating the
installation plan.
\itemize{
\item The first library path is the target where packages will be installed.
\item Additional library paths, if provided, are visible to the solver as
candidates for satisfying dependency requirements. If a needed package is
found here at an acceptable version, it won't be re-installed in
\code{lib[1]}.
\item Base and recommended packages in \code{.Library} are always considered, i.e.
a recommended package is only duplicated in \code{lib[1]} if a newer version
is required.
}}

\item{upgrade}{When \code{FALSE}, the default, pak does the minimum amount
of work to give you the latest version(s) of \code{pkg}. It will only upgrade
dependent packages if \code{pkg}, or one of their dependencies explicitly
require a higher version than what you currently have. It will also
prefer a binary package over to source package, even if the binary
package is older.

When \code{upgrade = TRUE}, pak will ensure that you have the latest
version(s) of \code{pkg} and all their dependencies.}

\item{ask}{Whether to ask for confirmation when installing a different
version of a package that is already installed. Installations that only
add new packages never require confirmation.}

\item{dependencies}{What kinds of dependencies to install. Most commonly
one of the following values:
\itemize{
\item \code{NA}: only required (hard) dependencies,
\item \code{TRUE}: required dependencies plus optional and development
dependencies,
\item \code{FALSE}: do not install any dependencies. (You might end up with a
non-working package, and/or the installation might fail.)
See \link{Package dependency types} for other possible values and more
information about package dependencies.
}}
}
\description{
Installs all dependencies of a package tree (or source package file),
without installing the package tree itself. It installs the development
dependencies as well, specified in the \code{Suggests} field of
\code{DESCRIPTION}.
}
\seealso{
Other local package trees:
\code{\link[=local_deps]{local_deps()}},
\code{\link[=local_deps_explain]{local_deps_explain()}},
\code{\link[=local_install]{local_install()}},
\code{\link[=local_install_deps]{local_install_deps()}},
\code{\link{local_package_trees}},
\code{\link[=pak]{pak()}}
}
\concept{local package trees}
