Deals with missing libPaths arg, and takes first
Arguments
- libPaths
The library path (or libraries) where all packages should be installed, and looked for to load (i.e., call
library
). This can be used to create isolated, stand alone package installations, if used withstandAlone = TRUE
. Currently, the path supplied here will be prepended to.libPaths()
(temporarily during this call) toRequire
ifstandAlone = FALSE
or will set (temporarily).libPaths()
toc(libPaths, tail(libPaths(), 1)
to keep base packages.- standAlone
Logical. If
TRUE
, all packages will be installed to and loaded from thelibPaths
only. NOTE: IfTRUE
, THIS WILL CHANGE THE USER'S.libPaths()
, similar to e.g., thecheckpoint
package. IfFALSE
, thenlibPath
will be prepended to.libPaths()
during theRequire
call, resulting in shared packages, i.e., it will include the user's default package folder(s). This can be create dramatically faster installs if the user has a substantial number of the packages already in their personal library. DefaultFALSE
to minimize package installing.