main content

Distributing Research Data and Code in R Packages with Rstudio and GitHub

Veranstaltungsdaten

22. June 2023 09:00 – 22. June 2023 17:00
23. June 2023 09:00 – 23. June 2023 17:00
Download events (.ics)

Philipps-Universität Marburg MARA F|05, Deutschhausstraße 11+13 Seminar room 01.0010

R is a widely used tool for data analyses. Part of its success is due to the active community and the wide array of add-on packages contributed by scientists from across disciplines, via the CRAN network. R packages are an excellent and standardize way to distribute code and data to a huge community, and a great tool to ensure reproducible research.

Did you ever wonder how R packages are build and how they can help you to distribute your research data and code following FAIR principles?
If so, this course is for you! This course guides through the process of building an R package using the RStudio tool chain, starting from conceptualization until publication. We will provide example data and code, but encourage the students to bring their own data and code.

Intended Learning Outcomes

  • You will be able to understand the structure of R packages and the process of building them.
  • You will be able to use an up-to-date toolchain to provide your own R code and data as package via CRAN following FAIR criteria.
  • You will be familiar with common tools for packaging, including roxygen2, devtools, and GitHub.

Didactic Methods

Mostly hands-on exercises, lectures, in the end you will present your results in a short presentation

Requirements

This is a course for doctoral candidates and researchers of any discipline working with R and curious to learn how to build R packages. Familiarity with R and basic understanding of R-coding is required.

Software: R (>3.5, https://cran.r-project.org/), Rstudio (https://posit.co/), Rtools, Git (https://git-scm.com), github account (https://github.com/)
Reading for prepapration: chapters 2, 6-10 and 16 of this free online book: https://r-pkgs.org/

Proficiency in English at the B2 level of competency is required.

Dates

June 22, 2023, 9 am–5 pm, and
June 23, 2023, 9 am–5 pm

Target group

Doctoral candidates and postdocs from all disciplines

Modalities

Maximum number of 10 participants
Internal 50 EUR
External 150 EUR

Registration

Please register until June 7, 2023 using the online registration form.

Lecturers

Prof. Dr. Alexander Zizka
Dr. Steffen Ehrmann

Event Organizer

MArburg University Research Academy (MARA)
Doctoral Program for Life and Natural Sciences

Contact