[ https://issues.apache.org/jira/browse/ARROW-17085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567235#comment-17567235 ]
SHIMA Tatsuya commented on ARROW-17085: --------------------------------------- > You may also want to change groups() to return an empty list() instead of > NULL. I was not aware of this. I will take a look at this too. > [R] group_vars(<ArrowTabular>) returns 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 > Priority: Major > > {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)