Write the renv project infrastructure for a project.
scaffold(project = NULL, version = NULL, repos = getOption("repos"))
| project | The project directory. If |
|---|---|
| version | The version of |
| repos | The R repositories to associate with this project. |
Invoking renv::scaffold() will:
Install renv into the project library,
Update the project .Rprofile so that renv is automatically loaded
for new R sessions launched in this project, and
Write a bare lockfile renv.lock.