Our Tools

Several of our past and current projects are not specific to research, but can be useful to practitioners as well. We list the most interesting ones here, others can be found on our Github.

genthat

GenThat is R package for automated generation of regression tests. It can intercept calls to R functions at runtime and store the arguments and return values. Once the call data is collected, genthat uses the records to generate tests in testthat format (a popular testing package in R). The generated tests can then be pruned based on increased code coverage.

GenThat is aimed at R package developers and provides support for generating tests from package vignettes and examples, as well as adding new regressions to existing tests from previously failing uses of the package.

GenThat is currently pending acceptance to CRAN repositories.

testR

TestR a test suite and test generator mapping the features of the R language and providing an automated language specification harness. The tests are simple enough to provide easy failure detections and serve as a great start for any compliance regression suite. We have also created frameworks for extracting the tests automatically from existing R sources (including tests for R builtin functions) and the test execution, regression and benchmarking on various R virtual machines.

The framework and the test suite was presented to the R community at the UseR! 2013 conference when we won the best poster award.

Rjit

RJit is an optimizing speculative Just-In-Time compiler for the R language.

The project is under active development now, which you can track on GitHub: