Skip to content

Commit

Permalink
documenting this change
Browse files Browse the repository at this point in the history
  • Loading branch information
dsweber2 committed Jul 9, 2024
1 parent cc606af commit 25c9bbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-as_tibble-decay.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ test_that("as_tibble checks an attr to avoid decay to tibble", {
})

test_that("as_tibble ungroups if needed", {
# tsibble is doing some method piracy, and overwriting as_tibble.grouped_df as of 1.1.5
skip_if(packageVersion("tsibble") > "1.1.4")
edf <- jhu_csse_daily_subset %>% group_by(geo_value)
# removes the grouped_df class
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-methods-epi_df.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ test_that("Metadata is dropped by `as_tibble`", {
})

test_that("Grouping are dropped by `as_tibble`", {
# tsibble is doing some method piracy, and overwriting as_tibble.grouped_df as of 1.1.5
skip_if(packageVersion("tsibble") > "1.1.4")
grouped_converted <- toy_epi_df %>%
group_by(geo_value) %>%
Expand Down

0 comments on commit 25c9bbc

Please sign in to comment.