check
Run R CMD validation on an R package to surface errors, warnings, and notes that could block CRAN submission.
Instructions
Run R CMD check on the package using devtools::check(). Identifies errors, warnings, and notes that would prevent CRAN submission.
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": "check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cran | No | Whether to use CRAN-specific settings (default false). | |
| document | No | Whether to run devtools::document() before checking (default true). | |
| error_on | No | Minimum check severity that causes an error: 'never', 'note', 'warning', or 'error' (default 'warning'). | warning |
| project_path | Yes | Absolute path to the root of the R package. |