incase: Pipe-Friendly Vector Replacement with Case Statements

Offers a pipe-friendly alternative to the 'dplyr' functions case_when() and if_else(). 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 possible outputs to the same type, meaning you no longer have to worry about using specific typed variants of NA or explicitly declaring integer outputs.

Version: 0.1.0
Imports: magrittr, plu, rlang
Suggests: cli, covr, crayon, dplyr, testthat
Published: 2020-09-15
Author: Alexander Rossell Hayes ORCID iD [aut, cre, cph]
Maintainer: Alexander Rossell Hayes <alexander at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README
CRAN checks: incase results


Reference manual: incase.pdf
Package source: incase_0.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: incase_0.1.0.tgz, r-oldrel: incase_0.1.0.tgz


Please use the canonical form to link to this page.