Download: pre-print | from publisher
Software testing is important, but many of us don't do it because it is frustrating and boring. testthat is a new testing framework for R that is easy to learn and use, and integrates with your existing workflow. This paper shows how, with illustrations from existing packages.
@Article{testthat,
author = {Hadley Wickham},
journal = {The R Journal},
month = {June},
number = {1},
pages = {5––10},
title = {testthat: Get Started with Testing},
url = {http://journal.r-project.org/archive/2011-1/RJournal_2011-1_Wickham.pdf},
volume = {3},
year = {2011},
bdsk-url-1 = {http://journal.r-project.org/archive/2011-1/RJournal_2011-1_Wickham.pdf},
}