Running ‘testthat.R’ [25s/29s]
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 
  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.
  [ FAIL 1 | WARN 0 | SKIP 82 | PASS 140 ]
  
  ══ Skipped tests (82) ══════════════════════════════════════════════════════════
  • AER cannot be loaded (1): 'test-tobit.R:2:1'
  • On CRAN (43): 'test-MCMCglmm.R:1:1', 'test-MixMod.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-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-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-vcov.R:1:1', 'test-vglm.R:1:1',
    'test-zi_prob.R:1:1'
  • On Linux (4): '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'
  • effects cannot be loaded (12): 'test-Gam2.R:4:1', 'test-betareg.R:4:1',
    'test-ggeffect.R:2:3', 'test-gls.R:3:1', 'test-linear-models.R:2:1',
    'test-lmrob_base.R:3:1', 'test-negbin.R:4:1', 'test-parsnip.R:2:1',
    'test-poisson.R:2:1', 'test-polr.R:3:1', 'test-rq.R:3:1',
    'test-survreg.R:4:1'
  • empty test (1): 'test-plot.R:8:1'
  • glmmTMB cannot be loaded (3): 'test-poly-zeroinf.R:2:1',
    'test-prediction_interval.R:4:3', 'test-zeroinfl.R:3:1'
  • lme4 cannot be loaded (8): 'test-backtransform_response.R:60:5',
    'test-ci_backticks-names.R:2:1', 'test-condition.R:75:5',
    'test-contrasts.R:3:1', 'test-contrasts2.R:3:1', 'test-contrasts3.R:3:1',
    'test-glm.R:2:1', 'test-nlme.R:2:1'
  • logistf cannot be loaded (1): 'test-logistf.R:2:1'
  • marginaleffects cannot be loaded (5): 'test-avg_predictions.R:3:1',
    'test-johnson_neyman.R:2:1', 'test-test_predictions.R:2:1',
    'test-test_predictions_emmeans.R:2:1',
    'test-test_predictions_ggeffects.R:2:1'
  • mice cannot be loaded (1): 'test-pool_predictions.R:2:1'
  • nestedLogit cannot be loaded (1): 'test-nestedLogit.R:2:1'
  • survey cannot be loaded (2): 'test-survey.R:2:1', 'test-svyglmnb.R:2:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-backtransform_response.R:19:3'): ggpredict-log-/srqtresponse ───
  Error: Package `marginaleffects` required for this function to work.
    Please install it by running `install.packages("marginaleffects")`.
  Backtrace:
      ▆
   1. ├─base::suppressMessages(ggaverage(m1, c("time", "group2"))) at test-backtransform_response.R:19:3
   2. │ └─base::withCallingHandlers(...)
   3. └─ggeffects::ggaverage(m1, c("time", "group2"))
   4.   └─insight::check_if_installed("marginaleffects")
  
  [ FAIL 1 | WARN 0 | SKIP 82 | PASS 140 ]
  Deleting unused snapshots:
  • backtransform_response/show-data-back-transformed-false.svg
  • 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