-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
75 lines (50 loc) · 1.5 KB
/
README.Rmd
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
---
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%"
)
options(width = 100)
```
# mitchhedberg
<!-- badges: start -->
<!-- badges: end -->
Mitch Hedberg was the best.
## Installation
You can install the released version of mitchhedberg from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("mitchhedberg")
```
You can install the dev version of mitchhedberg from [Github](https://github.com) with:
``` r
remotes::install_github("mkearney/mitchhedberg")
```
## Example
Print a randomly selected Mitch Hedberg joke
``` r
mitchhedberg::joke()
#> I don't own a watch because I want my arms to weigh the same.
```
Add to your startup routine (for interactive sessions where {mitchhedberg} is installed)
``` r
mitchhedberg::joke_on_startup()
```
Restart R (examples below)
```
Restarting R session...
My friend came up to me and he said "Hey, you know what I like?
Mashed potatoes." It was like, "Dude, you gotta give me time to
guess. If you're gonna quiz me, you gotta put a pause in there."
Restarting R session...
I type 101 words a minute, but it's in my own language.
Restarting R session...
I can read minds. But it's pointless because I'm illiterate.
Restarting R session...
I like to play blackjack. I'm not addicting to gambling... I'm
addicting to sitting in a semicircle.
```