r_test_package
Run R package tests using devtools::test() or testthat to support a test-driven development workflow. Filter tests with a regex pattern.
Instructions
Run tests for an R package using devtools::test() or testthat. Great for TDD workflow.
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": {
"package_path": "<package_path>"
},
"name": "r_test_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional test filter pattern (regex) | |
| package_path | Yes | Path to the R package directory |