Package 'praise'

Title: Praise Users
Description: Build friendly R packages that praise their users if they have done something good, or they just need it to feel better.
Authors: Gabor Csardi, Sindre Sorhus
Maintainer: Gabor Csardi <[email protected]>
License: MIT + file LICENSE
Version: 1.0.0
Built: 2025-02-12 06:49:04 UTC
Source: CRAN

Help Index


Praise Users

Description

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

Usage

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()

## Capitalization
praise("${Exclamation}! This ${rpackage} is ${adjective}!")

## All upper case
praise("${EXCLAMATION}! You have done this ${adverb_manner}!")

Parts of speech for praising

Description

Parts of speech for praising

Usage

praise_parts

Format

Named list of character vertors. List entries:

adjective

Words and phrases to be used as positive adjectives. Most of them are from https://github.com/sindresorhus/superb.

adverb

Adverbs.

adverb_manner

Adverbs of manner, with positive meanings.

created

Synonyms of ‘create’ in paste tense.

creating

Synonyms of ‘create’, in present participle form.

exclamation

Positive exclamations.

rpackage

Synonyms for the term ‘R package’.