Running ‘additional.R’ [2s/2s]
  Running ‘testthat.R’ [35s/47s]
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'
  Saving _problems/test-fit-921.R
  Saving _problems/test-tmb-378.R
  [ FAIL 2 | WARN 4 | SKIP 64 | PASS 1995 ]
  
  ══ Skipped tests (64) ══════════════════════════════════════════════════════════
  • On CRAN (48): '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-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:1081:1',
    'test-tmb-methods.R:1088:1'
  • empty test (1):
  • {broom.helpers} is not installed (1): 'test-tmb-methods.R:914:3'
  • {car} is not installed (7): 'test-interop-car.R:305:3',
    'test-interop-car.R:340:3', 'test-interop-car.R:356:3',
    'test-interop-car.R:373:3', 'test-interop-car.R:402:3',
    'test-interop-car.R:434:3', 'test-interop-car.R:472:3'
  • {car} is not installed. (1): 'test-interop-car.R:6:3'
  • {parsnip} is not installed (6): 'test-interop-parsnip.R:4:3',
    'test-interop-parsnip.R:19:3', 'test-interop-parsnip.R:34:3',
    'test-interop-parsnip.R:53:3', 'test-interop-parsnip.R:67:3',
    'test-interop-parsnip.R:93:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-fit.R:914:3'): mmrm works for vcov: Empirical and method: Satterthwaite ──
  Error in `file(file, if (append) "a" else "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_silent(...) at test-fit.R:914: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")
  ── Error ('test-tmb.R:371:3'): h_mmrm_tmb_data works as expected for mutli-dimensional spatial exponential covariance ──
  Error in `file(file, if (append) "a" else "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_silent(...) at test-tmb.R:371: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 2 | WARN 4 | SKIP 64 | PASS 1995 ]
  Error:
  ! Test failures.
  Execution halted