The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

incase: Pipe-Friendly Vector Replacement with Case Statements

Offers a pipe-friendly alternative to the 'dplyr' functions case_when() and if_else(), as well as a number of user-friendly simplifications for common use cases. These functions accept a vector as an optional first argument, allowing conditional statements to be built using the 'magrittr' dot operator. The functions also coerce all outputs to the same type, meaning you no longer have to worry about using specific typed variants of NA or explicitly declaring integer outputs, and evaluate outputs somewhat lazily, so you don't waste time on long operations that won't be used.

Version: 0.3.2
Imports: backports, cli, magrittr, plu, rlang
Suggests: dplyr, testthat (≥ 3.0.0), tibble
Published: 2023-08-21
DOI: 10.32614/CRAN.package.incase
Author: Alexander Rossell Hayes ORCID iD [aut, cre, cph], Patrice Kiener ORCID iD [ctb] (Contributed example for fn_case())
Maintainer: Alexander Rossell Hayes <alexander at rossellhayes.com>
BugReports: https://github.com/rossellhayes/incase/issues
License: MIT + file LICENSE
URL: https://pkg.rossellhayes.com/incase/, https://github.com/rossellhayes/incase
NeedsCompilation: no
Materials: README NEWS
CRAN checks: incase results

Documentation:

Reference manual: incase.pdf

Downloads:

Package source: incase_0.3.2.tar.gz
Windows binaries: r-devel: incase_0.3.2.zip, r-release: incase_0.3.2.zip, r-oldrel: incase_0.3.2.zip
macOS binaries: r-release (arm64): incase_0.3.2.tgz, r-oldrel (arm64): incase_0.3.2.tgz, r-release (x86_64): incase_0.3.2.tgz, r-oldrel (x86_64): incase_0.3.2.tgz
Old sources: incase archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=incase to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.