Package: switchcase 0.1.2
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:
switchcase_0.1.2.tar.gz
switchcase_0.1.2.zip(r-4.7)switchcase_0.1.2.zip(r-4.6)switchcase_0.1.2.zip(r-4.5)
switchcase_0.1.2.tgz(r-4.6-any)switchcase_0.1.2.tgz(r-4.5-any)
switchcase_0.1.2.tar.gz(r-4.7-any)switchcase_0.1.2.tar.gz(r-4.6-any)
switchcase_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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
r-langr-languageswitch-case-construct
Last updated from:a0683cb31e. Checks:2 ERROR, 7 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | ERROR | 99 | ||
| source / vignettes | OK | 120 | ||
| linux-release-x86_64 | ERROR | 95 | ||
| macos-release-arm64 | OK | 79 | ||
| macos-oldrel-arm64 | OK | 66 | ||
| windows-devel | OK | 54 | ||
| windows-release | OK | 61 | ||
| windows-oldrel | OK | 62 | ||
| wasm-release | OK | 86 |
Exports:altswitchCase
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Building alternative 'case' branches for the switch-case construct | alt |
| Package 'switchcase' | switchcase |
| The switch-case construct | switchCase |
