Skip to content

rv configure repository clear

Clear all repositories

Terminal window
rv configure repository clear [OPTIONS]

Starting with the following configuration:

rproject.toml
[project]
name = "configure"
repositories = [
{ alias = "CRAN", url = "https://cran.r-project.org" },
{ alias = "PPM", url = "https://packagemanager.posit.co/cran/2025-01-01" },
]

To clear the repositories section, we run the following command:

Terminal window
rv configure repository clear
rproject.toml
[project]
name = "configure"
repositories = []