You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "SHIMA Tatsuya (Jira)" <ji...@apache.org> on 2022/07/15 13:06:00 UTC
[jira] [Assigned] (ARROW-17085) [R] group_vars() should not return NULL
[ https://issues.apache.org/jira/browse/ARROW-17085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
SHIMA Tatsuya reassigned ARROW-17085:
-------------------------------------
Assignee: SHIMA Tatsuya
> [R] group_vars() should not return NULL
> ---------------------------------------
>
> Key: ARROW-17085
> URL: https://issues.apache.org/jira/browse/ARROW-17085
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Affects Versions: 8.0.0
> Reporter: SHIMA Tatsuya
> Assignee: SHIMA Tatsuya
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {code:r}
> mtcars |> dplyr::group_vars()
> #> character(0)
> mtcars |> arrow:::as_adq() |> dplyr::group_vars()
> #> character(0)
> mtcars |> arrow::arrow_table() |> dplyr::group_vars()
> #> NULL
> {code}
> {{dplyr::group_vars(<data.frame>)}} does not return NULL, so the following code will result in an error.
> {code:r}
> mtcars |> arrow::arrow_table() |> dtplyr::lazy_dt()
> #> Error in new_step(parent, vars = names(parent), groups = groups, locals = list(), : is.character(groups) is not TRUE
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)