[
https://issues.apache.org/jira/browse/ARROW-13985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414820#comment-17414820
]
Nicola Crane commented on ARROW-13985:
--------------------------------------
Closed as is part of ARROW-13926
> [R] Warning/error if dplyr::summarise() called when column is renamed but the
> original should be displayed in output too
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: ARROW-13985
> URL: https://issues.apache.org/jira/browse/ARROW-13985
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Nicola Crane
> Priority: Minor
>
> I was playing around with contrived examples to come up with tests for the
> dplyr::distinct() implementation, and tried this code:
> {code:java}
> tbl <- example_data
> tbl$some_grouping <- rep(c(1, 2), 5)
> tbl %>% Table$create() %>%
> group_by(some_grouping, false, lgl) %>%
> summarise(x = lgl) %>%
> collect()
> {code}
> but got this warning/error message:
> {{Warning: Error in .f(.x[[i]], ...) : attempt to apply non-function; pulling
> data into R}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)