Running 'testthat.R' [53s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > #
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > library(testthat)
  > library(modelbased)
  > 
  > test_check("modelbased")
  Starting 2 test processes.
  > test-multivariate_response.R: Confidence intervals are not yet supported for models of class `mlm`.
  > test-multivariate_response.R: Confidence intervals are not yet supported for models of class `mlm`.
  Saving _problems/test-estimate_predicted-53.R
  > test-scoping_issues.R: We selected `contrast=c("Species")`.
  > test-scoping_issues.R: We selected `contrast=c("Species")`.
  [ FAIL 1 | WARN 0 | SKIP 62 | PASS 239 ]
  
  ══ Skipped tests (62) ══════════════════════════════════════════════════════════
  • On CRAN (62): 'test-backtransform_invlink.R:1:1', 'test-betareg.R:1:1',
    'test-bias_correction.R:1:1', 'test-brms-marginaleffects.R:1:1',
    'test-brms.R:1:1', 'test-equivalence.R:1:1',
    'test-estimate_contrasts-average.R:1:1', 'test-estimate_contrasts.R:1:1',
    'test-estimate_contrasts_bookexamples.R:1:1',
    'test-estimate_contrasts_effectsize.R:1:1',
    'test-estimate_contrasts_counterfactual.R:1:1',
    'test-estimate_contrasts_methods.R:1:1',
    'test-estimate_contrasts_inequality.R:1:1', 'test-estimate_filter.R:1:1',
    'test-estimate_grouplevel.R:54:3', 'test-estimate_grouplevel.R:72:3',
    'test-estimate_grouplevel.R:93:3', 'test-estimate_grouplevel.R:123:3',
    'test-estimate_grouplevel.R:150:5', 'test-estimate_grouplevel.R:182:3',
    'test-estimate_grouplevel.R:261:3', 'test-estimate_grouplevel.R:308:3',
    'test-estimate_means-average.R:1:1', 'test-estimate_means_ci.R:1:1',
    'test-estimate_means.R:1:1', 'test-estimate_means_counterfactuals.R:1:1',
    'test-estimate_means_dotargs.R:1:1',
    'test-estimate_means_marginalization.R:1:1',
    'test-estimate_means_mixed.R:1:1', 'test-estimate_slopes.R:223:1',
    'test-g_computation.R:1:1', 'test-get_marginaltrends.R:1:1',
    'test-glmmTMB.R:1:1', 'test-joint_test.R:1:1', 'test-keep_iterations.R:1:1',
    'test-maihda.R:1:1', 'test-mice.R:1:1', 'test-ordinal.R:1:1',
    'test-plot-facet.R:7:1', 'test-plot-flexible_numeric.R:6:1',
    'test-plot-grouplevel.R:1:1', 'test-plot-ordinal.R:8:1',
    'test-plot-show_data.R:1:1', 'test-plot-slopes.R:6:1', 'test-plot.R:7:1',
    'test-predict-dpar.R:1:1', 'test-residualize_over_grid.R:6:1',
    'test-standardize.R:1:1', 'test-summary_estimate_slopes.R:3:1',
    'test-transform_response.R:3:1', 'test-vcov.R:1:1', 'test-print.R:6:1',
    'test-print.R:23:1', 'test-print.R:31:1', 'test-print.R:44:1',
    'test-print.R:55:1', 'test-print.R:70:1', 'test-print.R:81:1',
    'test-print.R:101:1', 'test-print.R:112:1', 'test-print.R:125:1',
    'test-zeroinfl.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-estimate_predicted.R:51:3'): estimate_link ─────────────────────
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. └─gamm4::gamm4(...) at test-estimate_predicted.R:51:3
  
  [ FAIL 1 | WARN 0 | SKIP 62 | PASS 239 ]
  Error:
  ! Test failures.
  Execution halted