The testthat package is the most widely used tool for unit testing in R.
However, many users may not be aware of the possibility to nest test blocks
within each other. In this post, I demonstrate how this underused feature
provides a great way to struc…

Continue reading: Nested unit tests with …