R/use_rstudio_secondary_repo.R
repo_string_as_named_list.Rd
The secondary repo string uses |
to separate the repo names and their
values, as well as two different repos, e.g.
'ropensci|https://ropensci.r-universe.dev|ddsjoberg|https://ddsjoberg.r-universe.dev'
.
repo_string_as_named_list(x)
secondary repository string from
"rstudio-prefs.json"
--> "cran_mirror"
--> "secondary"
named list
repo_string_as_named_list(
'ropensci|https://ropensci.r-universe.dev|ddsjoberg|https://ddsjoberg.r-universe.dev'
)
#> $ropensci
#> [1] "https://ropensci.r-universe.dev"
#>
#> $ddsjoberg
#> [1] "https://ddsjoberg.r-universe.dev"
#>