Skip to content
spongebob : SPoNgeBOb-CAse cONveRSioN iN R
R CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
docs
man
pkgdown
tests
.Rbuildignore
.gitignore
.travis.yml
CODEOWNERS
DESCRIPTION
LICENSE
LICENSE.md
NAMESPACE
NEWS.md
README.md
_pkgdown.yml
appveyor.yml
cran-comments.md

README.md

spongebob : SPoNgeBOb-CAse cONveRSioN iN R

CRAN_Status_Badge CRAN_Download_Badge Build Status AppVeyor Build Status codecov Lifecycle: Maturing

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

insPIreD bY A twiTTeR CoNVErsaTIon StArtED By @jONgAllOwaY.

Installation. inSTAllATIoN.

You can get the LateST StABle VeRsIon of spongebob from CRAN:

install.packages('spongebob')

Development Version. dEveLoPmEnT VerSIOn.

To install the dEveLoPmEnT VerSIOn of this package, use remotes to install DirEcTlY fROm gItHuB:

remotes::install_github("jayqi/spongebob")

Usage. usAGe.

library(spongebob)
tospongebob(c(
    "an r package for spongebob-case conversion",
    "try to use it on anything you'd like!"
))
#> [1] "AN r pAcKaGe FOr spOnGebOb-caSe CONvERsioN"
#> [2] "tRy to USe iT on AnytHInG yOU'D lIKe!"

tospongebob(summary(datasets::chickwts))
#>      WeigHt             FeED   
#>  MIn.   :108.0   CaSein   :12  
#>  1sT qU.:204.5   HOrseBEaN:10  
#>  meDIan :258.0   LinSEeD  :12  
#>  mEan   :261.3   MeaTMeAL :11  
#>  3Rd QU.:323.5   SOYbEaN  :14  
#>  max.   :423.0   sunFLowEr:12

spongebobsay("you can even make magnificent ascii art")
#>  ----------------------------------------- 
#> | yOU CaN eVEn maKe MAgnIfICEnT ascIi ARt |
#>  ----------------------------------------- 
#>   \\
#>    \\    *
#>           *
#>      ----//-------
#>      \..C/--..--/ \   `A
#>       (@ )  ( @) \  \// |w
#>        \          \  \---/
#>         HGGGGGGG    \    /`
#>         V `---------`--'
#>             <<    <<
#>            ###   ###

Snippet created on 2019-03-02 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.

You can’t perform that action at this time.