loadRequiredPackages: Installs and loads packages

Description Usage Arguments Details Author(s)

View source: R/loadRequiredPackages.R

Description

myRequiredPackages checks whether the package is already installed, installing those which are not preinstalled. All the libraries are then load.

Usage

1
loadRequiredPackages(..., repository = "https://cran.ma.imperial.ac.uk/")

Arguments

...

A list of packages

repository

The repository to load functions from. Defaults to "https://cran.ma.imperial.ac.uk/"

Details

Especially useful when running on virtual machines where package installation is not persistent (Like UoS sve). It will fail if the packages need to be installed but there is no internet access

Author(s)

Luke Blunden, lsb@soton.ac.uk (original)

Michael Harper m.harper@soton.ac.uk (revised version)


dr-harper/HarpR documentation built on Nov. 8, 2019, 8:56 p.m.