Package: switchcase 0.1.1

switchcase: A Simple and Flexible Switch-Case Construct for the 'R' Language

Provides a switch-case construct for 'R', as it is known from other programming languages. It allows to test multiple, similar conditions in an efficient, easy-to-read manner, so nested if-else constructs can be avoided. The switch-case construct is designed as an 'R' function that allows to return values depending on which condition is met and lets the programmer flexibly decide whether or not to leave the switch-case construct after a case block has been executed.

Authors:Joachim Zuckarelli [aut, cre]

switchcase_0.1.1.tar.gz
switchcase_0.1.1.zip(r-4.5)switchcase_0.1.1.zip(r-4.4)switchcase_0.1.1.zip(r-4.3)
switchcase_0.1.1.tgz(r-4.4-any)switchcase_0.1.1.tgz(r-4.3-any)
switchcase_0.1.1.tar.gz(r-4.5-noble)switchcase_0.1.1.tar.gz(r-4.4-noble)
switchcase_0.1.1.tgz(r-4.4-emscripten)switchcase_0.1.1.tgz(r-4.3-emscripten)
switchcase.pdf |switchcase.html
switchcase/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/jsugarelli/switchcase/issues

On CRAN:

r-langr-languageswitch-case-construct

3.18 score 3 stars 2 scripts 103 downloads 2 exports 0 dependencies

Last updated 4 years agofrom:2a59e1128d. Checks:OK: 7. Indexed: yes.

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

Exports:altswitchCase

Dependencies: