knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) options(width = 100)
Mitch Hedberg was the best.
You can install the released version of mitchhedberg from CRAN with:
install.packages("mitchhedberg")
You can install the dev version of mitchhedberg from Github with:
remotes::install_github("mkearney/mitchhedberg")
Print a randomly selected Mitch Hedberg joke
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)
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.