Running ‘testthat.R’ [70s/87s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(jtools)
  > 
  > 
  > test_check("jtools")
  ── 1. Error: Export doesn't fail with lm (@test-export-summs.R#38)  ────────────
  ci_level is not a number (a length one numeric vector).
  1: expect_is(export_summs(fit, fit2, fitw), "huxtable") at testthat/test-export-summs.R:38
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: export_summs(fit, fit2, fitw)
  5: huxtable::huxreg(jsumms, error_pos = error_pos[1], error_format = error_format, statistics = statistics, 
         ci_level = ci_level)
  6: assert_that(is.number(ci_level))
  
  ── 2. Error: Export doesn't fail with glm (@test-export-summs.R#57)  ───────────
  ci_level is not a number (a length one numeric vector).
  1: expect_is(export_summs(pmod), "huxtable") at testthat/test-export-summs.R:57
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: export_summs(pmod)
  5: huxtable::huxreg(jsumms, error_pos = error_pos[1], error_format = error_format, statistics = statistics, 
         ci_level = ci_level)
  6: assert_that(is.number(ci_level))
  
  ── 3. Error: Export doesn't fail with svyglm (@test-export-summs.R#76)  ────────
  ci_level is not a number (a length one numeric vector).
  1: expect_is(export_summs(regmodel, statistics = c(N = "nobs")), "huxtable") at testthat/test-export-summs.R:76
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: export_summs(regmodel, statistics = c(N = "nobs"))
  5: huxtable::huxreg(jsumms, error_pos = error_pos[1], error_format = error_format, statistics = statistics, 
         ci_level = ci_level)
  6: assert_that(is.number(ci_level))
  
  ── 4. Error: Export doesn't fail with merMod (@test-export-summs.R#96)  ────────
  ci_level is not a number (a length one numeric vector).
  1: expect_is(export_summs(mv), "huxtable") at testthat/test-export-summs.R:96
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: export_summs(mv)
  5: huxtable::huxreg(jsumms, error_pos = error_pos[1], error_format = error_format, statistics = statistics, 
         ci_level = ci_level)
  6: assert_that(is.number(ci_level))
  
  ── 5. Error: Export can take manual coefficient names (@test-export-summs.R#138)
  ci_level is not a number (a length one numeric vector).
  1: expect_is(export_summs(fit, fit2, fitw, coefs = c(`HS Grad %` = "HSGrad", `Murder Rate` = "Murder")), 
         "huxtable") at testthat/test-export-summs.R:138
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: export_summs(fit, fit2, fitw, coefs = c(`HS Grad %` = "HSGrad", `Murder Rate` = "Murder"))
  5: huxtable::huxreg(jsumms, error_pos = error_pos[1], error_format = error_format, statistics = statistics, 
         ci_level = ci_level)
  6: assert_that(is.number(ci_level))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 268 SKIPPED: 1 FAILED: 5
  1. Error: Export doesn't fail with lm (@test-export-summs.R#38) 
  2. Error: Export doesn't fail with glm (@test-export-summs.R#57) 
  3. Error: Export doesn't fail with svyglm (@test-export-summs.R#76) 
  4. Error: Export doesn't fail with merMod (@test-export-summs.R#96) 
  5. Error: Export can take manual coefficient names (@test-export-summs.R#138) 
  
  Error: testthat unit tests failed
  Execution halted