Package: snakecase 0.11.1

Malte Grosser

snakecase: Convert Strings into any Case

A consistent, flexible and easy to use tool to parse and convert strings into cases like snake or camel among others.

Authors:Malte Grosser [aut, cre]

snakecase_0.11.1.tar.gz
snakecase_0.11.1.zip(r-4.7)snakecase_0.11.1.zip(r-4.6)snakecase_0.11.1.zip(r-4.5)
snakecase_0.11.1.tgz(r-4.6-any)snakecase_0.11.1.tgz(r-4.5-any)
snakecase_0.11.1.tar.gz(r-4.7-any)snakecase_0.11.1.tar.gz(r-4.6-any)
snakecase_0.11.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
snakecase/json (API)
NEWS

# Install 'snakecase' in R:
install.packages('snakecase', repos = c('https://fastverse.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tazinho/snakecase/issues

On CRAN:

Conda:

camelcasecaseconversionpascalcasesnake-case

13.90 score 155 stars 348 packages 830 scripts 150k downloads 2 mentions 13 exports 8 dependencies

Last updated from:3b5931f5e0. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK121
source / vignettesOK165
linux-release-x86_64OK108
macos-release-arm64OK108
macos-oldrel-arm64OK84
windows-develOK120
windows-releaseOK73
windows-oldrelOK73
wasm-releaseOK103

Exports:to_any_caseto_lower_camel_caseto_lower_upper_caseto_mixed_caseto_parsed_caseto_random_caseto_screaming_snake_caseto_sentence_caseto_snake_caseto_swap_caseto_title_caseto_upper_camel_caseto_upper_lower_case

Dependencies:cligluelifecyclemagrittrrlangstringistringrvctrs

Case converters

Rendered fromcaseconverters.Rmdusingknitr::rmarkdownon May 21 2026.

Last update: 2018-03-25
Started: 2017-03-23

Introducing the snakecase package

Rendered fromintroducing-the-snakecase-package.Rmdusingknitr::rmarkdownon May 21 2026.

Last update: 2019-05-22
Started: 2019-05-22

Readme and manuals

Help Manual

Help pageTopics
Internal abbreviation marker, marks abbreviations with an underscore behind. Useful if 'parsing_option' 1 is needed, but some abbreviations need 'parsing_option' 2.abbreviation_internal
Specific case converter shortcutscaseconverter to_lower_camel_case to_lower_upper_case to_mixed_case to_parsed_case to_random_case to_screaming_snake_case to_sentence_case to_snake_case to_swap_case to_title_case to_upper_camel_case to_upper_lower_case
Internal helper to test the design rules for any string and setting of 'to_any_case()'check_design_rule
Parsing helpersparse1_pat_cap_smalls parse2_pat_digits parse3_pat_caps parse4_pat_cap parse5_pat_non_alnums parse6_mark_digits parse7_pat_caps_smalls parse8_pat_smalls_after_non_alnums parsing_helpers
Internal function that replaces regex matches with underscorespreprocess_internal
Internal helper for "lower_upper", "upper_lower". This helper returns a logical vector with TRUE for the first and every second string of those which contain an alphabetic characterrelevant
Internal helper to replace special characters.replace_special_characters_internal
General case conversionto_any_case
Internal parser, which is relevant for preprocessing, parsing and parsing optionsto_parsed_case_internal