Good Software Engineering Practice for R Packages

Welcome to the homepage of the workshop “Good Software Engineering Practice for R Packages”. In this course participants will learn hands-on skills and tools to engineer reliable R packages used in biostatistics. The day will be a mix of presentations and exercises. Participants need to be comfortable with writing functions in R and use their own laptops.

Next Event

The next event will be held on 20th July 2023 as an in-person workshop in San Francisco bay area. Register here by July 9.

This event is organized by ASA BIOP Software Engineering Working Group (SWE WG) and co-sponsored by Bay Area Biotech-Pharma Statistics Workshop (BBSW), San Francisco bay area chapter of ASA (SFASA), and R Consortium. Presenters will be Matt Secrest, Laura Harris, Daniel Sjoberg.


We offer a gitter chat channel to communicate before, during, and after the course.

Workshop Program

This is the program for 20th July 2023, all times in Pacific Standard Time (PST).

09:00 - 09:30 Introduction
09:30 - 10:30 R Packages
10:30 - 10:45 Coffee Break
10:45 - 11:45 An R Package Engineering Workflow
11:45 - 12:45 Lunch Break
12:45 - 13:45 Ensuring Quality
13:45 - 14:45 Version Control & Collaboration
14:45 - 15:00 Coffee Break
15:00 - 15:45 Publication
15:45 - 16:30 Shiny Development
16:30 - 17:00 Conclusion

Prerequisites & Technical Setup

Prior to the course, participants should

  • set up a (free) account. There are other git Platforms like Gitlab or Bitbucket but we made the choice to go with for the course since it is by far the most relevant git platform in the R community.
  • download and extract
  • either make sure they have a working R software development setup on their own laptop (up-to-date git/Rtools/R/RStudio) or get access to The latter offers a free tier account with 25 hours of computing time per months and can be accessed using ones account.

For the course, participants are required to use their own laptop to be able to participate in the exercises.

Optional reading list

Past Events

  • 10th February 2023, Basel
  • 24th March 2023, Shanghai