Running ‘testthat.R’ [492s/272s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(insight)
  > test_check("insight")
  Starting 2 test processes
  [ FAIL 1 | WARN 0 | SKIP 41 | PASS 3153 ]
  
  ══ Skipped tests (41) ══════════════════════════════════════════════════════════
  • On CRAN (33): 'test-GLMMadaptive.R:1:1', 'test-brms.R:1:1',
    'test-brms_aterms.R:1:1', 'test-blmer.R:252:3', 'test-clmm.R:168:3',
    'test-cpglmm.R:146:3', 'test-export_table.R:4:3', 'test-export_table.R:8:3',
    'test-find_random.R:27:3', 'test-format_table.R:1:1',
    'test-format_table_ci.R:59:3', 'test-gam.R:1:1', 'test-find_smooth.R:31:3',
    'test-get_data.R:370:1', 'test-get_loglikelihood.R:65:3',
    'test-get_loglikelihood.R:108:3', 'test-get_predicted.R:2:1',
    'test-get_priors.R:3:3', 'test-is_converged.R:29:1', 'test-lme.R:34:3',
    'test-lme.R:210:3', 'test-glmmTMB.R:72:3', 'test-glmmTMB.R:756:3',
    'test-glmmTMB.R:788:3', 'test-marginaleffects.R:1:1', 'test-mipo.R:1:1',
    'test-mvrstanarm.R:1:1', 'test-panelr.R:267:3', 'test-rlmer.R:268:3',
    'test-rqss.R:1:1', 'test-rstanarm.R:1:1', 'test-spatial.R:1:1',
    'test-vgam.R:1:1'
  • On Linux (2): 'test-MCMCglmm.R:1:1', 'test-get_data.R:152:3'
  • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:5:1'
  • getRversion() > "4.2.2" is TRUE (1): 'test-emmeans.R:23:1'
  • works interactively (4): 'test-coxph.R:37:3', 'test-coxph.R:44:3',
    'test-coxph.R:61:3', 'test-fixest.R:303:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_variance.R:299:5'): fixed effects variance for rank-deficient models, #765 ──
  Error in `glmmTMB(z ~ x1 + x2 + x3 + x4 + (1 | re), data = dd, control = glmmTMBControl(rank_check = "adjust"))`: could not find function "glmmTMB"
  Backtrace:
      ▆
   1. └─testthat::expect_message(...) at test-get_variance.R:298:2
   2.   └─testthat:::expect_condition_matching(...)
   3.     └─testthat:::quasi_capture(...)
   4.       ├─testthat (local) .capture(...)
   5.       │ └─base::withCallingHandlers(...)
   6.       └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
  
  [ FAIL 1 | WARN 0 | SKIP 41 | PASS 3153 ]
  Error: Test failures
  Execution halted