Running ‘testthat.R’ [58s/72s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > pkg_name <- "mmrm"
  > library(pkg_name, character.only = TRUE)
  > testthat::test_check(pkg_name)
  -- Model Registration -------------------------------------------- mmrm 0.3.7 --
  v mmrm::mmrm()
  [ FAIL 3 | WARN 0 | SKIP 42 | PASS 1774 ]
  
  ══ Skipped tests (42) ══════════════════════════════════════════════════════════
  • On CRAN (42): 'test-between-within.R:29:3', 'test-empirical.R:6:3',
    'test-empirical.R:12:3', 'test-empirical.R:18:3', 'test-fit.R:214:3',
    'test-fit.R:265:3', 'test-fit.R:361:3', 'test-kenwardroger.R:4:3',
    'test-kenwardroger.R:9:3', 'test-kenwardroger.R:14:3',
    'test-kenwardroger.R:19:3', 'test-kenwardroger.R:24:3',
    'test-kenwardroger.R:29:3', 'test-kenwardroger.R:34:3',
    'test-kenwardroger.R:39:3', 'test-kenwardroger.R:44:3',
    'test-kenwardroger.R:49:3', 'test-kenwardroger.R:54:3',
    'test-kenwardroger.R:59:3', 'test-kenwardroger.R:64:3',
    'test-kenwardroger.R:69:3', 'test-kenwardroger.R:74:3',
    'test-kenwardroger.R:79:3', 'test-kenwardroger.R:84:3',
    'test-kenwardroger.R:89:3', 'test-kenwardroger.R:98:3',
    'test-kenwardroger.R:107:3', 'test-kenwardroger.R:348:3',
    'test-kenwardroger.R:356:3', 'test-kenwardroger.R:367:3',
    'test-kenwardroger.R:377:3', 'test-kenwardroger.R:389:3',
    'test-mmrm-methods.R:66:3', 'test-mmrm-methods.R:79:3',
    'test-mmrm-methods.R:85:3', 'test-mmrm-methods.R:91:3',
    'test-mmrm-methods.R:97:3', 'test-mmrm-methods.R:104:3',
    'test-testing.R:69:3', 'test-testing.R:84:3', 'test-tmb-methods.R:711:3',
    'test-tmb-methods.R:718:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-between-within.R:166:3'): h_df_md_bw works as expected for rank deficient model ──
  `result` (`actual`) not identical to `expected` (`expected`).
  
    `actual$f_stat`:  1
  `expected$f_stat`: 37
  
    `actual$p_val`: 0.6
  `expected$p_val`: 0.0
  ── Failure ('test-emmeans.R:149:3'): emmeans works as expected also for rank deficient fit when singular coefficients are not involved ──
  `result_emmeans` (`actual`) not equal to `expected_emmeans` (`expected`).
  
    `actual`: 32.79 37.25 37.56 41.81 42.36 46.07 48.24 53.35
  `expected`: 33.30 37.10 38.20 41.90 43.70 46.80 48.40 52.80
  ── Failure ('test-satterthwaite.R:165:3'): h_df_md_sat works as expected for rank deficient model ──
  `result` (`actual`) not identical to `expected` (`expected`).
  
    `actual$denom_df`: 156
  `expected$denom_df`: 166
  
    `actual$f_stat`:  1
  `expected$f_stat`: 37
  
    `actual$p_val`: 0.6
  `expected$p_val`: 0.0
  
  [ FAIL 3 | WARN 0 | SKIP 42 | PASS 1774 ]
  Error: Test failures
  Execution halted