about this item
The traditional user of R software is a statistician or data analyst, not a computer programmer. So they do not have the necessary skills to control the quality of their code. This book covers run-time testing (assertions) and development-time testing (unit tests) of R-code, along with tips for writing easily maintainable and testable code. It is designed for intermediate to experienced users of R who need to take their code to the next level, and to test it works as they develop it. It features lots of practical examples to explain how the testing procedures work, and is supplemented by an R package with all code and data included.