knitr::opts_chunk$set(
  comment = "#>",
  tidy = FALSE,
  error = FALSE,
  fig.width = 8,
  fig.height = 8)

praise

Praise Users

Linux Build Status Windows Build status CRAN RStudio mirror downloads

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

Installation

devtools::install_github("gaborcsardi/praise")

Usage

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)

License

MIT © Gabor Csardi, Sindre Sorhus



Try the praise package in your browser

Any scripts or data that you put into this service are public.

praise documentation built on May 2, 2019, 2:45 p.m.