David Selby
Rthritis Group
Stata Course
Intro to Epi
☰
Unit testing and continuous integration
Find bugs as soon as you create them, and implement automated testing in your analysis.
David Selby
https://www.research.manchester.ac.uk/portal/david.selby.html
(Centre for Epidemiology Versus Arthritis)
https://www.cfe.manchester.ac.uk
2021-11-19
Resources
R package
testthat
Talk slides
Example GitHub repository
testthat: Get Started with Testing
(Wickham, 2011)
Blog post:
Unit Testing in R
by André Müller