This repository was forked from Resul Umit.
He created the materials for a workshop on writing reproducible research papers with R Markdown, first taught at Campus Luzern in March 2020.
Felix Golcher adapted for a workshop held for the CRC 1412 Register.
This material is published under CC-BY-SA 3.0. An easy to read summary of this permissive licence is available on the Creative Commons website.
The workshop is divided into ten parts. Most parts include exercises — 40+ in total.
The parts
- Part A. Cache Functionality
- don't recompute everything with every compilation
- Part B. Reusing Code
- e.g., building up figures, child documents
- Part C. Fancy Templates
- e.g., producing publication ready papers
are not yet produced. A exists as an idea only, there are exercises for B and C is essentially done by showing people the rticles
package.
At the moment the parts are quite different in size.
I got through part 6 and a bit of Part B. in 3 days a 120 Minutes.
Exercises and solutions can be found in the exercises branch
.
Below are the workshop materials kept in this repository.
presentation/rmd_workshop.Rmd
: an R Markdown file behind the slides, produced with thexaringan
package (Xie, 2020)presentation/data
: containing some example data on journal statistics.presentation/image
: static images used in theRmd
file.
Blair, G., Cooper, J., Coppock, A., Humphreys, M., Rudkin, A. and Fultz, N. (2019). fabricatr: Imagine your data before you collect it. R package, version 0.10.0.
Gagolewski, M. (2020). stringi: Character String Processing Facilities. R package, version 1.4.6.
Wiernik, B. M. (2020). American Psychological Association 7th edition (no ampersand). Citation style language file, version 1.0.
Xie, Y. (2020). xaringan: Presentation Ninja. R package, version 0.18.