spongebobsay {spongebob} | R Documentation |
SpongeBob ASCII Messages : sPongEBoB aScii MesSAgEs
Description
A set of functions that generate SpongeBob ASCII art with speech bubbles in the style of cowsay.
a seT OF fuNctiOnS tHat GEnerAte sPONgeBOb AScIi aRT wiTH SpeEcH buBBLeS In THe sTylE OF cOWsaY.
Usage
spongebobsay(what, print = TRUE, width = NULL)
spongebobthink(what, print = TRUE, width = NULL)
spongebobwhisper(what, print = TRUE, width = NULL)
Arguments
what |
an object accepted by |
print |
a length-1 logical, indicating whether to print output to console. |
width |
a length-1 positive integer or numeric whole number specifying width to wrap text |
Details
These functions will convert the input to Mocking SpongeBob case
using tospongebob
. If the converted output is not already a
character vector, it will be converted to such using
print
.
The ASCII SpongeBob graphic is available standalone using
ascii_spongebob
.
Value
a character string containing the ASCII art. Use
cat
to print with proper formatting.
A CHaRACtER stRINg cONtaINiNG ThE ASciI ARt. uSe cat
TO
prInT WiTH prOper FORmatTiNg.
See Also
Examples
spongebobsay("globalVariables is a hideous hack and I will never use it.")
spongebobthink(
"@hadley you shouldn't say you'll never use things when only two years
later you think it's fine -- hadley"
)
spongebobwhisper(
"it's still a hideous hack, but you just have to suck it up if you want
your package on CRAN"
)