Skip to content

richfitz/rainbowrite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rainbowrite

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. R build status codecov.io CodeFactor works?

This package contains a drop-in replacement for R's cat, message and print, inspired by lolcat.

Usage

Use it just like cat

for (i in 1:10) {
  rainbowrite::lolcat("hello world\n")
}

lolcat

Or like message

rainbowrite::lolmessage("wow\n\t\tsuch colours\n   much rainbow")

lolmessage

Modify functions that already use cat or message using lolify:

lolsay <- rainbowrite::lolify(cowsay::say)
lolsay("I ate a rainbow", "longcat")

lolify

Installation

Install from github using remotes:

remotes::install_github("richfitz/rainbowrite", upgrade = FALSE)

License

MIT + file LICENSE © Rich FitzJohn

Releases

No releases published

Packages

No packages published