thisisnic commented on issue #38755:
URL: https://github.com/apache/arrow/issues/38755#issuecomment-1815844582

   Thanks for reporting this, can confirm it's reproducible; here's a reprex:
   
   ``` r
   library(dplyr)
   library(arrow)
   tbl <- arrow_table(mean = 1:10, group_var = rep(c("a", "b"), 5))
   tbl %>%  
     group_by(group_var) %>% 
     summarise(across(all_of("mean"), ~ mean(.)))
   #> Warning: Error in eval_tidy(expr, mask) : object '..temp0' not found; 
pulling
   #> data into R
   #> # A tibble: 2 × 2
   #>   group_var  mean
   #>   <chr>     <dbl>
   #> 1 a             5
   #> 2 b             6
   ```
   
   This reprex shows it's not just limited to `across()` contexts:
   
   ``` r
   library(dplyr)
   library(arrow)
   tbl <- arrow_table(mean = 1:10, group_var = rep(c("a", "b"), 5))
   tbl %>%  
     group_by(group_var) %>% 
     summarise(mean(mean))
   #> Warning: Error in eval_tidy(expr, mask) : object '..temp0' not found; 
pulling
   #> data into R
   #> # A tibble: 2 × 2
   #>   group_var `mean(mean)`
   #>   <chr>            <dbl>
   #> 1 a                    5
   #> 2 b                    6
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to