install: Install packages and their dependencies from CRAN-style...

Description Usage Arguments Value

Description

Install packages and their dependencies from CRAN-style repositories.

Usage

1
2
3
4
5
6
7
install(
  packages = character(),
  lib_paths = .libPaths(),
  repos = repositories(),
  dry.run = FALSE,
  verbose = TRUE
)

Arguments

packages

character() vector of packages to install. Packages and all dependencies must be available in the repositories specified by repos = .

lib_paths

character() vector of (local) directory paths in which to install packages (the first position) and to find currently installed packages. lib_paths must have length at least 1.

repos

character() vector of paths (e.g., URLs) to 'CRAN-style' repositories. The default includes CRAN and Bioconductor repositories relevant to the current R installation.

dry.run

logical(1) perform the installation (default TRUE) or only the calculation of packages requiring update.

verbose

logical(1) report progress toward installing packages (default TRUE).

Value

a tibble of package, version, dependency count (including self), and logical value indicating whether installation occurred.


mtmorgan/pkgserver documentation built on Feb. 25, 2020, 3:54 a.m.