use_mit_license
Add an MIT LICENSE file to an R package and update the DESCRIPTION License field, optionally specifying the copyright holder.
Instructions
Add an MIT LICENSE file and update DESCRIPTION License field using usethis::use_mit_license().
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": "use_mit_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Absolute path to the root of the R package. | |
| copyright_holder | No | Name to include in the copyright notice (defaults to package author). |