Getting it right: Writing reliable and maintainable R code - Amanda Gadrow - rstudio::conf(2019L) Video


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.


This topic was automatically closed after 21 days. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.