renv_clean
Remove unused packages and temporary files from an renv library to reclaim space and keep project dependencies tidy.
Instructions
Remove unused packages or temporary files from the renv library using renv::clean().
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_clean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | No | Specific cleaning actions to perform (default: all applicable actions). | |
| project_path | Yes | Absolute path to the renv-managed project root. |