Praise Users

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


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

devtools::install_github("gaborcsardi/praise")
library(praise)
praise()
#> [1] "You are super-excellent!"

You can supply a template, and praise() fills in random words of the specified part of speech:

praise("${EXCLAMATION}! You have done this ${adverb_manner}!")
#> [1] "AYE! You have done this enormously!"

Note that capitalization in the inserted words will be the same as in the template:

praise("${Exclamation}! ${EXCLAMATION}!-${EXCLAMATION}! This is just ${adjective}!")
#> [1] "Yowza! MMHM!-YAHOO! This is just praiseworthy!"

Currently supported parts of speech:

names(praise_parts)
#> [1] "adjective"     "adverb"        "adverb_manner" "created"      
#> [5] "creating"      "exclamation"   "rpackage"

MIT © Gabor Csardi, Sindre Sorhus

News

1.0.0

First public release.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("praise")

1.0.0 by Gabor Csardi, 2 years ago


https://github.com/gaborcsardi/praise


Report a bug at https://github.com/gaborcsardi/praise/issues


Browse source code at https://github.com/cran/praise


Authors: Gabor Csardi, Sindre Sorhus


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests testthat


Imported by testthat.


See at CRAN