Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hrbrmstr/bismer
- Owner: hrbrmstr
- Created: 2017-03-26T02:18:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-27T22:33:19.000Z (over 7 years ago)
- Last Synced: 2024-06-13T00:33:36.487Z (3 months ago)
- Language: R
- Size: 11.7 KB
- Stars: 16
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
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)))
```