spongebobsay: SpongeBob ASCII Messages : sPongEBoB aScii MesSAgEs

Description Usage Arguments Details Value See Also Examples

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

1
2
3
4
5

Arguments

what

an object accepted by tospongebob

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

tospongebob, ascii_spongebob

Examples

 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"
)

spongebob documentation built on May 2, 2019, 1:41 p.m.