Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 737 Bytes

File metadata and controls

36 lines (25 loc) · 737 Bytes

pets

The goal of pets is to provide a simple means for people to express their feelings about pets. At present, the package only contains one function: cats().

Installation

You can install the development version of pets like so:

if(!require("devtools")) {
  install.packages("devtools")
}
devtools::install_github("FISH549/pets")

Example

Here are two simple examples that allow you to express your feelings about cats.

library(pets)

## if you like cats
cats(TRUE)
#> [1] "I love cats!"

## if you don't like cats
cats(FALSE)
#> [1] "I am not a cat person."