Last updated on 2026-10-24 13:51:52 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.3.2 | 14.24 | 212.76 | 227.00 | OK | |
| r-devel-linux-x86_64-debian-gcc | 2.3.2 | 8.36 | 139.28 | 147.64 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 2.3.2 | 10.00 | 143.95 | 153.95 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 2.3.2 | 9.00 | 147.88 | 156.88 | OK | |
| r-devel-windows-x86_64 | 2.3.2 | 15.00 | 245.00 | 260.00 | OK | |
| r-patched-linux-x86_64 | 2.3.2 | 13.98 | 200.64 | 214.62 | OK | |
| r-release-linux-x86_64 | 2.3.2 | 11.88 | 200.67 | 212.55 | OK | |
| r-release-macos-arm64 | 2.3.2 | 3.00 | 30.00 | 33.00 | OK | |
| r-release-macos-x86_64 | 2.3.2 | 9.00 | 117.00 | 126.00 | OK | |
| r-release-windows-x86_64 | 2.3.2 | 17.00 | 227.00 | 244.00 | OK | |
| r-oldrel-macos-arm64 | 2.3.2 | 3.00 | 42.00 | 45.00 | OK | |
| r-oldrel-macos-x86_64 | 2.3.2 | 9.00 | 125.00 | 134.00 | OK | |
| r-oldrel-windows-x86_64 | 2.3.2 | 19.00 | 304.00 | 323.00 | OK |
Version: 2.3.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [68s/77s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ggeffects)
> test_check("ggeffects")
Saving _problems/test-Gam2-15.R
Saving _problems/test-coxph-9.R
Error in a$specials[[i]] : subscript out of bounds
Can't compute estimated marginal means, 'emmeans::emmeans()' returned an error.
Reason: subscript out of bounds
You may try 'ggpredict()' or 'ggeffect()'.
Saving _problems/test-coxph-16.R
Error in a$specials[[i]] : subscript out of bounds
Can't compute estimated marginal means, 'emmeans::emmeans()' returned an error.
Reason: subscript out of bounds
You may try 'ggpredict()' or 'ggeffect()'.
Saving _problems/test-coxph-21.R
Saving _problems/test-coxph-49.R
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
Re-fitting to get Hessian
Re-fitting to get Hessian
Re-fitting to get Hessian
Re-fitting to get Hessian
Re-fitting to get Hessian
Could not compute variance-covariance matrix of predictions. No
confidence intervals are returned.
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()`.
Saving _problems/test-vgam-8.R
[ FAIL 6 | WARN 8 | SKIP 71 | PASS 480 ]
══ Skipped tests (71) ══════════════════════════════════════════════════════════
• On CRAN (59): '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-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:32:1', '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:13:5',
'test-polr.R:43:5', 'test-poly-zeroinf.R:1:1', '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_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:58:1',
'test-test_predictions_emmeans.R:73:1',
'test-test_predictions_ggeffects.R:115:1',
'test-test_predictions_ggeffects.R:164:1',
'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'
• On Linux (10): 'test-brglm.R:1:1', 'test-ci_backticks-names.R:1:1',
'test-emmeans-weights.R:1:1', 'test-gee.R:1:1', 'test-ggaverage.R:1:1',
'test-glm.R:1:1', 'test-ordinal.R:1:1', 'test-print_subsets.R:1:1',
'test-print_test_predictions-ordinal.R:1:1',
'test-print_test_predictions.R:1:1'
• empty test (2): 'test-polr.R:136:5', 'test-polr.R:142:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-Gam2.R:15:3'): ggpredict ───────────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ggeffects::ggpredict(m1, "Age") at test-Gam2.R:15:3
2. ├─base::do.call(ggpredict_helper, full_args)
3. └─ggeffects (local) `<fn>`(...)
4. ├─ggeffects::get_predictions(...)
5. └─ggeffects:::get_predictions.Gam(...)
6. ├─stats::predict(model, newdata = data_grid, type = "link", se.fit = FALSE)
7. └─gam::predict.Gam(model, newdata = data_grid, type = "link", se.fit = FALSE)
8. └─gam::newdata.predict.Gam(...)
9. └─stats::predict.glm(...)
10. └─stats::predict.lm(...)
11. └─stats::delete.response(tt)
12. └─stats (local) off(a$specials[[i]])
── Error ('test-coxph.R:9:3'): ggpredict ───────────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ggeffects::ggpredict(m1, "sex") at test-coxph.R:9:3
2. ├─base::do.call(ggpredict_helper, full_args)
3. └─ggeffects (local) `<fn>`(...)
4. ├─ggeffects::get_predictions(...)
5. └─ggeffects:::get_predictions.coxph(...)
6. └─ggeffects:::get_predictions_coxph(...)
7. ├─stats::predict(...)
8. └─survival:::predict.coxph(...)
9. └─stats::delete.response(Terms)
10. └─stats (local) off(a$specials[[i]])
── Failure ('test-coxph.R:16:3'): ggemmeans ────────────────────────────────────
Expected `p$predicted[1]` to equal 0.7521603.
Differences:
`actual` is NULL
`expected` is a double vector (0.7521603)
── Error ('test-coxph.R:21:3'): ggpredict ──────────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ggeffects::ggpredict(m1, "sex", type = "survival") at test-coxph.R:21:3
2. ├─base::do.call(ggpredict_helper, full_args)
3. └─ggeffects (local) `<fn>`(...)
4. ├─ggeffects::get_predictions(...)
5. └─ggeffects:::get_predictions.coxph(...)
6. └─ggeffects:::get_predictions_survival(...)
7. ├─survival::survfit(...)
8. └─survival:::survfit.coxph(...)
9. └─survival:::model.matrix.coxph(object, data = mf)
10. └─stats::delete.response(object$terms)
11. └─stats (local) off(a$specials[[i]])
── Error ('test-coxph.R:49:3'): ggpredict ──────────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─ggeffects::ggpredict(...) at test-coxph.R:49:3
2. ├─base::do.call(ggpredict_helper, full_args)
3. └─ggeffects (local) `<fn>`(...)
4. ├─ggeffects::get_predictions(...)
5. └─ggeffects:::get_predictions.coxph(...)
6. └─ggeffects:::get_predictions_survival(...)
7. ├─survival::survfit(...)
8. └─survival:::survfit.coxph(...)
9. └─survival:::model.matrix.coxph(object, data = mf)
10. └─stats::delete.response(object$terms)
11. └─stats (local) off(a$specials[[i]])
── Error ('test-vgam.R:8:3'): ggpredict ────────────────────────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "subscript out of bounds", call = a$specials[[i]], object = pairlist(sm.os = NULL), subscript = NA_integer_, index = 3L), class = c("subscriptOutOfBoundsError", "error", "condition")))`: error in evaluating the argument 'object' in selecting a method for function 'model.matrix': subscript out of bounds
Backtrace:
▆
1. ├─ggeffects::ggpredict(m1, "vitluc") at test-vgam.R:8:3
2. │ ├─base::do.call(ggpredict_helper, full_args)
3. │ └─ggeffects (local) `<fn>`(...)
4. │ ├─ggeffects::get_predictions(...)
5. │ └─ggeffects:::get_predictions.vgam(...)
6. │ ├─stats::predict(...)
7. │ └─VGAM::predict.vgam(...)
8. │ └─VGAM::predict.vlm(...)
9. │ ├─stats::model.matrix(...)
10. │ └─stats::delete.response(ttob)
11. │ └─stats (local) off(a$specials[[i]])
12. └─base (local) `<fn>`(`<sbscOOBE>`)
[ FAIL 6 | WARN 8 | SKIP 71 | PASS 480 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc