Running ‘testthat.R’ [91s/56s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(insight)
  > test_check("insight")
  Starting 2 test processes
  [ FAIL 16 | WARN 0 | SKIP 120 | PASS 1758 ]
  
  ══ Skipped tests (120) ═════════════════════════════════════════════════════════
  • AER cannot be loaded (3): 'test-get_data.R:46:3', 'test-ivreg_AER.R:1:1',
    'test-tobit.R:1:1'
  • BayesFactor cannot be loaded (1): 'test-model_info.R:60:3'
  • On CRAN (41): 'test-GLMMadaptive.R:1:1', 'test-averaging.R:2: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-clean_parameters.R:2:3', 'test-clean_names.R:77:1',
    'test-export_table.R:4:3', 'test-export_table.R:8:3',
    'test-format_table.R:1:1', 'test-format_table_ci.R:71:3', 'test-gam.R:1:1',
    'test-get_datagrid.R:215:3', 'test-get_data.R:387:1',
    'test-get_predicted.R:2:1', 'test-get_loglikelihood.R:65:3',
    'test-get_loglikelihood.R:130:3', 'test-get_priors.R:3:3',
    'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1', 'test-mipo.R:1:1',
    'test-mvrstanarm.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-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:152:3'
  • PROreg cannot be loaded (1): 'test-PROreg.R:2:1'
  • TMB cannot be loaded (2): 'test-glmmTMB.R:2:1', 'test-model_data.R:2:1'
  • TRUE is TRUE (1): 'test-fixest.R:2:1'
  • afex cannot be loaded (1): 'test-afex_aov.R:1:1'
  • bife cannot be loaded (1): 'test-bife.R:1:1'
  • bigglm cannot be loaded (1): 'test-model_info.R:24:3'
  • blme cannot be loaded (1): 'test-blmer.R:1:1'
  • censReg cannot be loaded (1): 'test-censReg.R:1:1'
  • cgam cannot be loaded (1): 'test-cgam.R:1:1'
  • cplm cannot be loaded (1): 'test-cpglmm.R:2:1'
  • crch cannot be loaded (1): 'test-crch.R:1:1'
  • epiR cannot be loaded (1): 'test-epiR.R:3:1'
  • estimatr cannot be loaded (5): 'test-get_modelmatrix.R:84:3',
    'test-get_predicted-iv.R:1:1', 'test-get_loglikelihood.R:163:3',
    'test-iv_robust.R:1:1', 'test-lm_robust.R:1:1'
  • gamm4 cannot be loaded (5): 'test-find_random.R:2:1',
    'test-find_smooth.R:2:1', 'test-gamm4.R:1:1', 'test-get_datagrid.R:156:3',
    'test-get_loglikelihood.R:184:3'
  • glmmTMB cannot be loaded (5): 'test-bigglm.R:1:1', 'test-glm.R:1:1',
    'test-model_info.R:37:3', 'test-null_model.R:1:1', 'test-speedglm.R:2:1'
  • glmtoolbox cannot be loaded (1): 'test-glmgee.R:1:1'
  • ivreg cannot be loaded (4): 'test-get_modelmatrix.R:38:3',
    'test-get_modelmatrix.R:61:3', 'test-get_loglikelihood.R:141:3',
    'test-ivreg.R:1:1'
  • lme4 cannot be loaded (23): 'test-all_models_equal.R:1:1', 'test-clmm.R:1:1',
    'test-coxme.R:2:1', 'test-ellipses_info.R:70:1',
    'test-find_predictor_nested_re.R:1:1', 'test-find_terms.R:1:1',
    'test-find_weights.R:1:1', 'test-get_data.R:80:3', 'test-get_random.R:2:1',
    'test-get_residuals.R:1:1', 'test-get_variance.R:1:1',
    'test-get_weights.R:1:1', 'test-get_varcov.R:5:3',
    'test-has_intercept.R:1:1', 'test-is_converged.R:1:1',
    'test-is_nullmodel.R:1:1', 'test-lme.R:2:1', 'test-lmer.R:1:1',
    'test-model_info.R:51:3', 'test-n_grouplevels.R:1:1', 'test-nlmer.R:1:1',
    'test-proportion_response.R:1:1', 'test-response_data2.R:1:1'
  • logistf cannot be loaded (1): 'test-logistf.R:2:1'
  • marginaleffects cannot be loaded (1): 'test-get_datagrid.R:260:3'
  • metaBMA cannot be loaded (1): 'test-metaBMA.R:1:1'
  • metaplus cannot be loaded (1): 'test-metaplus.R:1:1'
  • mmrm cannot be loaded (1): 'test-mmrm.R:1:1'
  • multgee cannot be loaded (1): 'test-LORgee.R:1:1'
  • nestedLogit cannot be loaded (1): 'test-nestedLogit.R:1:1'
  • panelr cannot be loaded (1): 'test-panelr.R:1:1'
  • plm cannot be loaded (3): 'test-feis.R:1:1',
    'test-get_loglikelihood.R:150:3', 'test-plm.R:1:1'
  • robustlmm cannot be loaded (1): 'test-rlmer.R:1:1'
  • rstanarm cannot be loaded (2): 'test-check_if_installed.R:4:3',
    'test-get_deviance.R:1:1'
  • survey cannot be loaded (1): 'test-survey.R:1:1'
  • works interactively (1): 'test-coxph.R:38:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-ggeffects.R:13:3'): get_parameters, hypothesis_test ──────────
  Names of `param` ('Species', 'Estimate') don't match 'Sepal.Length', 'Species', 'Estimate'
  ── Failure ('test-ggeffects.R:14:3'): get_parameters, hypothesis_test ──────────
  param$Sepal.Length (`actual`) not identical to c("slope", "slope", "slope") (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('slope', 'slope', 'slope')
  ── Failure ('test-ggeffects.R:18:3'): get_parameters, hypothesis_test ──────────
  param$Species (`actual`) not identical to structure(...) (`expected`).
  
  `actual` is a character vector ('setosa effect', 'versicolor effect', 'virginica effect')
  `expected` is an S3 object of class <factor>, an integer vector
  ── Failure ('test-ggeffects.R:22:3'): get_parameters, hypothesis_test ──────────
  param$Estimate (`actual`) not equal to c(0.79853, 0.31972, 0.23189) (`expected`).
  
    `actual`: 0.3 -0.1 -0.2
  `expected`: 0.8  0.3  0.2
  ── Failure ('test-ggeffects.R:30:3'): get_parameters, hypothesis_test ──────────
  param$Parameter (`actual`) not identical to c(...) (`expected`).
  
      actual              | expected                                        
  [1] "setosa effect"     - "Sepal.Length [slope], Species [setosa]"     [1]
  [2] "versicolor effect" - "Sepal.Length [slope], Species [versicolor]" [2]
  [3] "virginica effect"  - "Sepal.Length [slope], Species [virginica]"  [3]
  ── Failure ('test-ggeffects.R:37:3'): get_parameters, hypothesis_test ──────────
  param$Estimate (`actual`) not equal to c(0.79853, 0.31972, 0.23189) (`expected`).
  
    `actual`: 0.3 -0.1 -0.2
  `expected`: 0.8  0.3  0.2
  ── Failure ('test-ggeffects.R:46:3'): get_parameters, hypothesis_test ──────────
  Names of `param` ('Species', 'Estimate') don't match 'Sepal.Length', 'Species', 'Estimate'
  ── Failure ('test-ggeffects.R:47:3'): get_parameters, hypothesis_test ──────────
  param$Sepal.Length (`actual`) not identical to c("slope", "slope", "slope") (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('slope', 'slope', 'slope')
  ── Failure ('test-ggeffects.R:72:3'): get_statistic, hypothesis_test ───────────
  Names of `param` ('Species', 'Statistic') don't match 'Sepal.Length', 'Species', 'Statistic'
  ── Failure ('test-ggeffects.R:73:3'): get_statistic, hypothesis_test ───────────
  param$Sepal.Length (`actual`) not identical to c("slope", "slope", "slope") (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('slope', 'slope', 'slope')
  ── Failure ('test-ggeffects.R:77:3'): get_statistic, hypothesis_test ───────────
  param$Species (`actual`) not identical to structure(...) (`expected`).
  
  `actual` is a character vector ('setosa effect', 'versicolor effect', 'virginica effect')
  `expected` is an S3 object of class <factor>, an integer vector
  ── Failure ('test-ggeffects.R:81:3'): get_statistic, hypothesis_test ───────────
  param$Statistic (`actual`) not equal to c(7.23551, 4.24211, 3.79015) (`expected`).
  
    `actual`: 4 -2 -4
  `expected`: 7  4  4
  ── Failure ('test-ggeffects.R:89:3'): get_statistic, hypothesis_test ───────────
  param$Parameter (`actual`) not identical to c(...) (`expected`).
  
      actual              | expected                                        
  [1] "setosa effect"     - "Sepal.Length [slope], Species [setosa]"     [1]
  [2] "versicolor effect" - "Sepal.Length [slope], Species [versicolor]" [2]
  [3] "virginica effect"  - "Sepal.Length [slope], Species [virginica]"  [3]
  ── Failure ('test-ggeffects.R:96:3'): get_statistic, hypothesis_test ───────────
  param$Statistic (`actual`) not equal to c(7.23551, 4.24211, 3.79015) (`expected`).
  
    `actual`: 4 -2 -4
  `expected`: 7  4  4
  ── Failure ('test-ggeffects.R:105:3'): get_statistic, hypothesis_test ──────────
  Names of `param` ('Species', 'Statistic') don't match 'Sepal.Length', 'Species', 'Statistic'
  ── Failure ('test-ggeffects.R:106:3'): get_statistic, hypothesis_test ──────────
  param$Sepal.Length (`actual`) not identical to c("slope", "slope", "slope") (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('slope', 'slope', 'slope')
  
  [ FAIL 16 | WARN 0 | SKIP 120 | PASS 1758 ]
  Error: Test failures
  Execution halted