* using log directory 'd:/Rcompile/CRANpkg/local/4.5/PUMP.Rcheck' * using R Under development (unstable) (2025-03-11 r87944 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'PUMP/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'PUMP' version '1.0.3' * 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 'PUMP' 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [11s] OK * checking Rd files ... [1s] 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 ... [21s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [29s] ERROR Running 'testthat.R' [29s] Running the tests in 'tests/testthat.R' failed. Complete output: > library( testthat ) > library( PUMP ) > > test_check("PUMP") mdes grid result: d2.1_m2fr d_m with 1 outcomes Varying across ICC.2 mdes grid result: d2.1_m2fr d_m with 1 outcomes Varying across ICC.2 nbar: 80 J: 23 Tbar: 0.5 alpha: 0.05 Level: 1: R2: 0.6 (5 covariates) 2: fixed effects ICC: *** omega: 0.4 rho = 0 MTP d_m ICC.2 Adjusted.MDES D1indiv.power SE 1 None d2.1_m2fr 0.2 0.1920792 0.8 0.005072143 2 None d2.1_m2fr 0.4 0.2571041 0.8 0.005072143 (max.steps = 20 tnum = 1000 start.tnum = 100 final.tnum = 4000 tol = 0.02) [ FAIL 1 | WARN 0 | SKIP 42 | PASS 238 ] ══ Skipped tests (42) ══════════════════════════════════════════════════════════ • On CRAN (42): 'test-cor.R:32:5', 'test-designs_three.R:14:1', 'test-designs_two.R:13:1', 'test-grid_functions.R:30:3', 'test-grid_functions.R:141:3', 'test-grid_functions.R:168:3', 'test-grid_functions.R:197:3', 'test-grid_functions.R:246:3', 'test-grid_functions.R:269:3', 'test-numZero_parameter.R:5:1', 'test-plots.R:4:1', 'test-porter-benchmark.R:6:5', 'test-pump_mdes.R:37:3', 'test-pump_mdes.R:118:3', 'test-pump_mdes.R:151:3', 'test-pump_mdes.R:175:5', 'test-pump_mdes.R:214:3', 'test-pump_mdes.R:232:3', 'test-pump_mdes.R:252:3', 'test-pump_mdes.R:323:5', 'test-pump_power.R:38:3', 'test-pump_power.R:96:3', 'test-pump_power.R:138:3', 'test-pump_power.R:163:3', 'test-pump_power.R:209:3', 'test-pump_power.R:244:5', 'test-pump_power.R:264:5', 'test-pump_power.R:284:3', 'test-pump_power.R:312:5', 'test-pump_power.R:361:3', 'test-pump_power.R:394:3', 'test-pump_power.R:415:5', 'test-pump_power.R:452:5', 'test-pump_power.R:552:5', 'test-pump_power.R:603:5', 'test-pump_power.R:645:5', 'test-pump_sample.R:423:5', 'test-pump_sample.R:488:5', 'test-pump_sample.R:561:5', 'test-pumpgridresult.R:37:5', 'test-update_functions.R:78:5', 'test-update_functions.R:107:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-pump_sample.R:233:3'): pump_sample 2 level/2 level ─────────── p2[2, "indiv.mean"] not equal to 0.8. 1/1 mismatches [1] 0.821 - 0.8 == 0.021 [ FAIL 1 | WARN 0 | SKIP 42 | PASS 238 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [55s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [12s] OK * DONE Status: 1 ERROR