| 9.00 - 9.15 | Introduction and outline |
| 9.15 - 10.00 | R package syntax |
| 10.00 - 10.30 | Exercise |
| 10.30 - 11.00 | Coffee break |
| 11.00 - 11.45 | Package quality |
| 11.45 - 12.30 | Exercise |
| 12.30 - 13.30 | Lunch break |
| 13.30 - 14.15 | Collaboration via GitHub |
| 14.15 - 15.00 | Exercise |
| 15.00 - 15.30 | Coffee break |
| 15.30 - 16.15 | Publication of R packages |
| 16.15 - 16.45 | Exercise |
| 16.45 - 17.00 | Summary and Q&A |
Good Software Engineering Practice for R Packages
Welcome to the homepage of the short course “Good Software Engineering Practice for R Packages” at the Samsung Advanced Institute for Health Sciences & Technology (SAIHST), Sungkyunkwan University. In this course you will learn hands-on skills and tools to engineer reliable R packages used in statistics. The short course will be conducted in a full day and will be a mix of presentations and exercises. Participants need to be comfortable with writing functions in R and use their own laptops as a prerequisite.
Event Details
The event will be held on Friday, 17th of July 2026, from 09:00 to 17:00 as an in-person workshop at the Samsung Advanced Institute for Health Sciences & Technology (SAIHST), Sungkyunkwan University. The venue is Hippocrates Hall, 9th floor, Building B, Samsung Life Insurance Ilwon Station Building.
The instructor for this workshop will be Daniel Sabanés Bové. You can learn more about him in the introduction section.
Please register for the workshop in advance.
Workshop Program
Prerequisites & Technical Setup
Prior to the short course, participants should
- Set up a (free) GitHub.com account.
- Install the latest R and RStudio software.
- Install Rtools (on Windows) or the required tools (on macOS) to compile/build packages from source code.
- Install additional R packages using the installation script.
For the course, participants are required to use their own laptop to be able to participate in the exercises.
Material for Questions from the Course
For Shiny:
- Shiny considerations: slides
For submission to health authorities etc:
- Reproducibility considerations: slides
- Considerations for R submissions in Japan: PharmaSUG paper
- Pilot 3 summary of R submissions working group: PharmaSUG paper
Optional Reading List
- Excellent and very comprehensive R Packages (2e)
- (Hardcore) description of how Writing R Extensions works
- GitHub ‘Hello World’ tutorial on how to use GitHub.com (does not require git command line knowledge)
- Tutorial on version control with git and SVN (we will be using git)
- Command line git mini intro trygit
- First steps with git & github by RStudio
- RStudio cheatsheets/ Git & GitHub
- Excuse Me, Do You Have a Moment to Talk About Version Control? by Jennifer Bryan
- Version Control with Git course material by The Carpentries
Material from Past Events
- 10th October 2025, Paris, FR
- 24th August 2025, Basel, CH
- 8th April 2025, Tokyo, JP
- 8th July 2024, Salzburg, AT
- 18th and 19th April 2024, Zurich, CH
- 16th and 17th October 2023, Montreal, QC, CA
- 26th September 2023, Rockville, MD, US
- 20th July 2023, San José, CA, US
- 24th March 2023, Shanghai, CN
- 10th February 2023, Basel, CH