Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [66s/107s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(modelsummary)
  > 
  > test_check("modelsummary")
  [ FAIL 11 | WARN 98 | SKIP 43 | PASS 400 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Installed fixest is version 0.10.4; but 0.10.5 is required (1)
  • On CRAN (35)
  • gamlss cannot be loaded (1)
  • lfe cannot be loaded (2)
  • lme4 cannot be loaded (4)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-custom.R:13:3): glance_custom.glm ─────────────────────────────
  dim(out) (`actual`) not equal to c(14, 4) (`expected`).
  
    `actual`: 13 4
  `expected`: 14 4
  ── Failure (test-custom.R:24:3): glance_custom.glm preserve order ──────────────
  all(out$term[11:14] == c("test5", "test6", "test3", "test4")) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-gof.R:66:3): F statistic included for both `lm` and `glm` objects ──
  tab$Logit[tab$term == "F"] != "" is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-modelplot.R:66:3): vcov ───────────────────────────────────────
  p$conf.low (`actual`) not equal to `known` (`expected`).
  
      actual             | expected              
  [1] 165.17932766923687 - 165.17932766923701 [1]
  [2] 165.17932766923687 - 182.40637356593101 [2]
  [3] -13.65021804011718 - -13.65021804011720 [3]
  [4] -13.65021804011718 - -15.03908971520010 [4]
  [5] -22.18329743701016 - -22.18329743701020 [5]
  [6] -22.18329743701016 - -28.18587247556550 [6]
  ── Failure (test-modelsummary_get.R:11:5): options(modelsummary_get) ───────────
  ncol(tab2) (`actual`) not equal to 8 (`expected`).
  
    `actual`: 7
  `expected`: 8
  ── Error (test-pkg-fixest.R:33:3): fixest std.error labels ─────────────────────
  Error in `get_vcov.fixest(model, vcov = vcov, conf_level = conf_level, 
      ...)`: Assertion on '"lmtest"' failed: Please install the `lmtest` package..
  Backtrace:
      ▆
   1. └─modelsummary::modelsummary(mod, vcov = list(NULL, "iid"), output = "data.frame") at test-pkg-fixest.R:33:2
   2.   └─modelsummary:::get_list_of_modelsummary_lists(...)
   3.     └─modelsummary::get_estimates(...)
   4.       ├─modelsummary:::get_vcov(...)
   5.       └─modelsummary:::get_vcov.fixest(...)
   6.         └─modelsummary:::assert_dependency("lmtest")
   7.           └─checkmate::makeAssertion(library_name, res, .var.name, add)
   8.             └─checkmate:::mstop(...)
  ── Error (test-pkg-fixest.R:62:5): regression: 
            issue #450 ───────────
  Error in `get_vcov.fixest(model, vcov = vcov, conf_level = conf_level, 
      ...)`: Assertion on '"lmtest"' failed: Please install the `lmtest` package..
  Backtrace:
      ▆
   1. └─modelsummary::get_estimates(mod, vcov = "HC1") at test-pkg-fixest.R:62:4
   2.   ├─modelsummary:::get_vcov(...)
   3.   └─modelsummary:::get_vcov.fixest(...)
   4.     └─modelsummary:::assert_dependency("lmtest")
   5.       └─checkmate::makeAssertion(library_name, res, .var.name, add)
   6.         └─checkmate:::mstop(...)
  ── Failure (test-pkg-stats.R:5:5): lm F tests conform to `vcov` argument ───────
  res[res$term == "F", "Model 1"] == res[res$term == "F", "Model 3"] is not FALSE
  
  `actual`:   TRUE 
  `expected`: FALSE
  ── Failure (test-pkg-stats.R:7:5): lm F tests conform to `vcov` argument ───────
  res[res$term == "F", "Model 2"] == res[res$term == "F", "Model 3"] is not FALSE
  
  `actual`:   TRUE 
  `expected`: FALSE
  ── Failure (test-pkg-stats.R:20:5): lm & glm F tests conform to `vcov` argument ──
  res[res$term == "F", "Model 1"] == res[res$term == "F", "Model 2"] is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error (test-vcov.R:126:3): fixest ───────────────────────────────────────────
  Error in `get_vcov.fixest(model, vcov = vcov, conf_level = conf_level, 
      ...)`: Assertion on '"lmtest"' failed: Please install the `lmtest` package..
  Backtrace:
      ▆
   1. └─modelsummary::msummary(...) at test-vcov.R:126:2
   2.   └─modelsummary:::get_list_of_modelsummary_lists(...)
   3.     └─modelsummary::get_estimates(...)
   4.       ├─modelsummary:::get_vcov(...)
   5.       └─modelsummary:::get_vcov.fixest(...)
   6.         └─modelsummary:::assert_dependency("lmtest")
   7.           └─checkmate::makeAssertion(library_name, res, .var.name, add)
   8.             └─checkmate:::mstop(...)
  
  [ FAIL 11 | WARN 98 | SKIP 43 | PASS 400 ]
  Deleting unused snapshots:
  • missing.md
  • modelplot/coef-map-color-shape-background.svg
  • modelplot/coef-omit.svg
  • modelplot/multiple-plots-facet.svg
  Error: Test failures
  Execution halted