Learn R Programming

switchr (version 0.14.8)

SwitchrCtx: SwitchrCtx

Description

A constructor for class SwitchrCtx, represenging a switchr installed-package library.

Usage

SwitchrCtx(name, libpaths, exclude.site = TRUE, seed = NULL)

Value

a SwitchrCtx object.

Arguments

name

The name to associate with the context

libpaths

The directories where the installed packages are located

exclude.site

Should the current site library be included in the context when it is switched to (TRUE) '

seed

An object representing the list of packages the switchr context was seeded with.

References

Becker G, Barr C, Gentleman R, Lawrence M; Enhancing Reproducibility and Collaboration via Management of R Package Cohorts. Journal of Statistical Software, 81(1). 2017. doi: 10.18637/jss.v082.i01