usepkg {easyr}R Documentation

Use Package

Description

Installs a package if it needs to be installed, and calls require to load the package. Author: Scott Sobel. Tech Review: Bryce Chamberlain.

Usage

usepkg(packages, noCache = FALSE, repos = "http://cran.us.r-project.org")

Arguments

packages

Character or character vector with names of the packages you want to use.

noCache

When checking packages, you can choose to ignore the cached list, which will increase accuracy but decrease speed.

repos

choose the URL to install from.

Examples

# packages shouldn't be installed during tests or examples according to CRAN. 
# therefore, examples cannot be provided because CRAN now runs donttest examples.

[Package easyr version 0.5-11 Index]