renv_update
Update packages in a renv project library. Specify package names to update selected packages, or omit them to update all outdated dependencies for reproducible R environments.
Instructions
Update packages in the renv project library using renv::update(). If no package names are given, all outdated packages are updated.
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_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | No | Package names to update. If omitted, all packages are updated. | |
| project_path | Yes | Absolute path to the renv-managed project root. |