Require: Load a package by installing it if necessary

View source: R/Require.R

RequireR Documentation

Load a package by installing it if necessary

Description

It is easier to run a script if we know the packages will be installed if this additional step is necessary. Installation uses the RStudio mirror of CRAN.

Usage

Require(pkg)

Arguments

pkg

the package to be loaded/installed.

Value

logical: to say that the package has been successfully loaded (invisible)

Author(s)

A. Jonathan R. Godfrey

See Also

require from the base package


BrailleR documentation built on July 26, 2023, 5:46 p.m.