KnockKnockJokes

An R package and S4 excercise for Knock-Knock Joke lovers.

CRAN version CRAN RStudio mirror downloads Linux build Status Windows build status

library(KnockKnockJokes)

## create a joke object
KnockKnockJoke(name="Alex", punch="Alex-plain later.")
# Knock-knock!
#     Who's there?
# Alex.
#     Alex who?
# Alex-plain later.

## display random joke
KnockKnock()
# Knock-knock!
#     Who's there?
# Orange.
#     Orange who?
# Orange you going to open this door?

## display 1st joke from list
KnockKnock(1)
# Knock-knock!
#     Who's there?
# Abby.
#     Abby who?
# Abby birthday to you!

Install

# devtools::install_github("psolymos/KnockKnockJokes")
install.packages("KnockKnockJokes", repos = c('https://psolymos.r-universe.dev', 'https://cloud.r-project.org'))

See NEWS for updates.

Report a problem

Use the issue tracker to report a problem.

Report a joke

Use the issue tracker or fork/PR.

License

GPL-2