SSC Workshop 2024

How to create and distribute R packages

In this workshop learners will be introduced to what an R package is and when they should invest the time to make one. By the end of the workshop, learners should be able to build their own package that can be easily shared and installed by others. Additional important topics such as code testing, documentation and licenses will also be attended to. The workshop outline is shown below below:

  • What is an R package and when should I make one?

  • Hands-on building practice building an R package

  • Ensuring your code works as expected - and introduction to testing

  • Package documentation

  • Introduction to continuous integration using GitHub Actions

  • Sharing and publishing packages on GitHub and CRAN

  • Copyright & Licenses (who owns the code?)

Pre-workshop setup and installation instructions:

Presenters/Speakers:

Tiffany Timbers, Daniel Chen, G. Alexi Rodríguez-Arelis, Katie Burak (University of British Columbia)