Skip to content

Commit

Permalink
Add another failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisnic committed Aug 12, 2022
1 parent 62c33bb commit ca784d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions r/tests/testthat/test-dplyr-mutate.R
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,14 @@ test_that("Can use across() within mutate()", {
tbl
)

expect_error(
tbl %>%
arrow_table() %>%
mutate(across(c(dbl, dbl2), list("fun1" = round(sqrt(dbl))))) %>%
collect(),
regexp = "add in a decent error message"
)

# across() arguments not in default order
compare_dplyr_binding(
.input %>%
Expand Down

0 comments on commit ca784d9

Please sign in to comment.