-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathREADME.Rmd
More file actions
111 lines (71 loc) · 1.92 KB
/
README.Rmd
File metadata and controls
111 lines (71 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# meangirls
<!-- badges: start -->
<!-- badges: end -->
The goal of meangirls is to create quotes in the style of the
2004 instant classic movie, *Mean Girls*.
## Installation
You can install the the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("Cal-Poly-Advanced-R/meangirls")
```
```{r}
library(meangirls)
```
## insults
You can use the function `boo()` to deliver a generic insult:
```{r}
boo("jerk")
```
You can use the function `fetch()` to insult someone's made-up slang word.
```{r}
fetch("Gretchen", "fetch")
```
## compliments
You can use the function `nice_style()` to compliment someone's fashion choices.
The default adjective is "vintage", but you can supply your own.
```{r}
nice_style("bracelet")
nice_style("bracelet", adjective = "colorful")
```
You can use the function `really_pretty()` to tell someone they are pretty.
```{r}
really_pretty("Cady", follow_up = FALSE)
```
### Negating compliments
Both compliments can be negated with a follow-up phrase:
```{r}
really_pretty("Cady", follow_up = TRUE)
nice_style("bracelet", follow_up = TRUE)
```
## Handing out candygrams
Finally, you can use the `give_candygrams()` function to announce the number of
candygrams a person gets.
```{r}
give_candygrams("Taylor Zimmerman", 2)
```
### Extra comments
You can also give extra commentary to your announcement:
```{r}
give_candygrams("Taylor Zimmerman", 2,
extra_message = "Merry Christmas!")
```
Some special cases trigger automatic extra commentary or special behavior:
```{r}
give_candygrams("Glen Coco", 4)
```
```{r}
give_candygrams("Gretchen Weiners", 4)
```