Package index
Basic workflows
These functions are the bread and butter of renv usage, and make up the bulk of day-to-day renv usage.
-
init()
- Use renv in a project
-
status()
- Report inconsistencies between lockfile, library, and dependencies
-
snapshot()
- Record current state of the project library in the lockfile
-
restore()
- Restore project library from a lockfile
-
dependencies()
- Find R package dependencies in a project
-
project()
- Retrieve the active project
-
activate()
deactivate()
- Activate or deactivate a project
-
migrate()
- Migrate a project from packrat to renv
-
load()
- Load a project
-
upgrade()
- Upgrade renv
-
paths
- Path for storing global state
-
settings
- Project settings
-
config
- User-level settings
-
refresh()
- Refresh the local cache of available packages
-
rebuild()
- Rebuild the packages in your project library
-
repair()
- Repair a project
-
clean()
- Clean a project
-
record()
- Update package records in a lockfile
-
remote()
- Resolve a Remote
-
modify()
- Modify a Lockfile
-
scaffold()
- Generate project infrastructure
-
isolate()
- Isolate a project
-
rehash()
- Re-hash packages in the renv cache
-
purge()
- Purge packages from the cache
-
use_python()
- Use python
-
autoload()
- Auto-load the active project
-
checkout()
- Checkout a repository
-
consent()
- Consent to usage of renv
-
diagnostics()
- Print a diagnostics report
-
run()
- Run a script