Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 23, 2024
1 parent 3c7fa4c commit 4ad543a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-data_tabulate.R
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ test_that("data_tabulate, cross tables, grouped df", {
efc$e16sex[sample.int(nrow(efc), 5)] <- NA
grp <- data_group(efc, "e42dep")
expect_snapshot(print(data_tabulate(grp, "c172code", by = "e16sex", proportions = "row")))
skip_if_not_installed("gt")
expect_s3_class(print_html(data_tabulate(grp, "c172code", by = "e16sex", proportions = "row")), "gt_tbl") # nolint
})

Expand Down

0 comments on commit 4ad543a

Please sign in to comment.