Type: Package
Package: incase
Title: Pipe-Friendly Vector Replacement with Case Statements
Version: 0.4.0
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
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2025-07-24 01:20:34 UTC; alex
Author: Alexander Rossell Hayes [aut, cre, cph] (ORCID:
    <https://orcid.org/0000-0001-9412-0457>),
  Patrice Kiener [ctb] (Contributed example for fn_case(), ORCID:
    <https://orcid.org/0000-0002-0505-9920>)
Maintainer: Alexander Rossell Hayes <alexander@rossellhayes.com>
Repository: CRAN
Date/Publication: 2025-07-24 04:30:07 UTC
Built: R 4.6.0; ; 2026-04-27 17:39:52 UTC; unix
