How can you tell that your scripts, applications, and package functions are working as expected? Are you sure that when you make changes in one part of the code, it won’t break something in another part? Have you thought deeply about how the consumers of your code (including Future You) will use it, maintain it, fix it, and improve it? Code quality is essential not only for reliable results but also for your script’s maintainability and your users’ satisfaction. Quality can be measured in part with targeted testing, and fortunately, there are several effective and easy-to-use code testing tools available in R. This talk will discuss some of the most useful testing packages, covering both concepts and examples.
Amanda has solved problems at small, Boston-based startups for many years. She has experience building high-quality software in various roles, including customer support, test strategy and automation, and product management. Amanda started learning R in 2016, and has been using it ever since to provide insights into RStudio's internal data and to inspire product improvements.