| activate {renv} | R Documentation |
Use activate() to write the infrastructure needed to ensure that
newly-launched R projects will load the project's private library on launch,
alongside any other project-specific state recorded for the project.
activate(project = NULL, profile = NULL)
project |
The project directory. If |
profile |
The profile to be activated. When |
The project directory, invisibly. Note that this function is normally called for its side effects.
Other renv:
deactivate()
## Not run:
# activate the current project
renv::activate()
# activate a separate project
renv::activate("~/projects/analysis")
## End(Not run)