View source: R/use_rstudio_secondary_repo.R
use_rstudio_secondary_repo | R Documentation |
This function updates the RStudio preferences saved in
the rstudio-prefs.json
file to include the secondary repositories
passed my the user. If a new name for an existing repository is
passed by the user, the name will be updated in the JSON file.
use_rstudio_secondary_repo(...)
... |
series of named secondary repositories, e.g.
|
A note for users outside of the USA.
If the country in .$cran_mirror$country
has not been previously recorded
in the JSON preferences file (typically, auto set by RStudio),
the use_rstudio_secondary_repo()
function will set "country" = "us"
.
NULL, updates RStudio rstudio-prefs.json
file
Daniel D. Sjoberg
use_rstudio_secondary_repo( ropensci = "https://ropensci.r-universe.dev", ddsjoberg = "https://ddsjoberg.r-universe.dev" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.