Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hrbrmstr/bismer

Generate Shakespearean Insults with R
https://github.com/hrbrmstr/bismer

Last synced: about 1 month ago
JSON representation

Generate Shakespearean Insults with R

Awesome Lists containing this project

README

        

---
output: rmarkdown::github_document
---

`bismer` : Generate Shakespearean insults

Inspired by Dr. Vicky Forster (@vickyyyf) : and requested by Jeff Hollister (@jhollist).

The following functions are implemented:

- `insult`: Generate a Shakespearean insult

The `insult()` function is aliased to

- `gehornian`
- `híenan`
- `misgrétan`
- `scendan`

for those who want to go "all-in" on the Shakespeare thing.

### Installation

```{r eval=FALSE}
devtools::install_github("hrbrmstr/bismer")
```

```{r message=FALSE, warning=FALSE, error=FALSE, include=FALSE}
options(width=120)
```

### Usage

```{r message=FALSE, warning=FALSE, error=FALSE}
library(bismer)

# current verison
packageVersion("bismer")

purrr::walk(1:10, ~print(insult()))

purrr::walk(1:10, ~print(insult(thou=FALSE)))

purrr::walk(1:10, ~print(insult(sentence=TRUE)))

purrr::walk(1:10, ~print(insult(sentence=TRUE, exclaim=FALSE)))
```