use_vignette
Create a new R Markdown vignette stub in vignettes/ for an R package, requiring the vignette name and package project path.
Instructions
Create a new vignette stub (Rmd file) under vignettes/ using usethis::use_vignette().
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": {
"name": "<name>",
"project_path": "<project_path>"
},
"name": "use_vignette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short name/identifier for the vignette. | |
| title | No | Human-readable title of the vignette. | |
| project_path | Yes | Absolute path to the root of the R package. |