R packaging

Date 17 April 2018
Speaker(s) Frédéric Schütz
ECTS 0.25
Fees *academic: 60 CHF   -   for-profit: 0 CHF
Cancellation deadline 6 Apr 2018
City Lausanne
*academic fee includes non for-profit organisations as well as unemployed participants at the time of application.

The course is now closed.


In this course, R programmers will learn how to create R packages, the best way to make R scripts reusable. Participants will learn how to identify and create clear, clean and usable packages in R.

This course is recommended even for programmers who do not plan to distribute their R scripts or datasets: R packages are also useful for a developer who works alone, and wants to keep track of his scripts and the related documentation.


Biologists, bioinformaticians or any R user who has written R scripts and wants to package them.

Learning objectives

At the end of the course, the participants will be able to

  1. identify why and when R packages should be used, and which scripts would benefit from being packaged;
  2. identify what makes a good package;
  3. build an R Package, including functions, datasets and documentation;
  4. add unit tests to their package;
  5. determine the best way to distribute a package.


Knowledge / competencies

This course is designed for intermediate users who have already a good knowledge in R and have developed their own functions and/or scripts.


You are required to bring your own laptop, with a working Wifi connection, and the latest versions of R and RStudio installed.


The course is now closed.

The registration fees are 60 CHF for academics and 300 CHF for for-profit companies. This includes course content material and coffee breaks.

Deadline for registration and free-of-charge cancellation is set is set to 6/4/2018. Cancellation after this date will not be reimbursed. Please note that participation to SIB courses is subject to our general conditions.

You will be informed by email of your registration confirmation.

Venue and Time

University of Lausanne, Génopode building, classroom 2020 (Metro M1 line, Sorge station).

The course will start at 9:00 and end around 17:00. Precise information will be provided to the participants on due time.

Additional information

Coordination: Diana Marek, SIB training group

We will recommend 0.25 ECTS credits for this course (given a passed exam at the end of the course).

You are welcome to register to the SIB courses mailing list to be informed of all future courses and workshops, as well as all important deadlines using the form here.

For more information, please contact training@sib.swiss.