Running ‘testthat.R’ [88s/48s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(parameters)
  > library(testthat)
  > 
  > test_check("parameters")
  Starting 2 test processes
  [ FAIL 8 | WARN 4 | SKIP 125 | PASS 684 ]
  
  ══ Skipped tests (125) ═════════════════════════════════════════════════════════
  • On CRAN (111): 'test-GLMMadaptive.R:1:1', 'test-averaging.R:1:1',
    'test-backticks.R:1:1', 'test-bootstrap_emmeans.R:1:1',
    'test-bootstrap_parameters.R:1:1', 'test-brms.R:1:1',
    'test-compare_parameters.R:91:7', 'test-compare_parameters.R:95:5',
    'test-complete_separation.R:14:5', 'test-complete_separation.R:24:5',
    'test-complete_separation.R:35:5', 'test-coxph.R:79:5', 'test-efa.R:1:1',
    'test-emmGrid-df_colname.R:1:1', 'test-equivalence_test.R:10:3',
    'test-equivalence_test.R:18:3', 'test-equivalence_test.R:82:3',
    'test-factor_analysis.R:2:3', 'test-factor_analysis.R:124:3',
    'test-format_model_parameters2.R:2:3', 'test-gam.R:30:1',
    'test-get_scores.R:1:1', 'test-glmer.R:1:1', 'test-glmmTMB-2.R:1:1',
    'test-glmmTMB-profile_CI.R:2:3', 'test-glmmTMB.R:8:1', 'test-helper.R:1:1',
    'test-ivreg.R:54:3', 'test-include_reference.R:16:3',
    'test-include_reference.R:69:3', 'test-lmerTest.R:1:1', 'test-mipo.R:19:3',
    'test-mipo.R:33:3', 'test-mmrm.R:1:1',
    'test-model_parameters.BFBayesFactor.R:4:3',
    'test-model_parameters.BFBayesFactor.R:77:3',
    'test-model_parameters.BFBayesFactor.R:114:3',
    'test-model_parameters.anova.R:1:1', 'test-marginaleffects.R:131:3',
    'test-marginaleffects.R:154:3', 'test-marginaleffects.R:173:3',
    'test-model_parameters.aov.R:1:1', 'test-model_parameters.bracl.R:5:1',
    'test-model_parameters.cgam.R:1:1', 'test-model_parameters.coxme.R:1:1',
    'test-model_parameters.aov_es_ci.R:158:3',
    'test-model_parameters.aov_es_ci.R:269:3',
    'test-model_parameters.aov_es_ci.R:319:3',
    'test-model_parameters.aov_es_ci.R:372:3',
    'test-model_parameters.epi2x2.R:1:1',
    'test-model_parameters.fixest_multi.R:3:1',
    'test-model_parameters.fixest.R:2:3', 'test-model_parameters.fixest.R:77:3',
    'test-model_parameters.fixest.R:147:5', 'test-model_parameters.glmgee.R:1:1',
    'test-model_parameters.logistf.R:1:1', 'test-model_parameters.logitr.R:1:1',
    'test-model_parameters.glm.R:40:3', 'test-model_parameters.glm.R:76:3',
    'test-model_parameters.mclogit.R:5:1',
    'test-model_parameters.mediate.R:32:3', 'test-model_parameters.mixed.R:2:1',
    'test-model_parameters.nnet.R:5:1', 'test-model_parameters_df.R:1:1',
    'test-model_parameters.vgam.R:3:1', 'test-model_parameters_ordinal.R:1:1',
    'test-model_parameters_random_pars.R:1:1', 'test-model_parameters_std.R:1:1',
    'test-model_parameters_std_mixed.R:3:1', 'test-n_factors.R:10:3',
    'test-n_factors.R:26:3', 'test-n_factors.R:76:3', 'test-p_adjust.R:1:1',
    'test-p_direction.R:1:1', 'test-p_significance.R:1:1', 'test-p_value.R:14:1',
    'test-panelr.R:1:1', 'test-pipe.R:1:1', 'test-pca.R:66:3', 'test-polr.R:2:1',
    'test-plm.R:111:3', 'test-posterior.R:2:1', 'test-pool_parameters.R:11:3',
    'test-pool_parameters.R:32:1', 'test-print_AER_labels.R:11:5',
    'test-printing-stan.R:2:1', 'test-printing.R:1:1',
    'test-pretty_names.R:65:5', 'test-pretty_names.R:82:7',
    'test-quantreg.R:1:1', 'test-printing2.R:15:7', 'test-printing2.R:22:7',
    'test-printing2.R:27:7', 'test-printing2.R:32:7', 'test-printing2.R:37:7',
    'test-printing2.R:49:7', 'test-printing2.R:91:7', 'test-printing2.R:127:7',
    'test-robust.R:2:1', 'test-serp.R:16:5', 'test-svylme.R:1:1',
    'test-visualisation_recipe.R:7:3', 'test-wrs2.R:58:3',
    'test-standardize_parameters.R:31:3', 'test-standardize_parameters.R:36:3',
    'test-standardize_parameters.R:61:3', 'test-standardize_parameters.R:173:3',
    'test-standardize_parameters.R:298:3', 'test-standardize_parameters.R:333:3',
    'test-standardize_parameters.R:426:3', 'test-standardize_parameters.R:516:3'
  • On Mac (9): 'test-group_level_total.R:1:1', 'test-nestedLogit.R:78:3',
    'test-random_effects_ci-glmmTMB.R:3:1', 'test-random_effects_ci.R:1:1',
    'test-rstanarm.R:1:1', 'test-sampleSelection.R:1:1',
    'test-simulate_model.R:1:1', 'test-simulate_parameters.R:1:1',
    'test-weightit.R:1:1'
  • TODO: fix this test (1): 'test-model_parameters.lqmm.R:40:3'
  • TODO: this one actually is not correct. (1):
    'test-model_parameters_robust.R:127:3'
  • empty test (2): 'test-wrs2.R:69:1', 'test-wrs2.R:81:1'
  • getRversion() < "4.5" is TRUE (1): 'test-include_reference.R:112:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-compare_parameters.R:30:7'): compare_parameters, default ─────
  colnames(out) (`actual`) not identical to c("Parameter", "m1", "m2", "m3") (`expected`).
  
  `actual`:   "Parameter" "m1" "m2" "Log-Mean (CI) (m3)" "Log-Mean (m3)"
  `expected`: "Parameter" "m1" "m2" "m3"                                
  ── Failure ('test-compare_parameters.R:58:7'): compare_parameters, se_p2 ───────
  colnames(out) (`actual`) not identical to c(...) (`expected`).
  
  `actual[5:8]`:   "p (m2)" "Log-Mean (SE) (m3)" "p (m3)" "Log-Mean (m3)"
  `expected[5:7]`: "p (m2)" "Log-Mean (SE) (m3)" "p (m3)"                
  ── Failure ('test-compare_parameters.R:83:7'): compare_parameters, column name with escaping regex characters ──
  out[1] (`actual`) not identical to "Parameter    |    linear model (m1) |   logistic reg. (m2)" (`expected`).
  
  actual vs expected
  - "Parameter    |    linear model (m1) | Log-Odds (CI) (logistic reg. (m2)) | Log-Odds (logistic reg. (m2))"
  + "Parameter    |    linear model (m1) |   logistic reg. (m2)"
  ── Error ('test-format_model_parameters.R:190:3'): format, compare_parameters, mixed models ──
  Error: 'get_mixed_info' is not an exported object from 'namespace:insight'
  Backtrace:
       ▆
    1. └─parameters::compare_parameters(...) at test-format_model_parameters.R:190:3
    2.   └─base::lapply(...)
    3.     └─parameters (local) FUN(X[[i]], ...)
    4.       ├─parameters::model_parameters(...)
    5.       └─parameters:::model_parameters.merMod(...)
    6.         └─parameters:::.add_random_effects_lme4(...)
    7.           ├─parameters:::.extract_random_variances(...)
    8.           └─parameters:::.extract_random_variances.default(...)
    9.             ├─base::suppressWarnings(...)
   10.             │ └─base::withCallingHandlers(...)
   11.             └─parameters:::.extract_random_variances_helper(...)
  ── Failure ('test-marginaleffects.R:52:3'): predictions() ──────────────────────
  Names of `out` ('Predicted', 'SE', 'CI', 'CI_low', 'CI_high', 'S', 'Statistic', 'df', 'p', 'Species') don't match 'Predicted', 'Species', 'SE', 'CI', 'CI_low', 'CI_high', 'S', 'Statistic', 'df', 'p'
  ── Error ('test-model_parameters.blmerMod.R:19:3'): model_parameters.blmerMod-all ──
  Error: 'get_mixed_info' is not an exported object from 'namespace:insight'
  Backtrace:
      ▆
   1. ├─parameters::model_parameters(model, effects = "all") at test-model_parameters.blmerMod.R:19:3
   2. └─parameters:::model_parameters.merMod(model, effects = "all")
   3.   └─parameters:::.add_random_effects_lme4(...)
   4.     ├─parameters:::.extract_random_variances(...)
   5.     └─parameters:::.extract_random_variances.default(...)
   6.       ├─base::suppressWarnings(...)
   7.       │ └─base::withCallingHandlers(...)
   8.       └─parameters:::.extract_random_variances_helper(...)
  ── Error ('test-model_parameters_labels.R:13:7'): model_parameters_labels ──────
  Error: 'get_mixed_info' is not an exported object from 'namespace:insight'
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-model_parameters_labels.R:13:7
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─parameters::model_parameters(m1)
    5. └─parameters:::model_parameters.merMod(m1)
    6.   └─parameters:::.add_random_effects_lme4(...)
    7.     ├─parameters:::.extract_random_variances(...)
    8.     └─parameters:::.extract_random_variances.default(...)
    9.       ├─base::suppressWarnings(...)
   10.       │ └─base::withCallingHandlers(...)
   11.       └─parameters:::.extract_random_variances_helper(...)
  ── Error ('test-model_parameters_labels.R:119:7'): Issue #806: Missing label for variance component in lme4 ──
  Error: 'get_mixed_info' is not an exported object from 'namespace:insight'
  Backtrace:
      ▆
   1. ├─parameters::parameters(mod, pretty_names = "labels") at test-model_parameters_labels.R:119:7
   2. └─parameters:::model_parameters.merMod(mod, pretty_names = "labels")
   3.   └─parameters:::.add_random_effects_lme4(...)
   4.     ├─parameters:::.extract_random_variances(...)
   5.     └─parameters:::.extract_random_variances.default(...)
   6.       ├─base::suppressWarnings(...)
   7.       │ └─base::withCallingHandlers(...)
   8.       └─parameters:::.extract_random_variances_helper(...)
  
  [ FAIL 8 | WARN 4 | SKIP 125 | PASS 684 ]
  Error: Test failures
  Execution halted