r_document_package
Generate R package documentation automatically using devtools::document() and roxygen2. Simplify package development by converting inline comments into Rd files.
Instructions
Generate documentation for an R package using devtools::document() (roxygen2)
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_document_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_path | Yes | Path to the R package directory |