knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Background

The {pets} package was designed to allow people to express their feelings about pets. At present, the package is rather cat-centric, in that it only contains one function: cats().

Usage

To use {pets}, first load the package and then call the function cats() with a logical/boolean argument. For example,

## load pets package
library(pets)

## if you love cats
cats(TRUE)

## if you're not a big fan of cats
cats(FALSE)


freshbeka/pets documentation built on March 14, 2021, 3:51 p.m.