View this tutorial via a:
To outline best practices for developing packages using R.
This repo walks through the process of package development in R, highlighting best practices, including version control, and use of IDEs such as RStudio. The repo also includes the devex package in a subdirectory, which serves as a very simple example of an R package.
This material is maintained under a GPL License, and other individuals are welcome to fork, clone, or make copies of the material. Comments and suggestions are also always welcome.