Package: snakecase 0.11.1

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.5)snakecase_0.11.1.zip(r-4.4)snakecase_0.11.1.zip(r-4.3)
snakecase_0.11.1.tgz(r-4.4-any)snakecase_0.11.1.tgz(r-4.3-any)
snakecase_0.11.1.tar.gz(r-4.5-noble)snakecase_0.11.1.tar.gz(r-4.4-noble)
snakecase_0.11.1.tgz(r-4.4-emscripten)snakecase_0.11.1.tgz(r-4.3-emscripten)
snakecase.pdf |snakecase.html
snakecase/json (API)
NEWS

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

Peer review:

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

On CRAN:

camelcasecaseconversionpascalcasesnake-case

13.95 score 147 stars 269 packages 672 scripts 281k downloads 2 mentions 13 exports 8 dependencies

Last updated 1 years agofrom:3b5931f5e0. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-winOKOct 26 2024
R-4.5-linuxOKOct 26 2024
R-4.4-winOKOct 26 2024
R-4.4-macOKOct 26 2024
R-4.3-winOKOct 26 2024
R-4.3-macOKOct 26 2024

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 Oct 26 2024.

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

Introducing the snakecase package

Rendered fromintroducing-the-snakecase-package.Rmdusingknitr::rmarkdownon Oct 26 2024.

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