tests/testthat/_problems/test-skim_print-15.R
raw| 1 | # Extracted from test-skim_print.R:15 |
| 2 | |
| 3 | # setup ------------------------------------------------------------------------ |
| 4 | library(testthat) |
| 5 | test_env <- simulate_test_env(package = "skimr", path = "..") |
| 6 | attach(test_env, warn.conflicts = FALSE) |
| 7 | |
| 8 | # test ------------------------------------------------------------------------- |
| 9 | skip_if_not(l10n_info()$`UTF-8`) |
| 10 | withr::local_options(list(cli.unicode = FALSE)) |
| 11 | expect_snapshot( skim(dplyr::group_by(iris, Species))) |