CRAN Package Check Results for Package ggeffects

Last updated on 2025-08-30 08:49:21 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.3.1 12.83 228.59 241.42 OK
r-devel-linux-x86_64-debian-gcc 2.3.1 8.44 145.02 153.46 OK
r-devel-linux-x86_64-fedora-clang 2.3.1 431.18 OK
r-devel-linux-x86_64-fedora-gcc 2.3.1 394.15 OK
r-devel-windows-x86_64 2.3.1 15.00 238.00 253.00 OK
r-patched-linux-x86_64 2.3.1 13.74 218.30 232.04 OK
r-release-linux-x86_64 2.3.1 12.68 215.93 228.61 OK
r-release-macos-arm64 2.3.1 51.00 OK
r-release-macos-x86_64 2.3.1 227.00 OK
r-release-windows-x86_64 2.3.1 15.00 246.00 261.00 OK
r-oldrel-macos-arm64 2.3.1 119.00 OK
r-oldrel-macos-x86_64 2.3.1 137.00 OK
r-oldrel-windows-x86_64 2.3.1 21.00 319.00 340.00 ERROR

Check Details

Version: 2.3.1
Check: tests
Result: ERROR Running 'testthat.R' [191s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(ggeffects) > test_check("ggeffects") (Intercept) tensionM tensionH 36.38889 -10.00000 -14.72222 You are calculating adjusted predictions on the population-level (i.e. `type = "fixed"`) for a *generalized* linear mixed model. This may produce biased estimates due to Jensen's inequality. Consider setting `bias_correction = TRUE` to correct for this bias. See also the documentation of the `bias_correction` argument. Not all rows are shown in the output. Use `print(..., n = Inf)` to show all rows. Not all rows are shown in the output. Use `print(..., n = Inf)` to show all rows. Running model... Done! Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Iteration 1 - deviance = 39.74973 - criterion = 0.8590917 Iteration 2 - deviance = 10.50328 - criterion = 2.758244 Iteration 3 - deviance = 9.231325 - criterion = 0.1363107 Iteration 4 - deviance = 9.227742 - criterion = 0.0003840654 Iteration 5 - deviance = 9.227742 - criterion = 3.446463e-09 converged NOTE: Results may be misleading due to involvement in interactions NOTE: Results may be misleading due to involvement in interactions # weights: 16 (9 variable) initial value 1149.238025 iter 10 value 1015.404427 final value 1013.443395 converged Re-fitting to get Hessian Re-fitting to get Hessian Re-fitting to get Hessian Model contains splines or polynomial terms. Consider using `terms="mined [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="cover [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="mined [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="cover [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. NOTE: Results may be misleading due to involvement in interactions Can't compute adjusted predictions, `effects::Effect()` returned an error. Reason: Invalid operation on a survival time You may try `ggpredict()` or `ggemmeans()`. Can't compute adjusted predictions, `effects::Effect()` returned an error. Reason: non-conformable arguments You may try `ggpredict()` or `ggemmeans()`. [ FAIL 1 | WARN 0 | SKIP 70 | PASS 554 ] ══ Skipped tests (70) ══════════════════════════════════════════════════════════ • !interactive() is TRUE (1): 'test-print_test_predictions-ordinal.R:7:1' • On CRAN (67): 'test-MCMCglmm.R:1:1', 'test-MixMod.R:1:1', 'test-averaging.R:1:1', 'test-avg_predictions.R:1:1', 'test-backtransform_response.R:1:1', 'test-bias_correction.R:1:1', 'test-brglm.R:24:3', 'test-brms-categ-cum.R:1:1', 'test-brms-monotonic.R:1:1', 'test-brms-ppd.R:1:1', 'test-brms-trial.R:1:1', 'test-clean_vars.R:1:1', 'test-clm.R:1:1', 'test-clm2.R:1:1', 'test-clmm.R:1:1', 'test-condition.R:1:1', 'test-correct_se_sorting.R:1:1', 'test-decimals.R:1:1', 'test-fixest.R:1:1', 'test-focal_only_random.R:1:1', 'test-format.R:1:1', 'test-gamlss.R:1:1', 'test-gamm4.R:1:1', 'test-glmer.R:2:1', 'test-glmmTMB.R:1:1', 'test-interval_re.R:1:1', 'test-ivreg.R:1:1', 'test-list_terms.R:36:3', 'test-lmer.R:1:1', 'test-mgcv.R:1:1', 'test-plot-from-vignettes.R:5:1', 'test-plot-ordinal-latent.R:1:1', 'test-plot-show_data.R:1:1', 'test-plot-survival.R:2:1', 'test-plot.R:1:1', 'test-polr.R:21:7', 'test-polr.R:60:7', 'test-pool_comparisons.R:1:1', 'test-print.R:1:1', 'test-print_digits.R:1:1', 'test-print_md.R:1:1', 'test-print_subsets.R:7:3', 'test-print_subsets.R:12:3', 'test-print_test_predictions.R:20:3', 'test-print_test_predictions.R:24:3', 'test-print_test_predictions.R:37:3', 'test-print_test_predictions.R:68:3', 'test-print_test_predictions.R:76:3', 'test-print_test_predictions.R:107:5', 'test-print_zero_inflation.R:1:1', 'test-resid_over_grid.R:33:5', 'test-rstanarm-ppd.R:1:1', 'test-rstanarm.R:1:1', 'test-sdmTMB.R:1:1', 'test-simulate.R:1:1', 'test-test_predictions-margin.R:1:1', 'test-test_predictions-mixed.R:1:1', 'test-test_predictions_emmeans.R:68:3', 'test-test_predictions_emmeans.R:103:3', 'test-test_predictions_ggeffects.R:130:3', 'test-test_predictions_ggeffects.R:174:3', 'test-test_predictions_ggeffects.R:183:3', 'test-test_predictions_ggeffects.R:226:5', 'test-vcov.R:1:1', 'test-vglm.R:1:1', 'test-zeroinfl.R:27:3', 'test-zi_prob.R:1:1' • empty test (2): 'test-polr.R:136:5', 'test-polr.R:142:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-print_test_predictions.R:93:3'): glmmTMB, orderedbeta ────────── Error: Invalid option for argument `component`. Please use one of the following options: "conditional", "zero_inflated", "zi", "dispersion" or "all" Backtrace: ▆ 1. └─ggeffects::predict_response(m, "gear", margin = "average") at test-print_test_predictions.R:93:3 2. └─ggeffects::ggaverage(...) 3. └─ggeffects:::.call_me("avg_predictions", me_args, dot_args, include_random = insight::is_mixed_model(model)) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. ├─marginaleffects (local) `<fn>`(...) 10. │ └─base::eval.parent(call_attr) 11. │ └─base::eval(expr, p) 12. │ └─base::eval(expr, p) 13. └─marginaleffects::predictions(...) 14. ├─marginaleffects::get_vcov(...) 15. └─marginaleffects:::get_vcov.glmmTMB(...) 16. ├─insight::get_varcov(model, vcov = vcov, component = "full") 17. └─insight:::get_varcov.glmmTMB(model, vcov = vcov, component = "full") 18. └─insight::validate_argument(...) 19. └─insight::format_error(msg) 20. └─insight::format_alert(..., type = "error") [ FAIL 1 | WARN 0 | SKIP 70 | PASS 554 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64