install_if_missing: install packages if missing

View source: R/install_from_description.R

install_if_missingR Documentation

install packages if missing

Description

install packages if missing

Usage

install_if_missing(to_be_installed, ...)

Arguments

to_be_installed

a character vector containing required packages names

...

Arguments to be passed to utils::install.packages()

Value

Used for side effect. Install missing packages from the character vector input.

Examples

## Not run: 
install_if_missing(c("dplyr","fcuk","rusk"))

## End(Not run)


attachment documentation built on Sept. 19, 2022, 5:07 p.m.