/spongebob

spongebob : SPoNgeBOb-CAse cONveRSioN iN R

Primary LanguageROtherNOASSERTION

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.