Example of unit testing R code with testthat

The Endeavour 2013-06-12

Summary:

Here’s a little example of using Hadley Wickham’s testthat package for unit testing R code. You can read more about testthat here. The function below computes the real roots of a quadratic. All that really matters for our purposes is

Link:

http://feedproxy.google.com/~r/TheEndeavour/~3/oWrTvhvG67s/

From feeds:

Statistics and Visualization » The Endeavour

Tags:

software development rstats quality

Authors:

John

Date tagged:

06/12/2013, 21:22

Date published:

06/12/2013, 20:35