Running ‘testthat.R’ [212s/111s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(insight)
  > test_check("insight")
  Starting 2 test processes
  [ FAIL 2 | WARN 0 | SKIP 72 | PASS 3413 ]
  
  ══ Skipped tests (72) ══════════════════════════════════════════════════════════
  • On CRAN (64): 'test-GLMMadaptive.R:1:1', 'test-averaging.R:3: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_von_mises.R:1:1', 'test-blmer.R:249:3',
    'test-clean_names.R:103:3', 'test-clean_parameters.R:2:3',
    'test-clean_parameters.R:35:3', 'test-clmm.R:165:3', 'test-cpglmm.R:145: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:193:3',
    'test-export_table.R:205:3', 'test-export_table.R:233:3',
    'test-find_random.R:27:3', 'test-format_table.R:1:1',
    'test-format_table_ci.R:71:3', 'test-gam.R:1:1', 'test-find_smooth.R:31:3',
    'test-get_data.R:385:1', 'test-get_loglikelihood.R:93:3',
    'test-get_loglikelihood.R:158:3', 'test-get_predicted.R:2:1',
    'test-get_priors.R:3:3', 'test-get_varcov.R:40:3',
    'test-is_converged.R:28:1', 'test-lme.R:34:3', 'test-lme.R:210:3',
    'test-glmmTMB.R:71:3', 'test-glmmTMB.R:755:3', 'test-glmmTMB.R:787:3',
    'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1', 'test-mipo.R:1:1',
    'test-mvrstanarm.R:1:1', 'test-panelr-asym.R:142:3', 'test-panelr.R:272:3',
    'test-phylolm.R:5: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-spatial.R:1:1', 'test-svylme.R:1:1', 'test-vgam.R:1:1',
    'test-weightit.R:1:1'
  • On Linux (3): 'test-BayesFactorBF.R:1:1', 'test-MCMCglmm.R:1:1',
    'test-get_data.R:150:3'
  • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:4:1'
  • TRUE is TRUE (1): 'test-fixest.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'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ggeffects.R:7:3'): get_parameters, hypothesis_test ─────────────
  Error: Please specify the `by` argument to calculate contrasts of slopes.
  Backtrace:
      ▆
   1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:7:3
   2. └─ggeffects:::test_predictions.ggeffects(...)
   3.   ├─base::do.call(test_predictions.default, c(my_args, dot_args))
   4.   └─ggeffects (local) `<fn>`(...)
   5.     ├─modelbased::estimate_contrasts(...)
   6.     └─modelbased:::estimate_contrasts.default(...)
   7.       └─modelbased::get_marginalcontrasts(...)
   8.         └─insight::format_error("Please specify the `by` argument to calculate contrasts of slopes.")
   9.           └─insight::format_alert(..., type = "error")
  ── Error ('test-ggeffects.R:66:3'): get_statistic, hypothesis_test ─────────────
  Error: Please specify the `by` argument to calculate contrasts of slopes.
  Backtrace:
      ▆
   1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:66:3
   2. └─ggeffects:::test_predictions.ggeffects(...)
   3.   ├─base::do.call(test_predictions.default, c(my_args, dot_args))
   4.   └─ggeffects (local) `<fn>`(...)
   5.     ├─modelbased::estimate_contrasts(...)
   6.     └─modelbased:::estimate_contrasts.default(...)
   7.       └─modelbased::get_marginalcontrasts(...)
   8.         └─insight::format_error("Please specify the `by` argument to calculate contrasts of slopes.")
   9.           └─insight::format_alert(..., type = "error")
  
  [ FAIL 2 | WARN 0 | SKIP 72 | PASS 3413 ]
  Error: Test failures
  Execution halted