R debugging
2022-04-26
1 About this course
This course is a part of How to debug code-course by Aalto Scientific Computing.
The course structure and some of the material is adapted from the Python part of the debugging course.
Most of the R material is constructed from various books and blog posts available online. Reading this material for more in-depth explanation of concepts shown in this course is highly recommended. Advanced R by Hadley Wickham1 especially cannot be recommended enough.
1.1 Requirements
This course utilizes RStudio IDE as it provides easy access for many debugging tools.
sloop-package2 is used to check some R object features:
install.packages("sloop")
Hadley Wickham, Advanced r (CRC press, 2019), https://adv-r.hadley.nz.↩︎
Hadley Wickham, Sloop: Helpers for OOP in r, 2019, https://CRAN.R-project.org/package=sloop.↩︎