* using log directory 'd:/Rcompile/CRANpkg/local/4.4/ggeffects.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ggeffects' can be installed ... OK * 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [0s] 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 ... [33s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [0s] 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 ... [25s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [183s] ERROR Running 'testthat.R' [183s] 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 Re-fitting to get Hessian Re-fitting to get Hessian Re-fitting to get Hessian Saving _problems/test-poly-zeroinf-27.R 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 71 | PASS 565 ] ══ Skipped tests (71) ══════════════════════════════════════════════════════════ • !interactive() is TRUE (1): 'test-print_test_predictions-ordinal.R:7:1' • On CRAN (68): '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:4: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_subsets.R:4:1', 'test-print_subsets.R:9:1', 'test-print_test_predictions.R:18:1', 'test-print_test_predictions.R:22:1', 'test-print_test_predictions.R:27:1', 'test-print_test_predictions.R:60:1', 'test-print_test_predictions.R:72:1', 'test-print_test_predictions.R:82:1', 'test-print_test_predictions.R:99: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' • 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) ``(...) 4. ├─ggeffects::get_predictions(...) 5. └─ggeffects:::get_predictions.glmmTMB(...) [ FAIL 1 | WARN 0 | SKIP 71 | PASS 565 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2s] OK * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR