tests/testthat/_problems/test-stats-102.R
raw| 1 | # Extracted from test-stats.R:102 |
| 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 | expect_warning(input <- |
| 10 | inline_hist(c(1, 2, 3, 3, 6, 6, 6, 8, Inf, -Inf))) |