At the lab meeting I was given the impression that testing was taught at the R boot camps. However, checking the master boot-camps repository, neither the Duke nor UBC boot camps mentioned testing (though I could have missed it). 

I have looked into some of the testing frameworks for R (specifically, RUnit and testthat). Both, but especially RUnit, are geared toward testing R package development. Based on the feedback from participants at the UChicago boot camps (and also my day-to-day computing needs), many graduate students are interested in how to better automate their data analysis pipelines, not to develop scientific software.

Are there any SWCers that have a good framework for testing R code outside the context of package development?