Build friendly R packages that praise their users if they have done something good, or they just need it to feel better.

Randomized praise based on a template

praise(template = "You are ${adjective}!")

Arguments

template

Character scalar, the template string.

Details

Replace parts of the template with random words from the praise word lists. See examples below.

Examples

praise()
#> [1] "You are sensational!"

## Capitalization
praise("${Exclamation}! This ${rpackage} is ${adjective}!")
#> [1] "Yikes! This software is impressive!"

## All upper case
praise("${EXCLAMATION}! You have done this ${adverb_manner}!")
#> [1] "WOW! You have done this calmly!"