The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
This repository was developed from the excellent extendr tutorial.
This package is a thin wrapper around the rust crate heck allowing
R
to convert character vectors to specific cases super
fast.
You can install the development version of heck
like
so:
r-universe:
install.packages("heck", repos = c("https://dyfanjones.r-universe.dev", "https://cran.r-project.org"))
Github:
::install_github("dyfanjones/heck") remotes
Please note that the R
heck
project is
released with a Contributor
Code of Conduct. By contributing to this project, you agree to abide
by its terms.
library(heck)
<- "Demo String"
x
to_kebab_case(x)
#> [1] "demo-string"
to_lower_camel_case(x)
#> [1] "demoString"
to_upper_camel_case(x)
#> [1] "DemoString"
to_pascal_case(x)
#> [1] "DemoString"
to_snake_case(x)
#> [1] "demo_string"
to_snek_case(x)
#> [1] "demo_string"
to_title_case(x)
#> [1] "Demo String"
to_train_case(x)
#> [1] "Demo-String"
to_shouty_kebab_case(x)
#> [1] "DEMO-STRING"
to_shouty_snake_case(x)
#> [1] "DEMO_STRING"
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.