Running ‘testthat.R’ [467s/254s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(insight)
  > test_check("insight")
  Starting 2 test processes
  [ FAIL 1 | WARN 2 | SKIP 41 | PASS 3249 ]
  
  ══ Skipped tests (41) ══════════════════════════════════════════════════════════
  • On CRAN (35): 'test-GLMMadaptive.R:1:1', 'test-brms.R:1:1',
    'test-brms_aterms.R:1:1', 'test-brms_gr_random_effects.R:1:1',
    'test-blmer.R:252:3', 'test-clean_parameters.R:2: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'
  • bigglm cannot be loaded (1): 'test-model_info.R:24:3'
  • getRversion() > "4.2.2" is TRUE (1): 'test-emmeans.R:23:1'
  • works interactively (1): 'test-coxph.R:38:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-zeroinfl.R:161:3'): get_statistic ────────────────────────────
  get_statistic(m2)$Statistic (`actual`) not equal to c(1.84902, -2.97806, 1.83266, -3.32478, 0.42324, 8.38088, -0.14579) (`expected`).
  
    `actual[2:7]`: -2.978 1.833 -3.325 0.424 8.381 -0.212
  `expected[2:7]`: -2.978 1.833 -3.325 0.423 8.381 -0.146
  
  [ FAIL 1 | WARN 2 | SKIP 41 | PASS 3249 ]
  Error: Test failures
  Execution halted