A constructor for class SwitchrCtx, represenging a switchr installed-package library.
SwitchrCtx(name, libpaths, exclude.site = TRUE, seed = NULL)
a SwitchrCtx
object.
The name to associate with the context
The directories where the installed packages are located
Should the current site library be included in the context when it is switched to (TRUE) '
An object representing the list of packages the switchr context was seeded with.
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