Training: Creating R Packages

BIOS² is hosting a training session about creating R packages!. This online workshop will be led by Dr Andrew MacDonald (Université de Sherbrooke), on May 4 and 6, 2021.

This practical training will cover the basics of modern package development in R with a focus on the following three aspects: (1) how to turn your code into functions, (2) how to write tests and documentation, and (3) how to share your R package on GitHub. We’ll be paying special attention to best practices in programming, and will get familiar with the tools that support package development as well as the structure of packages themselves.

The training will include practical exercises using the R language and the Rstudio IDE.  Basic knowledge R is recommended, including the ability to write a function. Software requirements are R, Rstudio, git, and a github account. You should also make sure you have recent versions of the packages “devtools” and “usethis”. Contact Andrew beforehand if you want some help in getting started.

This 6-hour training will be conducted in 2 sessions: 4 and 6 May (2021) from 1:00 to 4:00 PM Eastern time. The training will be held in English with bilingual support and question period.

The training will be led by Andrew MacDonald, Training Coordinator of the BIOS² program. He is a quantitative ecologist who works mostly in R.

Register here1 before May 4th, 2021.

1Link to form:


Leave a Reply

Your email address will not be published. Required fields are marked *