load_or_install: Loads a list of libraries, installs when necessary

View source: R/libreq.R

load_or_installR Documentation

Loads a list of libraries, installs when necessary

Description

Loads a list of libraries, installs when necessary

Usage

load_or_install(wants, repo = "https://cloud.r-project.org/")

Arguments

wants

A list of R modules available on CRAN

repo

string containing repo to be passed to install.packages

Examples

## Not run: 
load_or_install(c('tidyverse', 'Hmisc', 'glmnet'))

## End(Not run)


apoorvalal/LalRUtils documentation built on Sept. 22, 2023, 5:53 p.m.