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: 
# This will install packages on your system
install_if_missing(c("dplyr", "fcuk", "rusk"))

## End(Not run)


attachment documentation built on July 2, 2024, 1:07 a.m.