Skip to content

Commit

Permalink
MINOR: [R] Fix quantile() test failure in test-r-versions CI task
Browse files Browse the repository at this point in the history
This is a trivially small fix to resolve a test failure on older versions of R following ARROW-13772 (apache#11018).

Closes apache#11235 from ianmcook/ARROW-13772-fix

Authored-by: Ian Cook <ianmcook@gmail.com>
Signed-off-by: Ian Cook <ianmcook@gmail.com>
  • Loading branch information
ianmcook authored and ViniciusSouzaRoque committed Oct 20, 2021
1 parent 548487b commit 3d96177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r/tests/testthat/test-dplyr-summarize.R
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ test_that("quantile()", {
# with a vector of 2+ probs
expect_warning(
Table$create(tbl) %>%
summarize(q = quantile(dbl, probs = c(0.2, 0.8), na.rm = FALSE)),
summarize(q = quantile(dbl, probs = c(0.2, 0.8), na.rm = TRUE)),
"quantile() with length(probs) != 1 not supported by Arrow",
fixed = TRUE
)
Expand Down

0 comments on commit 3d96177

Please sign in to comment.