diff --git a/NEWS.md b/NEWS.md index 64da693..87642f1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,7 @@ - autogenerate documentation - data argument now has same name as in tidyr/dplyr (#43) - fixes #42 +- fixes "ungroup" bug in tests (found by revdep check for dplyr 1.0.0) # 1.0.0 diff --git a/tests/testthat/test_group_by.R b/tests/testthat/test_group_by.R index f6803d3..d067c18 100644 --- a/tests/testthat/test_group_by.R +++ b/tests/testthat/test_group_by.R @@ -36,16 +36,16 @@ test_that("group_by: argument order", { test_that("ungroup", { expect_message({ - out <- tidylog::ungroup(mtcars, mpg) + out <- tidylog::ungroup(mtcars) }) expect_equal(dplyr::is.grouped_df(out), FALSE) expect_silent({ - out <- dplyr::ungroup(mtcars, mpg) + out <- dplyr::ungroup(mtcars) }) expect_silent({ options("tidylog.display" = list()) # turn off - out <- tidylog::ungroup(mtcars, mpg) + out <- tidylog::ungroup(mtcars) }) options("tidylog.display" = NULL) # turn on })