Skip to content
/ praise Public

Praise useRs when they have done something good, or when they just need it

License

Notifications You must be signed in to change notification settings

rladies/praise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d357d6f · Oct 10, 2024

History

79 Commits
Oct 10, 2024
Apr 11, 2022
Apr 17, 2016
Apr 17, 2016
Aug 3, 2015
Jul 30, 2015
Apr 5, 2016
Nov 14, 2020
Jul 30, 2015
Jul 31, 2015
Apr 17, 2016
Jul 31, 2015
Jul 31, 2015
Jul 30, 2015
Jul 30, 2015

Repository files navigation

praise

Praise Users

Project Status: Active - The project has reached a stable, usable state and is being actively developed. 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

# install.packages("remotes")
remotes::install_github("rladies/praise")

Usage

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"

License

MIT © Gabor Csardi, Sindre Sorhus