Currently we have three versions of our workshop on R package development. The links below take you to the presentation slides, which refer to online materials for the exercises and further reference. All material in this repo is CC-BY-NC-SA.
The slides for the 1-day course are available here: https://github.com/forwards/workshops/tree/master/eRum2018. This covers
- Making code into an R package
- Collaborative coding with GitHub
- Writing a vignette or an article
- Building a package webpage
- Submitting a package to CRAN
The slides for a short tutorial (1.5-2 hours) are available here: https://github.com/forwards/workshops/tree/master/Cardiff-satRday. This covers selected material from the 1-day course:
- Creating an R package
- Developing package code
- Testing package code
- Documenting functions and the package itself
- Depending on other packages
The third version is in development and modularizes the 1 day course into 1-hour modules. The modules available are as follows:
- Packages in a nutshell (complete)
- Setting up your system (complete)
- Your first package (complete)
- Package documentation (complete)
- Git and GitHub (planned)
For more details, see https://github.com/forwards/workshops/tree/master/package-dev-modules.