* using log directory 'd:/Rcompile/CRANpkg/local/4.7/crmPack.Rcheck' * using R Under development (unstable) (2026-07-26 r90304 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-07-28 11:41:29 UTC * using option '--no-vignettes' * checking for file 'crmPack/DESCRIPTION' ... OK * this is package 'crmPack' version '2.2.0' * 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 'crmPack' can be installed ... OK * checking installed package size ... INFO installed size is 9.1Mb sub-directories of 1Mb or more: R 1.9Mb doc 4.5Mb help 1.5Mb * 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 ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] 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 ... [50s] NOTE Found calls to structure() using deprecated special names: crmPack/tests/testthat/test-mcmc.R (.Dim: 1) '.Dim' should be changed to 'dim'. * checking Rd files ... [9s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [120s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [101s] ERROR Running 'test-package-load.R' [3s] Running 'testthat.R' [98s] Running the tests in 'tests/testthat.R' failed. Complete output: > pkg_name <- "crmPack" > library(pkg_name, character.only = TRUE) Loading required package: ggplot2 Registered S3 method overwritten by 'crmPack': method from print.gtable gtable Type crmPackHelp() to open help browser Type crmPackExample() to open example > testthat::test_check(pkg_name) Used default patient IDs! Used default patient IDs! Used default patient IDs! Used default patient IDs! Used default patient IDs! Used default patient IDs! Used default patient IDs! Used default patient IDs! Used default patient IDs! Used default patient IDs! Used default patient IDs! Used default patient IDs! Used default patient IDs! Used best guess cohort indices! Used default patient IDs! Used best guess cohort indices! NULL Saving _problems/test-helpers_design-10.R Saving _problems/test-helpers_design-15.R [ FAIL 2 | WARN 1 | SKIP 144 | PASS 3878 ] ══ Skipped tests (144) ═════════════════════════════════════════════════════════ • On CRAN (131): 'test-CrmPackClass-class.R:33:3', 'test-CrmPackClass-methods.R:33:3', 'test-CrmPackClass-methods.R:93:3', 'test-Data-methods.R:3:1', 'test-Data-methods.R:27:1', 'test-Data-methods.R:34:1', 'test-Data-methods.R:41:1', 'test-Data-methods.R:51:1', 'test-Data-methods.R:63:1', 'test-Data-methods.R:70:1', 'test-Data-methods.R:82:1', 'test-Data-methods.R:89:1', 'test-Data-methods.R:101:1', 'test-Data-methods.R:108:1', 'test-Data-methods.R:115:1', 'test-Design-methods.R:3:1', 'test-HierarchicalModel.R:35:1', 'test-HierarchicalModel.R:41:1', 'test-HierarchicalModel.R:479:1', 'test-HierarchicalModel.R:1103:1', 'test-Model-class.R:81:1', 'test-Model-class.R:90:1', 'test-Model-class.R:127:1', 'test-Model-class.R:136:1', 'test-Model-class.R:173:1', 'test-Model-class.R:182:1', 'test-Model-class.R:219:1', 'test-Model-class.R:228:1', 'test-Model-class.R:264:1', 'test-Model-class.R:273:1', 'test-Model-class.R:306:1', 'test-Model-class.R:315:1', 'test-Model-class.R:348:1', 'test-Model-class.R:357:1', 'test-Model-class.R:402:1', 'test-Model-class.R:411:1', 'test-Model-class.R:456:1', 'test-Model-class.R:465:1', 'test-Model-class.R:520:1', 'test-Model-class.R:536:1', 'test-Model-class.R:583:1', 'test-Model-class.R:592:1', 'test-Model-class.R:645:1', 'test-Model-class.R:661:1', 'test-Model-class.R:677:1', 'test-Model-class.R:693:1', 'test-Model-class.R:713:1', 'test-Model-class.R:729:1', 'test-Model-class.R:745:1', 'test-Model-class.R:761:1', 'test-Model-class.R:852:1', 'test-Model-class.R:868:1', 'test-Model-class.R:907:1', 'test-Model-class.R:923:1', 'test-Model-class.R:971:1', 'test-Model-class.R:987:1', 'test-Model-class.R:1003:1', 'test-Model-class.R:1019:1', 'test-Model-class.R:1062:1', 'test-Model-class.R:1071:1', 'test-Model-class.R:1096:1', 'test-Model-class.R:1105:1', 'test-Model-class.R:1140:1', 'test-Model-class.R:1148:1', 'test-Model-class.R:1156:1', 'test-Model-class.R:1164:1', 'test-Model-class.R:1217:1', 'test-Model-class.R:1226:1', 'test-Model-class.R:1263:1', 'test-Model-class.R:1272:1', 'test-Model-class.R:1281:1', 'test-Model-class.R:1290:1', 'test-Model-class.R:1299:1', 'test-Model-class.R:1308:1', 'test-Model-class.R:1345:1', 'test-Model-class.R:1354:1', 'test-Model-class.R:1363:1', 'test-Model-class.R:1372:1', 'test-Model-class.R:1381:1', 'test-Model-class.R:1390:1', 'test-Model-class.R:1486:1', 'test-Model-class.R:1495:1', 'test-Model-class.R:1610:1', 'test-Model-class.R:1619:1', 'test-Model-class.R:1675:1', 'test-Model-class.R:1684:1', 'test-Model-methods.R:3:1', 'test-Model-methods.R:2767:1', 'test-Model-methods.R:2775:1', 'test-Model-validity.R:126:1', 'test-Model-validity.R:223:1', 'test-Model-validity.R:354:1', 'test-Model-validity.R:465:1', 'test-Model-validity.R:473:1', 'test-Model-validity.R:482:1', 'test-Model-validity.R:503:1', 'test-Model-validity.R:513:1', 'test-Model-validity.R:533:1', 'test-Model-validity.R:547:1', 'test-Model-validity.R:880:1', 'test-Model-validity.R:898:1', 'test-Simulations-methods.R:3:1', 'test-fromQuantiles.R:178:3', 'test-fromQuantiles.R:225:3', 'test-fromQuantiles.R:249:3', 'test-fromQuantiles.R:294:3', 'test-fromQuantiles.R:315:3', 'test-fromQuantiles.R:335:3', 'test-helpers-simulations.R:1:1', 'test-helpers.R:69:1', 'test-helpers.R:81:1', 'test-helpers.R:96:1', 'test-helpers.R:835:1', 'test-helpers.R:843:1', 'test-helpers_data.R:1:1', 'test-helpers_jags.R:254:1', 'test-helpers_jags.R:265:1', 'test-helpers_knitr_GeneralModel.R:1:1', 'test-helpers_knitr_NextBest.R:318:1', 'test-helpers_rules.R:250:1', 'test-helpers_rules.R:297:1', 'test-helpers_rules.R:359:1', 'test-helpers_rules.R:402:1', 'test-helpers_rules.R:418:1', 'test-helpers_rules.R:436:1', 'test-helpers_rules.R:456:1', 'test-helpers_rules.R:478:1', 'test-helpers_rules.R:499:1', 'test-helpers_rules.R:522:1', 'test-helpers_rules.R:537:1', 'test-sas-results-part-1.R:100:3' • On CRAN, but not on CI (13): 'test-Design-methods.R:7:1', 'test-HierarchicalDesign-methods.R:4:1', 'test-Rules-methods.R:1:1', 'test-Samples-methods.R:1:1', 'test-Simulations-methods.R:7:1', 'test-helpers_knitr.R:1:1', 'test-sas-results-part-1.R:4:3', 'test-sas-results-part-1.R:197:3', 'test-sas-results-part-1.R:303:3', 'test-sas-results-part-2.R:4:3', 'test-sas-results-part-2.R:127:3', 'test-sas-results-part-2.R:250:3', 'test-sas-results-part-2.R:373:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-helpers_design.R:10:3'): set_seed returns correct value if seed is a value ── Expected `rng_state` to equal `seed_int`. Differences: `attr(actual, 'kind')` is length 4 `attr(expected, 'kind')` is length 3 `attr(actual, 'kind')[[4]]` is a character vector ('BTPE') `attr(expected, 'kind')[[4]]` is absent ── Failure ('test-helpers_design.R:15:3'): set_seed returns correct value if seed is a value ── Expected `rng_state` to equal `seed_int`. Differences: `attr(actual, 'kind')` is length 4 `attr(expected, 'kind')` is length 3 `attr(actual, 'kind')[[4]]` is a character vector ('BTPE') `attr(expected, 'kind')[[4]]` is absent [ FAIL 2 | WARN 1 | SKIP 144 | PASS 3878 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking running R code from vignettes ... SKIPPED * checking re-building of vignette outputs ... SKIPPED * checking PDF version of manual ... [42s] OK * checking HTML version of manual ... [32s] OK * DONE Status: 1 ERROR, 1 NOTE