Skip to content

snakecase on CRAN now

Compare
Choose a tag to compare
@Tazinho Tazinho released this 18 May 07:12
· 473 commits to master since this release

Functions

  • to_any_case():
    • has a highly modular and logical internal design
    • arguments: string, case, preprocess, protect, replace_special_characters, postprocess, prefix, postfix, unique_sep and empty_fill
    • vectorised over string, pre-/postprocess, pre-/postfix and protect arguments
    • groups of digits are not separated in between. Digits, which are not direct next to each other, will be split via "_" in both camel case versions. Otherwise information would be lost and also the consistency rules in the readme wouldn't hold in this case.
  • to_parsed_case_internal()
    • does the preprocessing and parsing and simplifies all other functions.
  • shortcuts:
    • to_snake_case(), to_small_camel_case(), to_big_camel_case(), to_screaming_snake_case() and to_parsed_case(), which are equivalent to to_any_case(string, case).

Documentation

  • githubpage contains a readme (including a logo and badges for cran status, codecoverage etc.), which describes the usage and also the design philosophy
  • added a vignette
  • added documentation and examples for all functions

Tests

  • added systematic tests
  • added integrated tests on linux via travis.ci and on windows via appveyor