Running ‘testthat.R’ [391s/222s]
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 46 | PASS 2780 ]
  
  ══ Skipped tests (46) ══════════════════════════════════════════════════════════
  • On CRAN (29): 'test-GLMMadaptive.R:1:1', 'test-brms.R:1:1',
    'test-brms_aterms.R:1:1', 'test-blmer.R:252:3', 'test-cpglmm.R:146:3',
    'test-clmm.R:168:3', 'test-export_table.R:4:3', 'test-export_table.R:8:3',
    'test-find_random.R:27:3', 'test-find_smooth.R:31: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-marginaleffects.R:1:1', 'test-mipo.R:1:1',
    'test-mvrstanarm.R:1:1', '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'
  • glmmTMB cannot be loaded (8): 'test-bigglm.R:1:1',
    'test-get_datagrid.R:159:3', 'test-glm.R:1:1', 'test-glmmTMB.R:4:1',
    'test-get_variance.R:287:3', 'test-model_data.R:3:1',
    'test-null_model.R:1:1', 'test-speedglm.R:2:1'
  • lfe cannot be loaded (1): 'test-felm.R:1:1'
  • works interactively (4): 'test-coxph.R:37:3', 'test-coxph.R:44:3',
    'test-coxph.R:61:3', 'test-fixest.R:287:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_varcov.R:10:3'): informative error in get_varcov.default ───
  Error: Unable to extract a variance-covariance matrix for model object of class
    `lmerMod`. Different values of the `vcov` argument trigger calls to the
    `sandwich` or `clubSandwich` packages in order to extract the matrix
    (see `?insight::get_varcov`). Your model or the requested estimation
    type may not be supported by one or both of those packages, or you were
    missing one or more required arguments in `vcov_args` (like `cluster`).
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-get_varcov.R:10:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─insight::get_varcov(mod, vcov = "CR0")
   5. └─insight:::get_varcov.default(mod, vcov = "CR0")
   6.   └─insight:::.get_varcov_sandwich(...)
   7.     └─insight::format_error(msg)
   8.       └─insight::format_alert(..., type = "error")
  
  [ FAIL 1 | WARN 0 | SKIP 46 | PASS 2780 ]
  Error: Test failures
  Execution halted