renv_restore
Restore packages from renv.lock to recreate the recorded R environment with renv::restore(), optionally rebuilding packages from source.
Instructions
Restore packages from renv.lock to recreate the recorded environment using renv::restore().
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_path": "<project_path>"
},
"name": "renv_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rebuild | No | Whether to rebuild packages from source (default false). | |
| project_path | Yes | Absolute path to the renv-managed project root. |