richfitz / rainbowrite

:rainbow: Port of lolcat to R :rainbow:

Home Page:https://richfitz.github.io/rainbowrite/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

:rainbow: Port of lolcat to R :rainbow:

https://richfitz.github.io/rainbowrite/

License:Other


Languages

Language:R 96.2%Language:Makefile 3.8%