Learn R Programming

⚠️There's a newer version (1.0.2) of this package.Take me there.

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.

Copy Link

Version

Install

install.packages('cats')

Monthly Downloads

248

Version

0.1

License

MIT

Maintainer

Hilary Parker

Last Published

March 11th, 2022

Functions in cats (0.1)

add_cat

Add a kitty to your ggplot2 plot
cat_function

A Cat Function
get_cat

Get a random cat image
cats

cats.
here_kitty

Call a kitty to your R session