r_test_file
Run a specific test file in your R package using testthat::test_file() to isolate and debug individual tests.
Instructions
Run a specific test file using testthat::test_file()
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": {
"test_file": "<test_file>"
},
"name": "r_test_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_file | Yes | Path to the test file (e.g., tests/testthat/test-myfunction.R) |