karthik / testdat

A package to run unit tests on tabular data
142 stars 20 forks source link

Add skeleton testing framework. Fixes #21 #22

Closed wch closed 10 years ago

wch commented 10 years ago

This adds a framework for testing testdat with testthat. To run the tests, you would do:

library(devtools)
test()

Note that I moved the data files from /local to /tests/testthat/data, since I figured they're used primarily for testing the package. But if you want them to be available to users who install the package, it would be better to put them somewhere in /inst instead.

Other notes: