This content regards unit testing- in particular in R programming language.
- Clone repo:
git clone https://github.com/Tazovsky/unit-tests-workshop
- Install helper R package:
# from cloned repository root directory run: devtools::install("unitTestsWorkshopPackage")
- Why do unit testing?
- Correct R package structure
- Exceptions
- Reference data
- Test Driven Development
- How to test?
I recommend starting with file 00-index.Rmd
, because all content is interactive.