knitr::opts_chunk$set( comment = "#>", tidy = FALSE, error = FALSE, fig.width = 8, fig.height = 8)
Praise Users
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()
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}!")
Note that capitalization in the inserted words will be the same as in the template:
praise("${Exclamation}! ${EXCLAMATION}!-${EXCLAMATION}! This is just ${adjective}!")
Currently supported parts of speech:
names(praise_parts)
MIT © Gabor Csardi, Sindre Sorhus
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.