integration {CoprManager}R Documentation

Enable/Disable Bridge to System Package Manager

Description

Functions to enable or disable the integration of install_copr 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 CoprManager system-wide by default, include the following:

suppressMessages(CoprManager::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
CoprManager::enable()
install.packages("units")

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

## End(Not run)


[Package CoprManager version 0.3.8.1 Index]