The goal of pets is to provide a simple means for people to express
their feelings about pets. At present, the packge only contains one
function: cats()
.
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("freshbeka/pets")
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("freshbeka/pets")
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."
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.