R Forwards Package Development course

The R Forwards 1 day course modularlised into 1 hour sessions to be held over 4 days in R package development and includes connecting to GitHub.

The course is released under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Learning outcomes

  • explain the rationale for writing packages
  • find and explore their own package library/libraries
  • describe the key components of a package
  • describe the different states a package can be in
  • outline the development of a package using devtools

Source: R Forwards slide

  • set up GitHub and share your code privately and publicly with it

Detailed Programme

  • Introducing packages and the course
  • Setting up your system (Windows only for NHS/public sector courses)
  • Your first package
  • Package documentation


Some experience of coding in R. It will also help to have previously installed and loaded packages. Some experience of using Git and particularly GitHub is helpful but not essential.


4 one-hour sessions spread over separate days.

Course materials