psychelzh opened a new issue, #44089: URL: https://github.com/apache/arrow/issues/44089
### Describe the enhancement requested See the following example: ``` r suppressPackageStartupMessages(library(dplyr)) data.frame(x = c(1, 2, NaN)) |> arrow::as_arrow_table() |> summarise(x_avg = mean(x, na.rm = TRUE)) |> collect() #> # A tibble: 1 × 1 #> x_avg #> <dbl> #> 1 NaN ``` ``` r data.frame(x = c(1, 2, NaN)) |> summarise(x_avg = mean(x, na.rm = TRUE)) #> x_avg #> 1 1.5 ``` <sup>Created on 2024-09-12 with [reprex v2.1.0](https://reprex.tidyverse.org)</sup> ### Component(s) R -- 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org