Running ‘testthat.R’ [117s/67s]
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 93 | PASS 3209 ]
  
  ══ Skipped tests (93) ══════════════════════════════════════════════════════════
  • Installed parameters is version 0.27.0; but 0.27.0.1 is required (1):
    'test-export_table.R:231:3'
  • On CRAN (70): 'test-GLMMadaptive.R:2:1', 'test-averaging.R:3:1',
    'test-bias_correction.R:1:1', 'test-brms.R:1:1', 'test-brms_aterms.R:1:1',
    'test-brms_gr_random_effects.R:1:1', 'test-brms_missing.R:1:1',
    'test-brms_mm.R:1:1', 'test-blmer.R:249:3', 'test-brms_von_mises.R:1:1',
    'test-clean_parameters.R:1:1', 'test-clean_names.R:103:3',
    'test-coxme.R:7:1', 'test-clmm.R:165:3', 'test-cpglmm.R:145:3',
    'test-display.R:10:3', 'test-display.R:32:3', 'test-export_table.R:4:3',
    'test-export_table.R:8:3', 'test-export_table.R:106:3',
    'test-export_table.R:133:3', 'test-export_table.R:164:3',
    'test-export_table.R:192:3', 'test-export_table.R:204:3',
    'test-export_table.R:292:3', 'test-export_table.R:309:3',
    'test-export_table.R:372:3', 'test-find_random.R:27:3',
    'test-find_smooth.R:31:3', 'test-format_table.R:2:1',
    'test-format_table_ci.R:71:3', 'test-gam.R:2:1',
    'test-get_loglikelihood.R:94:3', 'test-get_loglikelihood.R:159:3',
    'test-get_datagrid.R:692:3', 'test-get_varcov.R:40:3',
    'test-iv_robust.R:120:3', 'test-lavaan.R:1:1', 'test-lme.R:34:3',
    'test-lme.R:210:3', 'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1',
    'test-mipo.R:1:1', 'test-mlogit.R:2:1', 'test-model_info.R:110:3',
    'test-mvrstanarm.R:1:1', 'test-panelr-asym.R:142:3', 'test-panelr.R:272:3',
    'test-phylolm.R:5:1', 'test-print_parameters.R:1:1',
    'test-r2_nakagawa_bernoulli.R:1:1', 'test-r2_nakagawa_beta.R:1:1',
    'test-r2_nakagawa_binomial.R:1:1', 'test-r2_nakagawa_gamma.R:1:1',
    'test-r2_nakagawa_linear.R:1:1', 'test-r2_nakagawa_negbin.R:1:1',
    'test-r2_nakagawa_negbin_zi.R:1:1', 'test-r2_nakagawa_ordered_beta.R:1:1',
    'test-r2_nakagawa_poisson.R:1:1', 'test-r2_nakagawa_poisson_zi.R:1:1',
    'test-r2_nakagawa_truncated_poisson.R:1:1', 'test-r2_nakagawa_tweedie.R:1:1',
    'test-rlmer.R:259:3', 'test-rqss.R:1:1', 'test-rstanarm.R:1:1',
    'test-sdmTMB.R:1:1', 'test-spatial.R:2:1', 'test-svylme.R:1:1',
    'test-vgam.R:2:1', 'test-weightit.R:1:1'
  • On Mac (14): 'test-MCMCglmm.R:1:1', 'test-epiR.R:1:1', 'test-get_data.R:1:1',
    'test-get_datagrid.R:248:3', 'test-get_predicted.R:1:1',
    'test-get_priors.R:2:3', 'test-get_priors.R:17:3', 'test-get_random.R:1:1',
    'test-glmmTMB.R:1:1', 'test-is_converged.R:27:1', 'test-model_data.R:26:1',
    'test-null_model.R:14:1', 'test-selection.R:1:1', 'test-vglm.R:1:1'
  • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:4:1'
  • TRUE is TRUE (1): 'test-fixest.R:2:1'
  • getRversion() < "4.5.0" is TRUE (2): 'test-aov.R:2:3', 'test-dbart.R:2:1'
  • works interactively (2): 'test-coxph-panel.R:34:3', 'test-coxph.R:38:3'
  • {bigglm} is not installed (1): 'test-model_info.R:24:3'
  • {rstanarm} cannot be loaded (1): 'test-check_if_installed.R:4:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-betareg.R:200:5'): get_predicted ───────────────────────────────
  Error in `FUN(X[[i]], ...)`: REAL() can only be applied to a 'numeric', not a 'logical'
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(get_predicted(mp3)) at test-betareg.R:200:5
   2. │ └─base::withCallingHandlers(...)
   3. ├─insight::get_predicted(mp3)
   4. └─insight:::get_predicted.default(mp3)
   5.   └─insight:::.get_predicted_transform(...)
   6.     └─base::lapply(ci_data[!se_col], link_inv)
   7.       └─stats (local) FUN(X[[i]], ...)
  
  [ FAIL 1 | WARN 0 | SKIP 93 | PASS 3209 ]
  Error: Test failures
  Execution halted