malign: Positive encouragement is nifty, but have ya tried _negative...

View source: R/package.R

malignR Documentation

Positive encouragement is nifty, but have ya tried negative encouragement?

Description

Everyone needs to be taken down a peg once in a while, especially oneself! Forked from the complementary (and complimentary!) package praise, malign provides ready-made insults for use when code does run not as expected. Useful for troubleshooting code, or just to make oneself feel worse.

Usage

malign(template = "You are ${adjective}!")

insult(template = "You are ${adjective}!")

dis(template = "You are ${adjective}!")

snark(template = "You are ${adjective}!")

zing(template = "You are ${adjective}!")

Arguments

template

Character scalar, the template string.

Details

Replace parts of the template with random words from the malign word lists. See examples below.

Author(s)

Maintainer: Joseph Brown phylo.jwb@gmail.com (ORCID)

Examples

malign()

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

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

josephwb/malign documentation built on Oct. 13, 2024, 4:08 a.m.