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.5-any)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'))

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

On CRAN:

r-langr-languageswitch-case-construct

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

Last updated 5 years agofrom:2a59e1128d. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 29 2025
R-4.5-winOKJan 29 2025
R-4.5-macOKJan 29 2025
R-4.5-linuxOKJan 29 2025
R-4.4-winOKJan 29 2025
R-4.4-macOKJan 29 2025
R-4.3-winOKJan 29 2025
R-4.3-macOKJan 29 2025

Exports:altswitchCase

Dependencies: