bigmlcom/bigml-r — pull request #3 by jdonaldson (2012-05-08 00:28:50+00:00)
Title: Unit tests for bigml-r

These tests compare the class structure of bigml responses to the expected class structure (in JSON form). It will also check for specific known responses (e.g., A particular response for a prediction request on a model trained from the iris dataset). Simply evaluate the code in run_tests.R in the project root in order to run the tests.

It requires the "testthat" library by Hadley Wickham.
http://cran.r-project.org/web/packages/testthat/index.html
It comes with some utilities (misc.R) that make it easier to manipulate the complex datastructures returned by R and the bigml API.