jonkeane commented on code in PR #51235:
URL: https://github.com/apache/arrow/pull/51235#discussion_r4030720275
##########
r/tests/testthat/test-dplyr-filter.R:
##########
@@ -547,3 +547,20 @@ test_that("More complex select/filter_out", {
tbl
)
})
+
+test_that("filter() and filter_out() with across() warn about deprecation", {
+ # the warning is rate-limited to once per session by default
+ withr::local_options(rlib_warning_verbosity = "verbose")
+ tab <- arrow_table(tbl)
+
+ expect_warning(
+ tab |> filter(across(c(int, dbl), ~ .x > 2)) |> collect(),
+ "Using `across\\(\\)` in `filter\\(\\)` is deprecated",
Review Comment:
`\\\\\\` 😂
--
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]