Set R repositories A simple function for setting R repositories.

set_repos(CRAN = "https://cran.rstudio.com/", ...)

Arguments

CRAN

Default is RStudio's CRAN repo

...

Other repositories

Examples

if (FALSE) {
set_repos(repoX = "https://example.com")
}