Running ‘testthat.R’ [340s/297s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(parameters)
  > library(testthat)
  > 
  > test_check("parameters")
  Starting 2 test processes
  [ FAIL 22 | WARN 35 | SKIP 120 | PASS 653 ]
  
  ══ Skipped tests (120) ═════════════════════════════════════════════════════════
  • On CRAN (108): '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-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-group_level_total.R:2:1', 'test-helper.R:1:1', 'test-ivreg.R:54:3',
    'test-include_reference.R:15:3', 'test-include_reference.R:67:3',
    'test-lmerTest.R:1:1', 'test-mipo.R:19:3', 'test-mipo.R:33:3',
    'test-mmrm.R:1:1', 'test-model_parameters.anova.R:1:1',
    'test-model_parameters.aov.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.bracl.R:5:1', 'test-marginaleffects.R:112:3',
    'test-model_parameters.cgam.R:1:1', 'test-model_parameters.coxme.R:1:1',
    '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.ggeffects.R:12:3',
    'test-model_parameters.glmgee.R:1:1', 'test-model_parameters.glm.R:40:3',
    'test-model_parameters.glm.R:68:3', 'test-model_parameters.logistf.R:1:1',
    'test-model_parameters.logitr.R:1:1', '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.vgam.R:3:1',
    'test-model_parameters_df.R:1: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-quantreg.R:1:1',
    'test-random_effects_ci.R:4:1', 'test-robust.R:2:1', 'test-rstanarm.R:3:1',
    'test-serp.R:16:5', '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-svylme.R:1:1', 'test-visualisation_recipe.R:7:3',
    'test-weightit.R:23:3', 'test-weightit.R:43: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:332:3',
    'test-standardize_parameters.R:425:3', 'test-standardize_parameters.R:515:3'
  • On Linux (5): 'test-model_parameters.BFBayesFactor.R:1:1',
    'test-nestedLogit.R:78:3', 'test-random_effects_ci-glmmTMB.R:3:1',
    'test-simulate_model.R:1:1', 'test-simulate_parameters.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 (5): 'test-wrs2.R:8:1', 'test-wrs2.R:18:1', 'test-wrs2.R:30:1',
    'test-wrs2.R:43:1', 'test-wrs2.R:55:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-ci.R:12:3'): ci ──────────────────────────────────────────────
  suppressMessages(ci(model, method = "normal"))[1, 3] (`actual`) not equal to -0.335063 (`expected`).
  
    `actual`: -0.46
  `expected`: -0.34
  ── Failure ('test-ci.R:15:3'): ci ──────────────────────────────────────────────
  ci(model)[1, 3] (`actual`) not equal to -0.3795646 (`expected`).
  
    `actual`: -0.51
  `expected`: -0.38
  ── Failure ('test-ci.R:19:3'): ci ──────────────────────────────────────────────
  `val` (`actual`) not equal to -0.555424 (`expected`).
  
    `actual`: -0.593
  `expected`: -0.555
  ── Failure ('test-model_parameters.blmerMod.R:10:3'): model_parameters.blmerMod ──
  params$SE (`actual`) not equal to c(6.8246, 1.54579) (`expected`).
  
    `actual`: 6.66 5.78
  `expected`: 6.82 1.55
  ── Failure ('test-model_parameters.blmerMod.R:20:3'): model_parameters.blmerMod-all ──
  params$SE (`actual`) not equal to c(6.8246, 1.54579, 5.83626, 1.24804, 0.31859, 1.50801) (`expected`).
  
    `actual`: 6.66 5.78   NA   NA   NA   NA
  `expected`: 6.82 1.55 5.84 1.25 0.32 1.51
  ── Failure ('test-model_parameters.blmerMod.R:21:3'): model_parameters.blmerMod-all ──
  params$Coefficient (`actual`) not equal to c(251.4051, 10.46729, 24.74066, 5.92214, 0.06555, 25.5918) (`expected`).
  
    `actual`: 251.4051 10.4673 24.3587 24.3587 0.0000 24.3587
  `expected`: 251.4051 10.4673 24.7407  5.9221 0.0655 25.5918
  ── Failure ('test-model_parameters_df_method.R:16:3'): model_parameters, ci_method default (residual) ──
  mp0$SE (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 3.7352 4.3554 3.6616 0.0201 1.5764 0.8709 0.0373 0.0174
  `expected`: 2.7746 3.6957 3.5210 0.0157 1.5851 0.8632 0.0297 0.0167
  ── Failure ('test-model_parameters_df_method.R:31:3'): model_parameters, ci_method default (residual) ──
  mp0$p (`actual`) not equal to c(0, 0.00258, 0.14297, 0.17095, 0.84778, 0.00578, 0.00151, 0.32653) (`expected`).
  
    `actual`: 0.0000 0.0127 0.2125 0.4124 0.8151 0.0077 0.0107 0.3555
  `expected`: 0.0000 0.0026 0.1430 0.1709 0.8478 0.0058 0.0015 0.3265
  ── Failure ('test-model_parameters_df_method.R:45:3'): model_parameters, ci_method default (residual) ──
  mp0$CI_low (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 21.7702 2.7847 -2.8922 -0.0584 -2.8962 -4.3616 -0.1816 -0.0524
  `expected`: 24.5472 4.8970 -1.9532 -0.0549 -2.9795 -4.4285 -0.1693 -0.0513
  ── Failure ('test-model_parameters_df_method.R:62:3'): model_parameters, ci_method normal ──
  mp1$SE (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 3.7352 4.3554 3.6616 0.0201 1.5764 0.8709 0.0373 0.0174
  `expected`: 2.7746 3.6957 3.5210 0.0157 1.5851 0.8632 0.0297 0.0167
  ── Failure ('test-model_parameters_df_method.R:81:3'): model_parameters, ci_method normal ──
  mp1$p (`actual`) not equal to c(0, 0.00068, 0.12872, 0.15695, 0.846, 0.00224, 0.00029, 0.31562) (`expected`).
  
    `actual`: 0.0000 0.0067 0.1991 0.4034 0.8129 0.0033 0.0053 0.3453
  `expected`: 0.0000 0.0007 0.1287 0.1570 0.8460 0.0022 0.0003 0.3156
  ── Failure ('test-model_parameters_df_method.R:86:3'): model_parameters, ci_method normal ──
  mp1$CI_low (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 22.1956 3.2808 -2.4751 -0.0561 -2.7166 -4.2624 -0.1774 -0.0504
  `expected`: 24.8633 5.3180 -1.5521 -0.0531 -2.7989 -4.3301 -0.1659 -0.0494
  ── Failure ('test-model_parameters_df_method.R:103:3'): model_parameters, ci_method satterthwaite ──
  mp2$SE (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 3.7352 4.3554 3.6616 0.0201 1.5764 0.8709 0.0373 0.0174
  `expected`: 2.7746 3.6957 3.5210 0.0157 1.5851 0.8632 0.0297 0.0167
  ── Failure ('test-model_parameters_df_method.R:118:3'): model_parameters, ci_method satterthwaite ──
  mp2$p (`actual`) not equal to c(0, 0.00236, 0.14179, 0.16979, 0.84763, 0.00542, 0.00136, 0.32563) (`expected`).
  
    `actual`: 0.0000 0.0121 0.2114 0.4117 0.8149 0.0072 0.0101 0.3547
  `expected`: 0.0000 0.0024 0.1418 0.1698 0.8476 0.0054 0.0014 0.3256
  ── Failure ('test-model_parameters_df_method.R:132:3'): model_parameters, ci_method satterthwaite ──
  mp2$CI_low (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 21.8060 2.8281 -2.8557 -0.0582 -2.8804 -4.3529 -0.1812 -0.0522
  `expected`: 24.5749 4.9338 -1.9181 -0.0548 -2.9637 -4.4199 -0.1690 -0.0512
  ── Failure ('test-model_parameters_df_method.R:149:3'): model_parameters, ci_method kenward ──
  mp3$SE (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 3.8581 4.4785 3.7104 0.0217 1.5776 0.8745 0.0388 0.0175
  `expected`: 2.9761 6.1045 3.9875 0.0203 1.6033 0.9160 0.0551 0.0196
  ── Failure ('test-model_parameters_df_method.R:163:3'): model_parameters, ci_method kenward ──
  mp3$df (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 10.71 22.97 22.53 24.00 22.04 22.18 23.26 22.40
  `expected`: 19.40  5.28 23.57  8.97 22.74 23.76  2.73 22.83
  ── Failure ('test-model_parameters_df_method.R:177:3'): model_parameters, ci_method kenward ──
  mp3$p (`actual`) not equal to c(0, 0.09176, 0.19257, 0.30147, 0.84942, 0.00828, 0.15478, 0.40248) (`expected`).
  
    `actual`: 0.0000 0.0147 0.2181 0.4467 0.8153 0.0079 0.0131 0.3602
  `expected`: 0.0000 0.0918 0.1926 0.3015 0.8494 0.0083 0.1548 0.4025
  ── Failure ('test-model_parameters_df_method.R:191:3'): model_parameters, ci_method kenward ──
  mp3$CI_low (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 20.9968  2.5523 -2.9830 -0.0615 -2.8984 -4.3684 -0.1843 -0.0527
  `expected`: 24.0809 -2.8870 -2.8889 -0.0683 -3.0108 -4.5299 -0.2934 -0.0573
  ── Failure ('test-model_parameters_df_method.R:208:3'): model_parameters, ci_method wald (t) ──
  mp4$SE (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 3.7352 4.3554 3.6616 0.0201 1.5764 0.8709 0.0373 0.0174
  `expected`: 2.7746 3.6957 3.5210 0.0157 1.5851 0.8632 0.0297 0.0167
  ── Failure ('test-model_parameters_df_method.R:223:3'): model_parameters, ci_method wald (t) ──
  mp4$p (`actual`) not equal to c(0, 0.00258, 0.14297, 0.17095, 0.84778, 0.00578, 0.00151, 0.32653) (`expected`).
  
    `actual`: 0.0000 0.0127 0.2125 0.4124 0.8151 0.0077 0.0107 0.3555
  `expected`: 0.0000 0.0026 0.1430 0.1709 0.8478 0.0058 0.0015 0.3265
  ── Failure ('test-model_parameters_df_method.R:237:3'): model_parameters, ci_method wald (t) ──
  mp4$CI_low (`actual`) not equal to c(...) (`expected`).
  
    `actual`: 21.7702 2.7847 -2.8922 -0.0584 -2.8962 -4.3616 -0.1816 -0.0524
  `expected`: 24.5472 4.8970 -1.9532 -0.0549 -2.9795 -4.4285 -0.1693 -0.0513
  
  [ FAIL 22 | WARN 35 | SKIP 120 | PASS 653 ]
  Deleting unused snapshots:
  • equivalence_test/equivalence-test-1.svg
  • equivalence_test/equivalence-test-2.svg
  • equivalence_test/equivalence-test-3.svg
  • equivalence_test/equivalence-test-4.svg
  • equivalence_test/equivalence-test-5.svg
  Error: Test failures
  Execution halted