Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17384 [R] Additional dplyr functionality
  3. ARROW-16965

[R] Update case_when() binding to match changes in dplyr

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.0.0
    • None
    • R

    Description

      https://github.com/tidyverse/dplyr/pull/6300 introduced a change to the case_when() API.

      Most importantly:

      There is a new .default argument that is intended to replace usage of TRUE ~ default_value

      There are also new arguments .ptype and .size.

      There are a few other changes also, highlighted in the dplyr NEWS.md file

      Also see https://twitter.com/dvaughan32/status/1542942862077317121.

      We should update the case_when() binding in the arrow R package to be consistent with its new behaviors in dplyr, or to throw an error if the user passes new arguments that we cannot handle consistently with dplyr.

      Attachments

        Activity

          People

            Unassigned Unassigned
            icook Ian Cook
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: