Skip to content

rv configure repository update

Update an existing repository’s fields

Terminal window
rv configure repository update <TARGET_ALIAS> [OPTIONS]
  • TARGET_ALIAS - The alias of the repository to update. Required unless using --match-url
  • --match-url <URL> - Match repository based on the URL instead of the alias
  • --alias <ALIAS> - The new repository alias
  • --url <URL> - The new repository url
  • --force-source - Enable force_source
  • --no-force-source - Disable force_source
Terminal window
rv configure repository update PPM --url "https://packagemanager.posit.co/cran/2025-05-01"
rproject.toml
[project]
name = "configure"
repositories = [
{ alias = "CRAN", url = "https://cran.r-project.org" },
{ alias = "PPM", url = "https://packagemanager.posit.co/cran/2025-05-01" },
]
rv configure repository update --match-url https://cran.r-project.org --url https://cran.rstudio.com
rproject.toml
[project]
name = "configure"
repositories = [
{ alias = "CRAN", url = "https://cran.rstudio.com" },
{ alias = "PPM", url = "https://packagemanager.posit.co/cran/2025-05-01" },
]