From a5d40d0324721f2004fa93a1d12260c7516c4813 Mon Sep 17 00:00:00 2001 From: Jonathan Keane Date: Sun, 15 Sep 2024 17:46:44 +0200 Subject: [PATCH] GH-44122: [R] Don't use the new pipe yet (#44123) Swapping out the old pipe for at least a few more months to maintain 4.0 support. * GitHub Issue: #44122 Authored-by: Jonathan Keane Signed-off-by: Jonathan Keane --- r/tests/testthat/test-dplyr-summarize.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r/tests/testthat/test-dplyr-summarize.R b/r/tests/testthat/test-dplyr-summarize.R index 8d2a209df547f..1768d7534e69f 100644 --- a/r/tests/testthat/test-dplyr-summarize.R +++ b/r/tests/testthat/test-dplyr-summarize.R @@ -956,8 +956,8 @@ test_that("Summarize with 0 arguments", { }) test_that("Printing aggregation expressions", { - q <- tbl |> - arrow_table() |> + q <- tbl %>% + arrow_table() %>% summarize( total = sum(int, na.rm = TRUE), prod = prod(int, na.rm = TRUE),