taf.libPaths: Add TAF Library Path

Description Usage Arguments Value Warning Note See Also Examples

View source: R/taf.libPaths.R

Description

Add TAF library to the search path for R packages.

Usage

1

Arguments

remove

whether to remove TAF library from the search path, instead of adding it.

Value

The resulting vector of file paths.

Warning

An unwanted side effect of having the TAF library as the first element in the search path is that install.packages will then install packages inside bootstrap/library. This is not a serious side effect, since a subsequent call to taf.bootstrap or clean.library will remove packages from the TAF library that are not declared in the ‘SOFTWARE.bib’ file.

Note

Specifically, this function sets "bootstrap/library" as the first element of .libPaths(). This is rarely beneficial in TAF scripts, but can be useful when using the sessioninfo package, for example.

See Also

.libPaths is the underlying function to modify the search path for R packages.

taf.library loads a package from bootstrap/library.

TAF-package gives an overview of the package.

Examples

1
2

TAF documentation built on April 7, 2021, 5:06 p.m.