Running ‘testthat.R’ [130s/183s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggeffects)
  > test_check("ggeffects")
  Model has log-transformed response. Predictions are on log-scale.
  Data points may overlap. Use the `jitter` argument to add some amount of
    random variation to the location of data points and avoid overplotting.
  (Intercept)    tensionM    tensionH 
     36.38889   -10.00000   -14.72222 
  
  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.
  NOTE: Results may be misleading due to involvement in interactions
  NOTE: Results may be misleading due to involvement in interactions
  Data points may overlap. Use the `jitter` argument to add some amount of
    random variation to the location of data points and avoid overplotting.
  Data points may overlap. Use the `jitter` argument to add some amount of
    random variation to the location of data points and avoid overplotting.
  Data points may overlap. Use the `jitter` argument to add some amount of
    random variation to the location of data points and avoid overplotting.
  Data points may overlap. Use the `jitter` argument to add some amount of
    random variation to the location of data points and avoid overplotting.
  
  Re-fitting to get Hessian
  
  
  Re-fitting to get Hessian
  
  Could not compute variance-covariance matrix of predictions. No
    confidence intervals are returned.
  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'.
  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 2 | WARN 8 | SKIP 62 | PASS 650 ]
  
  ══ Skipped tests (62) ══════════════════════════════════════════════════════════
  • On CRAN (54): 'test-MCMCglmm.R:1:1', 'test-MixMod.R:1:1',
    'test-avg_predictions.R:24:3', 'test-avg_predictions.R:79:5',
    'test-backtransform_response.R:76:5', '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-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-johnson_neyman_numcat.R:1:1', 'test-list_terms.R:36:3',
    'test-lmer.R:1:1', 'test-mgcv.R:1:1', 'test-plot-ordinal-latent.R:1:1',
    'test-plot.R:69: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_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:133:3',
    'test-test_predictions_emmeans.R:168:3',
    'test-test_predictions_ggeffects.R:140:3',
    'test-test_predictions_ggeffects.R:172:3',
    'test-test_predictions_ggeffects.R:181:3',
    'test-test_predictions_ggeffects.R:223:5', 'test-vcov.R:1:1',
    'test-vglm.R:1:1', 'test-zeroinfl.R:27:3', 'test-zi_prob.R:1:1'
  • On Linux (5): 'test-ordinal.R:1:1', 'test-parsnip.R:94:3',
    'test-print_subsets.R:1:1', 'test-print_test_predictions-ordinal.R:1:1',
    'test-print_test_predictions.R:1:1'
  • empty test (3): 'test-plot.R:8:1', 'test-polr.R:136:5', 'test-polr.R:142:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-avg_predictions.R:76:5'): ggaverage, glm ─────────────────────
  out1$predicted (`actual`) not equal to out2$estimate (`expected`).
  
    `actual`: 0.393 0.404 0.468 0.400 0.411 0.475 0.407 0.418 0.483
  `expected`: 0.409 0.420 0.476 0.416 0.426 0.482 0.422 0.432 0.488
  ── Failure ('test-avg_predictions.R:77:5'): ggaverage, glm ─────────────────────
  out1$conf.low (`actual`) not equal to out2$conf.low (`expected`).
  
    `actual`: 0.32 0.36 0.38 0.32 0.36 0.39 0.33 0.37 0.40
  `expected`: 0.34 0.37 0.40 0.35 0.38 0.41 0.35 0.39 0.41
  
  [ FAIL 2 | WARN 8 | SKIP 62 | PASS 650 ]
  Deleting unused snapshots:
  • backtransform_response/show-data-back-transformed-true.svg
  • brms-monotonic/plot-brms-monotonic.svg
  • plot-ordinal-latent/clm-latent-false.svg
  • plot-ordinal-latent/clm-latent-true.svg
  • plot-ordinal-latent/polr-latent-false.svg
  • plot-ordinal-latent/polr-latent-true.svg
  • plot/collapse-random-effects-works-again.svg
  • plot/colored-data-points-with-special-focal-terms.svg
  • plot/simple-plot-bw.svg
  • plot/simple-plot-categorical-bw.svg
  • plot/simple-plot-categorical-ci-bands-as-dots.svg
  • plot/simple-plot-categorical-grey-scale.svg
  • plot/simple-plot-categorical-no-ci.svg
  • plot/simple-plot-categorical-show-data-jitter.svg
  • plot/simple-plot-categorical-show-data.svg
  • plot/simple-plot-categorical.svg
  • plot/simple-plot-ci-bands-as-dots.svg
  • plot/simple-plot-grey-scale.svg
  • plot/simple-plot-no-ci.svg
  • plot/simple-plot-show-data-jitter.svg
  • plot/simple-plot-show-data.svg
  • plot/simple-plot.svg
  Error: Test failures
  Execution halted