Running ‘testthat.R’ [14m/34m]
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?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(checkmate)
  > library(chevron)
  > 
  > test_check("chevron")
  [ FAIL 17 | WARN 33 | SKIP 167 | PASS 283 ]
  
  ══ Skipped tests (167) ═════════════════════════════════════════════════════════
  • !interactive() is TRUE (1): 'test-chevron_tlg-methods.R:182:3'
  • On CRAN (166): 'test-ael01_nollt.R:7:3', 'test-ael01_nollt.R:20:3',
    'test-ael01_nollt.R:33:3', 'test-ael01_nollt.R:48:3', 'test-aet01.R:12:3',
    'test-aet01.R:29:3', 'test-aet01.R:35:3', 'test-aet01.R:65:3',
    'test-aet01_aesi.R:17:3', 'test-aet01_aesi.R:30:3', 'test-aet01_aesi.R:36:3',
    'test-aet02.R:30:3', 'test-aet03.R:10:3', 'test-aet03.R:27:3',
    'test-aet04.R:10:3', 'test-aet04.R:32:3', 'test-aet05.R:7:3',
    'test-aet05.R:24:3', 'test-aet05_all.R:7:3', 'test-aet05_all.R:21:3',
    'test-aet10.R:10:3', 'test-aet10.R:24:3', 'test-cfbt01.R:7:3',
    'test-cfbt01.R:22:3', 'test-chevron_tlg-methods.R:5:3',
    'test-chevron_tlg-methods.R:13:3', 'test-chevron_tlg-methods.R:18:3',
    'test-chevron_tlg-methods.R:25:3', 'test-chevron_tlg-methods.R:42:3',
    'test-chevron_tlg-methods.R:48:3', 'test-chevron_tlg-methods.R:67:3',
    'test-chevron_tlg-methods.R:203:3', 'test-chevron_tlg-methods.R:216:3',
    'test-chevron_tlg-methods.R:220:3', 'test-cmt01a.R:7:3',
    'test-cmt01a.R:19:3', 'test-cmt01a.R:33:3', 'test-cmt01a.R:41:3',
    'test-cmt02_pt.R:9:3', 'test-cmt02_pt.R:17:3', 'test-coxt01.R:6:3',
    'test-coxt02.R:5:3', 'test-default_tlg.R:5:3', 'test-default_tlg.R:12:3',
    'test-default_tlg.R:19:3', 'test-default_tlg.R:26:3',
    'test-default_tlg.R:33:3', 'test-default_tlg.R:40:3',
    'test-default_tlg.R:47:3', 'test-default_tlg.R:54:3',
    'test-default_tlg.R:61:3', 'test-default_tlg.R:68:3',
    'test-default_tlg.R:78:3', 'test-default_tlg.R:86:3',
    'test-default_tlg.R:93:3', 'test-default_tlg.R:100:3',
    'test-default_tlg.R:107:3', 'test-dmt01.R:8:3', 'test-dmt01.R:15:3',
    'test-dmt01.R:20:3', 'test-dmt01.R:25:3', 'test-dmt01.R:30:3',
    'test-dmt01.R:37:3', 'test-dmt01.R:50:3', 'test-dmt01.R:63:3',
    'test-dmt01.R:74:3', 'test-dst01.R:11:3', 'test-dst01.R:22:3',
    'test-dst01.R:29:3', 'test-dst01.R:39:3', 'test-dst01.R:44:3',
    'test-dst01.R:49:3', 'test-dst01.R:56:3', 'test-dtht01.R:12:3',
    'test-dtht01.R:19:3', 'test-dtht01.R:30:3', 'test-egt01.R:7:3',
    'test-egt01.R:20:3', 'test-egt02.R:7:3', 'test-egt02.R:14:3',
    'test-egt03.R:7:3', 'test-egt03.R:28:3', 'test-egt05_qtcat.R:7:3',
    'test-egt05_qtcat.R:28:3', 'test-ext01.R:7:3', 'test-ext01.R:15:3',
    'test-ext01.R:23:3', 'test-ext01.R:36:3', 'test-ext01.R:47:3',
    'test-ext01.R:57:3', 'test-ext01.R:68:3', 'test-lbt01.R:7:3',
    'test-lbt01.R:16:3', 'test-lbt01.R:29:3', 'test-lbt04.R:7:3',
    'test-lbt04.R:20:3', 'test-lbt04.R:31:3', 'test-lbt04.R:39:3',
    'test-lbt05.R:7:3', 'test-lbt05.R:36:3', 'test-lbt06.R:20:3',
    'test-lbt07.R:7:3', 'test-lbt07.R:22:3', 'test-lbt14.R:7:3',
    'test-lbt14.R:14:3', 'test-lbt14.R:21:3', 'test-lbt14.R:28:3',
    'test-lbt14.R:41:3', 'test-lbt14.R:60:3', 'test-lbt14.R:67:3',
    'test-lbt14.R:92:3', 'test-lbt14.R:111:3', 'test-lbt14.R:119:3',
    'test-lbt15.R:7:3', 'test-lbt15.R:20:3', 'test-lbt15.R:31:3',
    'test-lbt15.R:42:3', 'test-lbt15.R:50:3', 'test-lbt15.R:58:3',
    'test-mht01.R:7:3', 'test-mht01.R:15:3', 'test-mht01.R:21:3',
    'test-mng01.R:7:3', 'test-mng01.R:25:3', 'test-mng01.R:52:3',
    'test-mng01.R:63:3', 'test-mng01.R:75:3', 'test-mng01.R:89:3',
    'test-mng01.R:101:3', 'test-pdt01.R:7:3', 'test-pdt01.R:21:3',
    'test-pdt01.R:36:3', 'test-pdt02.R:7:3', 'test-pdt02.R:21:3',
    'test-pdt02.R:36:3', 'test-rmpt01.R:7:3', 'test-rmpt01.R:17:3',
    'test-rmpt01.R:31:3', 'test-rmpt03.R:10:3', 'test-rmpt03.R:22:3',
    'test-rmpt03.R:38:3', 'test-rmpt04.R:7:3', 'test-rmpt04.R:17:3',
    'test-rmpt04.R:34:3', 'test-rmpt05.R:7:3', 'test-rmpt05.R:17:3',
    'test-rmpt05.R:34:3', 'test-rmpt06.R:8:3', 'test-rmpt06.R:16:3',
    'test-rmpt06.R:29:3', 'test-rspt01.R:5:3', 'test-rspt01.R:17:3',
    'test-rspt01.R:36:3', 'test-rspt01.R:55:3', 'test-rspt01.R:74:3',
    'test-rspt01.R:97:3', 'test-rspt01.R:123:3', 'test-ttet01.R:10:3',
    'test-ttet01.R:22:3', 'test-ttet01.R:44:3', 'test-ttet01.R:66:3',
    'test-utils.R:88:1', 'test-vst01.R:7:3', 'test-vst01.R:14:3',
    'test-vst02.R:7:3', 'test-vst02.R:14:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-fstg01.R:7:3'): fstg01 works as expected ─────────────────────
  grid::is.grob(raw_res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-fstg01.R:16:3'): fstg01 works as expected with custom color set ──
  grid::is.grob(res1) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-fstg01.R:19:3'): fstg01 works as expected with custom color set ──
  grid::is.grob(res2) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-fstg01.R:26:3'): fstg01 works if changes are in subgroups, conf_level, and label_all ──
  grid::is.grob(res1) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-fstg01.R:32:3'): fstg01 works if changes are in subgroups, conf_level, and label_all ──
  grid::is.grob(res2) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-fstg01.R:42:3'): fstg01 can handle some NA values in subgroups ──
  grid::is.grob(res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error ('test-fstg02.R:7:3'): fstg02 works as expected ───────────────────────
  Error in `eval(code, test_env)`: Assertion on 'grid::is.grob(raw_res)' failed: Must be TRUE.
  Backtrace:
      ▆
   1. └─checkmate::assert_true(grid::is.grob(raw_res)) at test-fstg02.R:7:3
   2.   └─checkmate::makeAssertion(x, res, .var.name, add)
   3.     └─checkmate:::mstop(...)
  ── Error ('test-fstg02.R:16:3'): fstg02 works as expected with custom color set ──
  Error in `eval(code, test_env)`: Assertion on 'grid::is.grob(res1)' failed: Must be TRUE.
  Backtrace:
      ▆
   1. └─checkmate::assert_true(grid::is.grob(res1)) at test-fstg02.R:16:3
   2.   └─checkmate::makeAssertion(x, res, .var.name, add)
   3.     └─checkmate:::mstop(...)
  ── Error ('test-fstg02.R:26:3'): fstg02 works if changes are in subgroups, strata_var, conf_level, and label_all ──
  Error in `eval(code, test_env)`: Assertion on 'grid::is.grob(res1)' failed: Must be TRUE.
  Backtrace:
      ▆
   1. └─checkmate::assert_true(grid::is.grob(res1)) at test-fstg02.R:26:3
   2.   └─checkmate::makeAssertion(x, res, .var.name, add)
   3.     └─checkmate:::mstop(...)
  ── Error ('test-fstg02.R:42:3'): fstg02 can handle some NA values in subgroups ──
  Error in `eval(code, test_env)`: Assertion on 'grid::is.grob(res)' failed: Must be TRUE.
  Backtrace:
      ▆
   1. └─checkmate::assert_true(grid::is.grob(res)) at test-fstg02.R:42:3
   2.   └─checkmate::makeAssertion(x, res, .var.name, add)
   3.     └─checkmate:::mstop(...)
  ── Error ('test-fstg02.R:56:3'): fstg02 can handle customized time units ───────
  Error in `eval(code, test_env)`: Assertion on 'grid::is.grob(res1)' failed: Must be TRUE.
  Backtrace:
      ▆
   1. └─checkmate::assert_true(grid::is.grob(res1)) at test-fstg02.R:56:3
   2.   └─checkmate::makeAssertion(x, res, .var.name, add)
   3.     └─checkmate:::mstop(...)
  ── Failure ('test-kmg01.R:7:3'): kmg01 works as expected ───────────────────────
  grid::is.grob(raw_res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-kmg01.R:21:3'): kmg01 works as expected with custom color set ──
  grid::is.grob(res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-kmg01.R:23:3'): kmg01 works as expected with custom color set ──
  grid::is.grob(res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-kmg01.R:34:3'): kmg01 works if change pvalue, ties and conf level ──
  grid::is.grob(res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-kmg01.R:44:3'): kmg01 works if change annotation position ────
  grid::is.grob(res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-kmg01.R:55:3'): kmg01 works for stratified anlaysis ──────────
  grid::is.grob(res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 17 | WARN 33 | SKIP 167 | PASS 283 ]
  Deleting unused snapshots:
  • mng01/run-mng01-with-custom-unnamed-color-set.svg
  Error: Test failures
  Execution halted