Running ‘testthat.R’ [355s/219s]
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 45 | PASS 3114 ]
  
  ══ Skipped tests (45) ══════════════════════════════════════════════════════════
  • Installed glmmTMB is version 1.1.7; but 1.1.8 is required (1):
    'test-get_variance.R:287:3'
  • On CRAN (31): '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-format_table.R:1:1', 'test-format_table_ci.R:59:3', 'test-gam.R:1:1',
    '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'
  • rstanarm cannot be loaded (5): 'test-check_if_installed.R:4:3',
    'test-find_random.R:3:1', 'test-find_smooth.R:3:1',
    'test-get_datagrid.R:161:3', 'test-get_deviance.R:1: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-find_weights.R:13:3'): find_weights ────────────────────────────
  Error in `mkRespMod(fr, REML = REMLpass)`: all(weights >= 0) is not TRUE
  Backtrace:
      ▆
   1. └─lme4::lmer(...) at test-find_weights.R:13:2
   2.   ├─base::do.call(...)
   3.   └─lme4 (local) `<fn>`(...)
   4.     └─lme4::mkRespMod(fr, REML = REMLpass)
   5.       └─base::stopifnot(length(weights) == n, all(weights >= 0))
  
  [ FAIL 1 | WARN 0 | SKIP 45 | PASS 3114 ]
  Error: Test failures
  Execution halted