* using log directory 'd:/Rcompile/CRANpkg/local/4.4/chevron.Rcheck' * using R version 4.4.0 RC (2024-04-16 r86468 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'chevron/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'chevron' version '0.2.5' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'chevron' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] OK * checking whether startup messages can be suppressed ... [3s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [13s] OK * checking Rd files ... [3s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [82s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [374s] ERROR Running 'testthat.R' [374s] 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [147s] OK * checking PDF version of manual ... [28s] OK * checking HTML version of manual ... [25s] OK * DONE Status: 1 ERROR