Running 'testthat.R' [23s/28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(infer)
  > 
  > test_check("infer")
  Setting `type = "permute"` in `generate()`.
  -- 1. Error: chi-square matches chisq.test value (@test-calculate.R#189)  ------
  there is no package called 'broom'
  Backtrace:
    1. infer::calculate(gen_gss8, stat = "Chisq")
   14. broom::tidy
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   20. base:::withOneRestart(expr, restarts[[1L]])
   21. base:::doWithOneRestart(return(expr), restart)
  
  -- 2. Error: order being given when not needed gives warning (@test-calculate.R#
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_warning(...)
   19. broom::tidy
   20. base::getExportedValue(pkg, name)
   21. base::asNamespace(ns)
   22. base::getNamespace(ns)
   23. base::loadNamespace(name)
   24. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   25. base:::withOneRestart(expr, restarts[[1L]])
   26. base:::doWithOneRestart(return(expr), restart)
  
  -- 3. Error: (unknown) (@test-visualize.R#14)  ---------------------------------
  there is no package called 'broom'
  Backtrace:
    1. stats::lm(age ~ hours, data = gss_tbl)
    8. broom::tidy(.)
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   14. base:::withOneRestart(expr, restarts[[1L]])
   15. base:::doWithOneRestart(return(expr), restart)
  
  -- 4. Error: t_test works (@test-wrappers.R#5)  --------------------------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_warning(gss_tbl %>% t_test(hours ~ sex))
   10. infer::t_test(., hours ~ sex)
    3. stats::t.test(...)
   11. broom::glance(.)
   24. base::getExportedValue(pkg, name)
   25. base::asNamespace(ns)
   26. base::getNamespace(ns)
   27. base::loadNamespace(name)
   28. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   29. base:::withOneRestart(expr, restarts[[1L]])
   30. base:::doWithOneRestart(return(expr), restart)
  
  -- 5. Error: chisq_test works (@test-wrappers.R#49)  ---------------------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_silent(gss_tbl %>% chisq_test(college ~ partyid))
   10. infer::chisq_test(., college ~ partyid)
    3. stats::chisq.test(table(x), ...)
   10. broom::glance(.)
   26. base::getExportedValue(pkg, name)
   27. base::asNamespace(ns)
   28. base::getNamespace(ns)
   29. base::loadNamespace(name)
   30. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   31. base:::withOneRestart(expr, restarts[[1L]])
   32. base:::doWithOneRestart(return(expr), restart)
  
  -- 6. Error: _stat functions work (@test-wrappers.R#86)  -----------------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_silent(gss_tbl %>% chisq_stat(college ~ partyid))
   10. infer::chisq_stat(., college ~ partyid)
    3. base::suppressWarnings(stats::chisq.test(table(x), ...))
   10. broom::glance(.)
   26. base::getExportedValue(pkg, name)
   27. base::asNamespace(ns)
   28. base::getNamespace(ns)
   29. base::loadNamespace(name)
   30. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   31. base:::withOneRestart(expr, restarts[[1L]])
   32. base:::doWithOneRestart(return(expr), restart)
  
  -- 7. Error: conf_int argument works (@test-wrappers.R#157)  -------------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_equal(...)
   10. infer::t_test(., hours ~ sex, order = c("male", "female"), conf_int = FALSE)
    3. stats::t.test(...)
   11. broom::glance(.)
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::loadNamespace(name)
   26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   27. base:::withOneRestart(expr, restarts[[1L]])
   28. base:::doWithOneRestart(return(expr), restart)
  
  -- 8. Error: two sample prop_test works (@test-wrappers.R#243)  ----------------
  there is no package called 'broom'
  Backtrace:
    1. infer::prop_test(df, resp ~ exp, order = c("a", "b"))
    2. stats::prop.test(...)
   10. broom::glance(.)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   16. base:::withOneRestart(expr, restarts[[1L]])
   17. base:::doWithOneRestart(return(expr), restart)
  
  -- 9. Error: one sample prop_test works (@test-wrappers.R#293)  ----------------
  there is no package called 'broom'
  Backtrace:
    1. infer::prop_test(df_1, resp ~ NULL, p = 0.5)
    2. stats::prop.test(...)
   10. broom::glance(.)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   16. base:::withOneRestart(expr, restarts[[1L]])
   17. base:::doWithOneRestart(return(expr), restart)
  
  == testthat results  ===========================================================
  [ OK: 275 | SKIPPED: 10 | WARNINGS: 0 | FAILED: 9 ]
  1. Error: chi-square matches chisq.test value (@test-calculate.R#189) 
  2. Error: order being given when not needed gives warning (@test-calculate.R#319) 
  3. Error: (unknown) (@test-visualize.R#14) 
  4. Error: t_test works (@test-wrappers.R#5) 
  5. Error: chisq_test works (@test-wrappers.R#49) 
  6. Error: _stat functions work (@test-wrappers.R#86) 
  7. Error: conf_int argument works (@test-wrappers.R#157) 
  8. Error: two sample prop_test works (@test-wrappers.R#243) 
  9. Error: one sample prop_test works (@test-wrappers.R#293) 
  
  Error: testthat unit tests failed
  Execution halted