integration {rspm}R Documentation

Enable/Disable RStudio Package Manager

Description

Functions to enable or disable RSPM repos as well as the integration of install_sysreqs into install.packages and update.packages. When enabled, binary packages are installed from RSPM if available, and system requirements are transparently resolved and installed without root privileges.

Usage

enable()

disable()

Details

To enable rspm permanently, include the following into your .Rprofile:

suppressMessages(rspm::enable())

Value

No return value, called for side effects.

See Also

renv_init for renv projects.

Examples

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

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

## End(Not run)


[Package rspm version 0.6.0 Index]