instrequire: This function takes a list of package names, loads them if...

View source: R/functions.R

instrequireR Documentation

This function takes a list of package names, loads them if they are available, otherwise attempts to install each one and then again attempts to load it.

Description

This function takes a list of package names, loads them if they are available, otherwise attempts to install each one and then again attempts to load it.

Usage

instrequire(
  pkgs,
  quietly = TRUE,
  dependencies = TRUE,
  repos = getOption("repos", "https://cran.rstudio.com/"),
  ...
)

bokov/tidbits documentation built on Jan. 26, 2024, 6:25 p.m.