Create simple shortcuts for R commands
Config file ~/.rconfig:
[
{
"name": "d",
"command": "devtools::document()"
},
{
"name": "i",
"command": "devtools::install()"
},
{
"name": "c",
"command": "devtools::check()"
}
]Usage: r d c i
- Commands are executed in order.
- Exists if command errors.