This package contains a drop-in replacement for R’s cat, message and print, inspired by lolcat.
Use it just like cat
for (i in 1:10) {
rainbowrite::lolcat("hello world\n")
}
Or like message
rainbowrite::lolmessage("wow\n\t\tsuch colours\n much rainbow")
Modify functions that already use cat or message using lolify:

Install from github using remotes:
remotes::install_github("richfitz/rainbowrite", upgrade = FALSE)MIT + file LICENSE © Rich FitzJohn