pkg_install: Install packages

Description Usage Arguments Value

Description

Install packages

Usage

1
2
pkg_install(pkgs, global = FALSE, ask = FALSE, all = FALSE,
  download_dir = tempfile())

Arguments

pkgs

The package(s) to install. Specific versions can be specified after a dash.

global

Whether to install packages globally.

ask

Whether to ask for confirmation before proceeding with the installation.

all

Whether to install suggested and enhancaed packages as well, not only just the ones pkgs depend on, import from and link to. Set this to TRUE to make sure that you can run all examples and vignettes from the package(s).

download_dir

Directory to store the downloaded packages in.

Value

Invisibly a logical vector which is TRUE for successfully installed packages, and FALSE for others.


metacran/rpkg documentation built on May 22, 2019, 7:48 p.m.