- using R Under development (unstable) (2025-12-04 r89091)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.6
flang version 21.1.6
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘ggeffects/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘ggeffects’ version ‘2.3.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘ggeffects’ can be installed ... [25s/66s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [70s/200s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [31s/89s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4m/11m] ERROR
Running ‘testthat.R’ [4m/11m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ggeffects)
> test_check("ggeffects")
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.
Saving _problems/test-poly-zeroinf-27.R
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 496 ]
══ Skipped tests (70) ══════════════════════════════════════════════════════════
• On CRAN (58): '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-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-poly-zeroinf.R:27:3'): ggpredict, glmmTMB ──────────────────────
Error in `exp(prdat.sim$cond)`: non-numeric argument to mathematical function
Backtrace:
▆
1. └─ggeffects::ggpredict(...) at test-poly-zeroinf.R:27:3
2. ├─base::do.call(ggpredict_helper, full_args)
3. └─ggeffects (local) `<fn>`(...)
4. ├─ggeffects::get_predictions(...)
5. └─ggeffects:::get_predictions.glmmTMB(...)
[ FAIL 1 | WARN 0 | SKIP 70 | PASS 496 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... OK
- checking PDF version of manual ... [10s/37s] OK
- checking HTML version of manual ... [8s/29s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR