knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of meangirls is to create quotes in the style of the 2004 instant classic movie, Mean Girls.
You can install the the development version from GitHub with:
# install.packages("devtools") devtools::install_github("Cal-Poly-Advanced-R/meangirls")
library(meangirls)
You can use the function boo()
to deliver a generic insult:
boo("jerk")
You can use the function fetch()
to insult someone's made-up slang word.
fetch("Gretchen", "fetch")
You can use the function nice_style()
to compliment someone's fashion choices.
The default adjective is "vintage", but you can supply your own.
nice_style("bracelet") nice_style("bracelet", adjective = "colorful")
You can use the function really_pretty()
to tell someone they are pretty.
really_pretty("Cady", follow_up = FALSE)
Both compliments can be negated with a follow-up phrase:
really_pretty("Cady", follow_up = TRUE) nice_style("bracelet", follow_up = TRUE)
Finally, you can use the give_candygrams()
function to announce the number of
candygrams a person gets.
give_candygrams("Taylor Zimmerman", 2)
You can also give extra commentary to your announcement:
give_candygrams("Taylor Zimmerman", 2, extra_message = "Merry Christmas!")
Some special cases trigger automatic extra commentary or special behavior:
give_candygrams("Glen Coco", 4)
give_candygrams("Gretchen Weiners", 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.