Description Usage Arguments Details Value See Also Examples
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.
1 2 3 4 5 | spongebobsay(what, print = TRUE, width = NULL)
spongebobthink(what, print = TRUE, width = NULL)
spongebobwhisper(what, print = TRUE, width = NULL)
|
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 |
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
.
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.
1 2 3 4 5 6 7 8 9 10 11 | 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"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.