integration {bspm}R Documentation

Enable/Disable Bridge to System Package Manager

Description

Functions to enable or disable the integration of install_sys into install.packages. When enabled, packages are installed transparently from system repositories if available, and from the configured R repositories if not.

Usage

enable()

disable()

Details

To enable bspm system-wide by default, include the following:

suppressMessages(bspm::enable())

into the Rprofile.site file. To enable it just for a particular user, move that line to the user's ~/.Rprofile instead.

See Also

manager

Examples

## Not run: 
# install 'units' and all its dependencies from the system repos
bspm::enable()
install.packages("units")

# install packages again from CRAN
bspm::disable()
install.packages("errors")

## End(Not run)


[Package bspm version 0.3.7 Index]