An R package for cat-related functions #rcatladies
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
tests
.Rbuildignore
.travis.yml
DESCRIPTION
NAMESPACE
README.md

README.md

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.

Build Status