Reproducible Research with R Packages
Start Date
14 Sep 2022
Start Time
09:00 Europe/Amsterdam
Location
Online
Date End
5 Oct 2022
End Time
13:00 Europe/Amsterdam

This workshop will provide participants with the basics for writing their own packages in R.
About this event
This workshop takes place online, over four Wednesdays. Participants are required to attend each session. The dates and times for the sessions are:
- 14 September, 9.00-13.00 CEST
- 21 September, 9.00-13.00 CEST
- 28 September, 9.00-13.00 CEST
- 5 October, 9.00-13.00 CEST
This workshop will teach you how to increase the reproducibility of your R code. You will bring your own R project to the workshop, and structure it into a neat and reusable package.
Every R project can be turned into a package. R packages are no more and no less than a standard way of structuring your work. R packages include a folder for code, a folder for tests, a folder for data, a folder for documents, and so on. Creating a package means that your project has a standard layout. This standardization makes your project easily installable and shareable with others.
Even if you are not planning to publish your package, structuring your research as one is also a very good idea. It enforces, in a relatively effortless manner, the implementation of software development best practices. This will lead to a safer, more robust, more manageable and more enjoyable working experience.
The workshop is based on the teaching style of the Carpentries, and learners will follow along while the instructors write the code on screen. More information can be found on the workshop website.
Who: The workshop is open and free to all researchers in the Netherlands at PhD candidate level and higher. We do not accept registrations by Master students. The workshop is aimed at PhD candidates and other researchers or research software engineers.
Prerequired knowledge: The participants should:
- Be familiar with R and RStudio.
- Know how to create their own R functions.
Where: This training will take place online. The instructors will provide you with the information you will need to connect to this meeting.
Syllabus
- Introduction to packages
- Setup of a package
- Installing packages
- Testing packages
- Documenting packages
- Writing vignettes