Running ‘testthat.R’ [230s/142s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(parameters)
  > library(testthat)
  > 
  > test_check("parameters")
  Starting 2 test processes
  [ FAIL 5 | WARN 0 | SKIP 84 | PASS 616 ]
  
  ══ Skipped tests (84) ══════════════════════════════════════════════════════════
  • On CRAN (73): 'test-GLMMadaptive.R:1:1', 'test-backticks.R:1:1',
    'test-bootstrap_emmeans.R:1:1', 'test-compare_parameters.R:88:3',
    'test-compare_parameters.R:92:1', 'test-efa.R:1:1',
    'test-emmGrid-df_colname.R:1:1', 'test-equivalence_test.R:8: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-ivreg.R:54: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:2:3',
    'test-model_parameters.BFBayesFactor.R:75:3',
    'test-model_parameters.BFBayesFactor.R:112:3',
    '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:318:3',
    'test-model_parameters.aov_es_ci.R:371:3',
    'test-model_parameters.cgam.R:1:1', 'test-model_parameters.fixest.R:2:3',
    'test-model_parameters.fixest.R:77:3',
    'test-model_parameters.fixest_multi.R:3:1',
    'test-model_parameters.glm.R:40:3', 'test-model_parameters.glm.R:68: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.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-p_adjust.R:1:1',
    'test-p_value.R:14:1', 'test-panelr.R:1:1', 'test-pool_parameters.R:11:3',
    'test-posterior.R:1:1', 'test-printing-stan.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-quantreg.R:1:1', 'test-random_effects_ci.R:4:1', 'test-robust.R:2:1',
    'test-rstanarm.R:3:1', 'test-printing.R:17:7', 'test-printing.R:28:7',
    'test-printing.R:39:7', 'test-printing.R:64:7', 'test-printing.R:80:7',
    'test-standardize_parameters.R:30:3', 'test-standardize_parameters.R:55:3',
    'test-standardize_parameters.R:169:3', 'test-standardize_parameters.R:288:3',
    'test-standardize_parameters.R:319:3', 'test-standardize_parameters.R:411:3',
    'test-standardize_parameters.R:501:3'
  • On Linux (4): '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:142: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 ════════════════════════════════════════════════════════════════
  ── Error ('test-model_parameters.blmerMod.R:19:3'): model_parameters.blmerMod-all ──
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'a' in selecting a method for function 'solve': 0 arguments passed to 'crossprod' which requires at least 1
  Backtrace:
       ▆
    1. ├─parameters::model_parameters(model, effects = "all") at test-model_parameters.blmerMod.R:19:2
    2. ├─parameters:::model_parameters.merMod(model, effects = "all")
    3. │ ├─base::do.call(".extract_parameters_mixed", args)
    4. │ └─parameters:::.extract_parameters_mixed(...)
    5. │   ├─insight::get_statistic(model, component = "all")
    6. │   └─insight:::get_statistic.default(model, component = "all")
    7. │     ├─base::suppressWarnings(stats::coef(summary(x)))
    8. │     │ └─base::withCallingHandlers(...)
    9. │     ├─stats::coef(summary(x))
   10. │     ├─base::summary(x)
   11. │     ├─blme:::summary.bmerMod(x)
   12. │     ├─base::NextMethod(.Generic, object = object, ...)
   13. │     └─lme4:::summary.merMod(x)
   14. │       ├─stats::vcov(object, use.hessian = use.hessian)
   15. │       └─merDeriv::vcov.lmerMod(object, use.hessian = use.hessian)
   16. │         ├─base::solve(crossprod(parts$X, t(invVX)))
   17. │         ├─methods (local) crossprod(parts$X, t(invVX))
   18. │         └─Matrix::crossprod(parts$X, t(invVX))
   19. │           └─Matrix (local) .local(x, y, ...)
   20. └─base::.handleSimpleError(...)
   21.   └─base (local) h(simpleError(msg, call))
  ── Error ('test-model_parameters_labels.R:13:7'): model_parameters_labels ──────
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'a' in selecting a method for function 'solve': 0 arguments passed to 'crossprod' which requires at least 1
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-model_parameters_labels.R:13:6
    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. │ ├─base::do.call(".extract_parameters_mixed", args)
    7. │ └─parameters:::.extract_parameters_mixed(...)
    8. │   ├─insight::get_statistic(model, component = "all")
    9. │   └─insight:::get_statistic.default(model, component = "all")
   10. │     ├─base::suppressWarnings(stats::coef(summary(x)))
   11. │     │ └─base::withCallingHandlers(...)
   12. │     ├─stats::coef(summary(x))
   13. │     ├─base::summary(x)
   14. │     └─lme4:::summary.merMod(x)
   15. │       ├─stats::vcov(object, use.hessian = use.hessian)
   16. │       └─merDeriv::vcov.lmerMod(object, use.hessian = use.hessian)
   17. │         ├─base::solve(crossprod(parts$X, t(invVX)))
   18. │         ├─methods (local) crossprod(parts$X, t(invVX))
   19. │         └─Matrix::crossprod(parts$X, t(invVX))
   20. │           └─Matrix (local) .local(x, y, ...)
   21. └─base::.handleSimpleError(...)
   22.   └─base (local) h(simpleError(msg, call))
  ── Error ('test-model_parameters_labels.R:119:7'): Issue #806: Missing label for variance component in lme4 ──
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'a' in selecting a method for function 'solve': 0 arguments passed to 'crossprod' which requires at least 1
  Backtrace:
       ▆
    1. ├─parameters::parameters(mod, pretty_names = "labels") at test-model_parameters_labels.R:119:6
    2. ├─parameters:::model_parameters.merMod(mod, pretty_names = "labels")
    3. │ ├─base::do.call(".extract_parameters_mixed", args)
    4. │ └─parameters:::.extract_parameters_mixed(...)
    5. │   ├─insight::get_statistic(model, component = "all")
    6. │   └─insight:::get_statistic.default(model, component = "all")
    7. │     ├─base::suppressWarnings(stats::coef(summary(x)))
    8. │     │ └─base::withCallingHandlers(...)
    9. │     ├─stats::coef(summary(x))
   10. │     ├─base::summary(x)
   11. │     └─lme4:::summary.merMod(x)
   12. │       ├─stats::vcov(object, use.hessian = use.hessian)
   13. │       └─merDeriv::vcov.lmerMod(object, use.hessian = use.hessian)
   14. │         ├─base::solve(crossprod(parts$X, t(invVX)))
   15. │         ├─methods (local) crossprod(parts$X, t(invVX))
   16. │         └─Matrix::crossprod(parts$X, t(invVX))
   17. │           └─Matrix (local) .local(x, y, ...)
   18. └─base::.handleSimpleError(...)
   19.   └─base (local) h(simpleError(msg, call))
  ── Error ('test-model_parameters_mixed_coeforder.R:12:3'): model_parameters.mixed.coeforder ──
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'a' in selecting a method for function 'solve': 0 arguments passed to 'crossprod' which requires at least 1
  Backtrace:
       ▆
    1. ├─stats::coef(summary(m)) at test-model_parameters_mixed_coeforder.R:12:2
    2. ├─base::summary(m)
    3. ├─lme4:::summary.merMod(m)
    4. │ ├─stats::vcov(object, use.hessian = use.hessian)
    5. │ └─merDeriv::vcov.lmerMod(object, use.hessian = use.hessian)
    6. │   ├─base::solve(crossprod(parts$X, t(invVX)))
    7. │   ├─methods (local) crossprod(parts$X, t(invVX))
    8. │   └─Matrix::crossprod(parts$X, t(invVX))
    9. │     └─Matrix (local) .local(x, y, ...)
   10. └─base::.handleSimpleError(...)
   11.   └─base (local) h(simpleError(msg, call))
  ── Error ('test-parameters_table.R:12:3'): parameters_table 2 ──────────────────
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'a' in selecting a method for function 'solve': 0 arguments passed to 'crossprod' which requires at least 1
  Backtrace:
       ▆
    1. ├─parameters::model_parameters(...) at test-parameters_table.R:12:2
    2. ├─parameters:::model_parameters.merMod(...)
    3. │ ├─base::do.call(".extract_parameters_mixed", args)
    4. │ └─parameters:::.extract_parameters_mixed(...)
    5. │   ├─insight::get_statistic(model, component = "all")
    6. │   └─insight:::get_statistic.default(model, component = "all")
    7. │     ├─base::suppressWarnings(stats::coef(summary(x)))
    8. │     │ └─base::withCallingHandlers(...)
    9. │     ├─stats::coef(summary(x))
   10. │     ├─base::summary(x)
   11. │     └─lme4:::summary.merMod(x)
   12. │       ├─stats::vcov(object, use.hessian = use.hessian)
   13. │       └─merDeriv::vcov.lmerMod(object, use.hessian = use.hessian)
   14. │         ├─base::solve(crossprod(parts$X, t(invVX)))
   15. │         ├─methods (local) crossprod(parts$X, t(invVX))
   16. │         └─Matrix::crossprod(parts$X, t(invVX))
   17. │           └─Matrix (local) .local(x, y, ...)
   18. └─base::.handleSimpleError(...)
   19.   └─base (local) h(simpleError(msg, call))
  
  [ FAIL 5 | WARN 0 | SKIP 84 | PASS 616 ]
  Error: Test failures
  Execution halted