cats
An R package for cat-related functions, as originally outlined on Hilary's blog, and brought to life by #rcatladies.
Testing
The cat related functions are tested with testthat, and can be run in an R console with
library(testthat)
test_file('tests/testthat.R')
Or from the command line (assuming you are in the cats
folder) with
cd .. && r CMD check cats && cd -
If you see
Running ‘testthat.R’
OK
You didn't break anything! Or possibly didn't add tests for new things you've added.
There is also a .travis.yml file which, if you have an account on Travis CI, will automatically run tests and ensure this can still be packaged when changes are made. The image below shows the current test & package build success status on the master branch of markolson/cats. Update to suit.