SpongeBob-Case Converter : spOngEboB-CASe CoNVertER

Convert text (and text in R objects) to Mocking SpongeBob case < https://knowyourmeme.com/memes/mocking-spongebob> and show them off in fun ways. CoNVErT TexT (AnD TeXt In r ObJeCtS) To MOCkINg SpoNgebOb CAsE < https://knowyourmeme.com/memes/mocking-spongebob> aND shOw tHem OFf IN Fun WayS.

CRAN_Status_Badge CRAN_Download_Badge Build Status AppVeyor Build Status codecov

This R package's core is the function tospongebob that will convert character strings to Mocking SpongeBob case. Additional features leverage it for even more fun.

thIS r pAcKAge'S cOrE iS THe fuNcTiOn tospongebob ThAt WIlL cOnVerT chaRaCTer sTRingS To MOcKINg SPOngeBob CASe. aDdITiONaL feATurES leVErAgE IT fOr EVeN MOrE fuN.

Inspired by a Twitter conversation started by @jongalloway.

insPIreD bY A twiTTeR CoNVErsaTIon StArtED By @jONgAllOwaY.

Installation. inSTAllATIoN.

You can get spongebob from CRAN:

YOu cAN geT spongebob fROm CRan:


Development Version. dEveLoPmEnT VerSIOn.

To install the development version of this package, use remotes to install directly from GitHub:

tO InSTaLl thE devELoPmEnT VerSiON of ThiS pACkAGE, usE remotes To InSTaLl DirEcTlY fROm gItHuB:


Usage. usAGe.

    "an r package for spongebob-case conversion",
    "Inspired by a [Twitter conversation started by @jongalloway]"
#> [1] "aN r PaCkaGe foR SpONgEBoB-cASE cONVersIoN"
#> [2] "insPIreD bY A [twiTTeR CoNVErsaTIon StArtED By @jONgAllOwaY]"

Created on 2019-02-09 by the reprex package (v0.2.1)

The author of this package claims no ownership over SpongeBob SquarePants. SpongeBob SquarePants is the creation of Stephen Hillenburg, and its trademark is owned by Viacom International Inc. This package uses SpongeBob under fair use, and this package should only be used for personal, noncommercial purposes.


spongebob 0.4.0

  • tospongebob is now an S3 generic function! This means you can use it to convert baSIcaLLY aNyThiNg yOU CaN dREAm oF. If you dream of something that doesn't work, please report it in our issue tracker, and we'll try our best to mAKe yoUr drEaMS ComE TrUE. DOn'T LeT yOUR dreAmS juST Be DrEaMS.
  • spongebobsay and friends accordingly now also take basically any input.
  • spongebobsay and friends now adjust width based on the longest word, with a minimum of 40 characters by default. You can also specify a value using the new width argument.

spongebob 0.3.0

  • New family of functions spongebobsay, spongebobthink, and spongebobwhisper that let you have ASCII Spongebob--in the style of cowsay--deliver your message WitH VisuAl flAiR aNd soPhIsTIcATIoN.
  • Standalone ASCII Mocking Spongebob art available as a character string via new function ascii_spongebob in case you want him to gAzE SiLEntlY aT You.
| neW fAMilY Of fUNCtiOns `sPOnGEboBsAy`, |
| `spONGeBoBTHinK`, aNd `sPonGEboBtHinK`  |
| THAt lET you HavE AsCiI sPOnGEbob--In   |
| the STyLe oF CowSAy--DeliVeR YoUR       |
| mesSaGe wiTh vISuaL FlAIr AND           |
| SophIStIcaTioN.                         |
   \\    *
     \..C/--..--/ \   `A
      (@ )  ( @) \  \// |w
       \          \  \---/
        HGGGGGGG    \    /`
        V `---------`--'
            <<    <<
           ###   ###

spongebob 0.2.0

  • tospongebob's 1-, 2-, and 3-length subsequences now sample from a distribution whose proportions follow the golden ratio, for mORe pLeASing AEstHetiCS ThAT rEfleCt nATUre.
  • tospongebob now ignores non-alphabetic characters when alternating casing. This avoids situations like "THis one" where the whitespace ate up an uppercase subsequence.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.4.0 by Jay Qi, 9 months ago


Report a bug at https://github.com/jayqi/spongebob/issues

Browse source code at https://github.com/cran/spongebob

Authors: Jay Qi [aut, cre]

Documentation:   PDF Manual  

BSD_3_clause + file LICENSE license

Suggests testthat, fortunes, ggplot2

See at CRAN