# Extracted from test-stats.R:102 # setup ------------------------------------------------------------------------ library(testthat) test_env <- simulate_test_env(package = "skimr", path = "..") attach(test_env, warn.conflicts = FALSE) # test ------------------------------------------------------------------------- expect_warning(input <- inline_hist(c(1, 2, 3, 3, 6, 6, 6, 8, Inf, -Inf)))