Learn R Programming

pkg (version 0.1.1.9000)

local_install: Install a package tree

Description

Installs a package tree (or source package file), together with its dependencies.

Usage

local_install(root = ".", lib = .libPaths()[1], upgrade = FALSE,
  ask = interactive())

Arguments

root

Path to the package tree.

lib

Package library to install the packages to.

upgrade

Whether to upgrade already installed packages to the latest available version.

ask

Whether to ask for confirmation.

Value

Data frame, with information about the installed package(s).

Details

local_install() is equivalent to pkg_install("local::.").

See Also

Other local packages: local_install_deps, local_install_dev_deps