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.
spongebobsay(what, print = TRUE, width = NULL) spongebobthink(what, print = TRUE, width = NULL) spongebobwhisper(what, print = TRUE, width = NULL)
what | an object accepted by |
---|---|
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 |
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.
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
.
spongebobsay("globalVariables is a hideous hack and I will never use it.")#> ----------------------------------------- #> | gLobAlVAriaBlES iS A hiDeoUS hacK ANd I | #> | wILl NEvER uSe it. | #> ----------------------------------------- #> \\ #> \\ * #> * #> ----//------- #> \..C/--..--/ \ `A #> (@ ) ( @) \ \// |w #> \ \ \---/ #> HGGGGGGG \ /` #> V `---------`--' #> << << #> ### ###spongebobthink( "@hadley you shouldn't say you'll never use things when only two years later you think it's fine -- hadley" )#> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #> ( @hadLEy YOu sHOuldN'T sAY You'lL nEVeR ) #> ( USe thINGs wHEn oNlY TWo YEArs LateR ) #> ( You tHINk iT's fInE -- haDlEY ) #> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #> o #> o * #> * #> ----//------- #> \..C/--..--/ \ `A #> (@ ) ( @) \ \// |w #> \ \ \---/ #> HGGGGGGG \ /` #> V `---------`--' #> << << #> ### ###spongebobwhisper( "it's still a hideous hack, but you just have to suck it up if you want your package on CRAN" )#> ......................................... #> : It'S stiLl a HideOus hACk, bUT You JuSt : #> : HAve tO SUcK It Up iF YoU WAnt YOUr : #> : PackAGe oN CraN : #> ......................................... #> . #> . * #> * #> ----//------- #> \..C/--..--/ \ `A #> (@ ) ( @) \ \// |w #> \ \ \---/ #> HGGGGGGG \ /` #> V `---------`--' #> << << #> ### ###