You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2022/07/01 20:26:00 UTC

[jira] [Created] (ARROW-16965) [R] Update case_when() binding to match changes in dplyr

Ian Cook created ARROW-16965:
--------------------------------

             Summary: [R] Update case_when() binding to match changes in dplyr
                 Key: ARROW-16965
                 URL: https://issues.apache.org/jira/browse/ARROW-16965
             Project: Apache Arrow
          Issue Type: Improvement
          Components: R
    Affects Versions: 8.0.0
            Reporter: Ian Cook


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

Most importantly:
{quote}There is a new {{.default}} argument that is intended to replace usage of {{TRUE ~ default_value}}
{quote}
There are also new arguments {{.ptype}} and {{{}.size{}}}.

There are a few other changes also, highlighted in the [dplyr NEWS.md file|https://github.com/tidyverse/dplyr/blob/main/NEWS.md]

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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)