rv configure repository update
Update an existing repository’s fields
rv configure repository update <TARGET_ALIAS> [OPTIONS]Arguments
Section titled “Arguments”TARGET_ALIAS- The alias of the repository to update. Required unless using--match-url
Options
Section titled “Options”--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- Enableforce_source--no-force-source- Disableforce_source
Examples
Section titled “Examples”Updating a Repositories Snapshot Date
Section titled “Updating a Repositories Snapshot Date”rv configure repository update PPM --url "https://packagemanager.posit.co/cran/2025-05-01"[project]name = "configure"repositories = [ { alias = "CRAN", url = "https://cran.r-project.org" }, { alias = "PPM", url = "https://packagemanager.posit.co/cran/2025-05-01" },]Repository 'PPM' updated successfullyUpdating a CRAN URL
Section titled “Updating a CRAN URL”rv configure repository update --match-url https://cran.r-project.org --url https://cran.rstudio.com[project]name = "configure"repositories = [ { alias = "CRAN", url = "https://cran.rstudio.com" }, { alias = "PPM", url = "https://packagemanager.posit.co/cran/2025-05-01" },]Repository 'CRAN' updated successfully