Type: Package Package: incase Title: Pipe-Friendly Vector Replacement with Case Statements Version: 0.4.0.9000 Authors@R: c( person("Alexander", "Rossell Hayes", , "alexander@rossellhayes.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0001-9412-0457")), person("Patrice", "Kiener", , "fattailsr@inmodelia.com", role = "ctb", comment = c("Contributed example for fn_case()", ORCID = "0000-0002-0505-9920")) ) Description: 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. License: MIT + file LICENSE URL: https://pkg.rossellhayes.com/incase/, https://github.com/rossellhayes/incase BugReports: https://github.com/rossellhayes/incase/issues Imports: backports, cli, glue, lifecycle, magrittr, plu, rlang Suggests: dplyr, testthat (>= 3.0.0), tibble Config/testthat/edition: 3 Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.2 Repository: https://rossellhayes.r-universe.dev Date/Publication: 2025-10-27 15:47:45 UTC RemoteUrl: https://github.com/rossellhayes/incase RemoteRef: HEAD RemoteSha: 13062509ef742b79cd276e175e01971d17c85218 NeedsCompilation: no Packaged: 2026-05-25 08:11:51 UTC; root Author: Alexander Rossell Hayes [aut, cre, cph] (ORCID: ), Patrice Kiener [ctb] (Contributed example for fn_case(), ORCID: ) Maintainer: Alexander Rossell Hayes