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.
| Version: | 0.1.1 |
| Published: | 2020-05-17 |
| DOI: | 10.32614/CRAN.package.switchcase |
| Author: | Joachim Zuckarelli
|
| Maintainer: | Joachim Zuckarelli <joachim at zuckarelli.de> |
| BugReports: | https://github.com/jsugarelli/switchcase/issues |
| License: | GPL-3 |
| URL: | https://github.com/jsugarelli/switchcase/ |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | switchcase results |
| Reference manual: | switchcase.html , switchcase.pdf |
| Package source: | switchcase_0.1.1.tar.gz |
| Windows binaries: | r-devel: switchcase_0.1.1.zip, r-release: switchcase_0.1.1.zip, r-oldrel: switchcase_0.1.1.zip |
| macOS binaries: | r-release (arm64): switchcase_0.1.1.tgz, r-oldrel (arm64): switchcase_0.1.1.tgz, r-release (x86_64): switchcase_0.1.1.tgz, r-oldrel (x86_64): switchcase_0.1.1.tgz |
| Old sources: | switchcase archive |
Please use the canonical form https://CRAN.R-project.org/package=switchcase to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.