Running ‘testthat.R’ [425s/497s]
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
  [ FAIL 9 | WARN 103 | SKIP 2 | PASS 160 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • .Platform$OS.type == "windows" is not TRUE (1):
    'test-estimate_predicted.R:56:3'
  • empty test (1): 'test-estimate_contrasts.R:188:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-estimate_contrasts.R:28:3'): estimate_contrasts - Frequentist ──
  dim(estim) (`actual`) not equal to c(3, 10) (`expected`).
  
    `actual`: 6 10
  `expected`: 3 10
  ── Failure ('test-estimate_contrasts.R:35:3'): estimate_contrasts - Frequentist ──
  dim(estim) (`actual`) not equal to c(3, 10) (`expected`).
  
    `actual`: 30 10
  `expected`:  3 10
  ── Failure ('test-estimate_contrasts.R:58:3'): estimate_contrasts - Frequentist ──
  dim(estim) (`actual`) not equal to c(6, 10) (`expected`).
  
    `actual`: 18 10
  `expected`:  6 10
  ── Failure ('test-estimate_contrasts.R:74:3'): estimate_contrasts - Frequentist ──
  dim(estim) (`actual`) not equal to c(6, 10) (`expected`).
  
    `actual`: 12 10
  `expected`:  6 10
  ── Failure ('test-estimate_contrasts.R:136:3'): estimate_contrasts - Bayesian ──
  dim(estim) (`actual`) not equal to c(3, 8) (`expected`).
  
    `actual`: 6 8
  `expected`: 3 8
  ── Failure ('test-estimate_contrasts.R:150:3'): estimate_contrasts - Bayesian ──
  dim(estim) (`actual`) not equal to c(3, 8) (`expected`).
  
    `actual`: 30 8
  `expected`:  3 8
  ── Failure ('test-estimate_means.R:97:3'): estimate_means() - core ─────────────
  dim(estim) (`actual`) not equal to c(3, 6) (`expected`).
  
    `actual`: 30 6
  `expected`:  3 6
  ── Failure ('test-estimate_means.R:134:3'): estimate_means() - core ────────────
  dim(estim) (`actual`) not equal to c(6, 7) (`expected`).
  
    `actual`: 12 7
  `expected`:  6 7
  ── Failure ('test-estimate_means.R:148:3'): estimate_means() - core ────────────
  dim(estim) (`actual`) not equal to c(4, 7) (`expected`).
  
    `actual`: 8 7
  `expected`: 4 7
  
  [ FAIL 9 | WARN 103 | SKIP 2 | PASS 160 ]
  Error: Test failures
  Execution halted