README.md

praiseme

r package to deliver praise to the user, made as an introduction to building r packages

installation

install using devtools

devtools::install_github("perikarya/praiseme")

usage

praiseme(praisefor): print a short message of praise, and specify what to praise for. will return a generic message if praisefor is unspecified.

praiseme_graphics(praisefor, colour1, colour2): show the user a message of praise. change the text and background colours using colour1 and colour2, or leave blank for default to black and white.

examples

default

```library(praiseme) praiseme()

> "You're great!"


tell the user what they're great at

```library(praiseme)
praiseme("art")
#> "You're great at art!"

show the user a message of praise

library(praiseme) praiseme_graphics("art", "darkmagenta", "thistle3") screenshot

notes

a list of colour names supported in r can be found here to use with this package



perikarya/praiseme documentation built on Jan. 18, 2021, 12:36 a.m.