I kindly present Wilson's Useful and Awesome RStudio ADDins.
You can install the released version of wuarsadd from GITHUB with:
devtools::install_github("wilsonfreitas/wuarsadd")
This is a basic example which shows you how to solve a common problem:
## basic example code