Running ‘additional.R’ [9s/10s]
  Running ‘testthat.R’ [40s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > pkg_name <- "mmrm"
  > library(pkg_name, character.only = TRUE)
  > testthat::test_check(pkg_name)
  In AVISIT there are dropped visits: VIS4.
   Additional attributes including contrasts are lost.
  To avoid this behavior, make sure use `drop_visit_levels = FALSE`.
  Welcome to emmeans.
  Caution: You lose important information if you filter this package's results.
  See '? untidy'
  Loading required package: carData
  Saving _problems/test-interop-car-440.R
  -- Model Registration ------------------------------------------- mmrm 0.3.17 --
  v mmrm::mmrm()
  [ FAIL 1 | WARN 4 | SKIP 51 | PASS 2050 ]
  
  ══ Skipped tests (51) ══════════════════════════════════════════════════════════
  • On CRAN (50): 'test-between-within.R:23:1', 'test-emmeans.R:115:1',
    'test-empirical.R:3:1', 'test-empirical.R:15:1', 'test-empirical.R:27:1',
    'test-fit.R:282:3', 'test-fit.R:412:3', 'test-fit.R:559:1',
    'test-interop-car.R:214:1', 'test-interop-car.R:237:1',
    'test-interop-car.R:304:1', 'test-kenwardroger.R:2:1',
    'test-kenwardroger.R:12:1', 'test-kenwardroger.R:22:1',
    'test-kenwardroger.R:32:1', 'test-kenwardroger.R:42:1',
    'test-kenwardroger.R:52:1', 'test-kenwardroger.R:62:1',
    'test-kenwardroger.R:72:1', 'test-kenwardroger.R:82:1',
    'test-kenwardroger.R:92:1', 'test-kenwardroger.R:102:1',
    'test-kenwardroger.R:112:1', 'test-kenwardroger.R:122:1',
    'test-kenwardroger.R:132:1', 'test-kenwardroger.R:142:1',
    'test-kenwardroger.R:152:1', 'test-kenwardroger.R:162:1',
    'test-kenwardroger.R:172:1', 'test-kenwardroger.R:182:1',
    'test-kenwardroger.R:192:1', 'test-kenwardroger.R:490:1',
    'test-kenwardroger.R:498:1', 'test-kenwardroger.R:512:1',
    'test-kenwardroger.R:530:1', 'test-kenwardroger.R:542:1',
    'test-mmrm-methods.R:78:1', 'test-mmrm-methods.R:94:1',
    'test-mmrm-methods.R:100:1', 'test-mmrm-methods.R:106:1',
    'test-mmrm-methods.R:112:1', 'test-mmrm-methods.R:119:1',
    'test-testing.R:78:1', 'test-testing.R:92:1', 'test-tmb-methods.R:142:1',
    'test-tmb-methods.R:179:1', 'test-tmb-methods.R:351:1',
    'test-tmb-methods.R:913:1', 'test-tmb-methods.R:1081:1',
    'test-tmb-methods.R:1088:1'
  • empty test (1):
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-interop-car.R:440:3'): Anova results are compatible with broom::tidy ──
  Error in `file(file, if (append) "a" else "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_silent(car::Anova(fit, "2")) at test-interop-car.R:440:3
   2.   └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
   3.     └─testthat (local) .capture(...)
   4.       └─withr::with_output_sink(...)
   5.         └─withr:::set_output_sink(file = new, append = append, split = split)
   6.           └─withr:::output_sink(file = file, append = append, split = split)
   7.             └─base::sink(file = file, append = append, type = "output", split = split)
   8.               └─base::file(file, if (append) "a" else "w")
  
  [ FAIL 1 | WARN 4 | SKIP 51 | PASS 2050 ]
  Error:
  ! Test failures.
  Execution halted