Installs a package tree (or source package file), together with its dependencies.
local_install(root = ".", lib = .libPaths()[1], upgrade = FALSE,
ask = interactive())
Path to the package tree.
Package library to install the packages to. Note that all dependent packages will the be installed here, even if they are already installed in another library.
Whether to upgrade already installed packages to the
latest available version. If this is FALSE
, then only packages
that need updates to satisfy version requirements, will be updated.
If it is TRUE
, all specified or dependent packages will be updated
to the latest available version.
Whether to ask for confirmation.
Data frame, with information about the installed package(s).
local_install()
is equivalent to pkg_install("local::.")
.
Other local package trees: local_install_deps
,
local_install_dev_deps
,
local_package_trees