Skip to content

rv sync

Synchronize the config file, lock file, and project library, by removing and/or adding packages, to reach the desired project state.

Terminal window
rv sync [OPTIONS]
  • --save-install-logs-in: Directory in which the install logs for packages compiled from source should be copied to. By default is kept in cache.
rproject.toml
[project]
name = "my project"
r_version = "4.4"
repositories = [
{ alias = "PPM", url = "https://packagemanager.posit.co/cran/latest" }
]
dependencies = [
"tibble",
]