* using log directory ‘/srv/hornik/tmp/CRAN_pretest/confidenceSim.Rcheck’ * using R Under development (unstable) (2025-10-13 r88918) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (7) Debian flang-new version 19.1.7 (7) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘confidenceSim/DESCRIPTION’ ... OK * this is package ‘confidenceSim’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘Freda Werdiger ’ New submission * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘confidenceSim’ can be installed ... [1s/1s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [3s/3s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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/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 ... [1s/1s] ERROR Running examples in ‘confidenceSim-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: runSingleTrial > ### Title: Frequentist Confidence-Adaptive Trial Simulation > ### Aliases: runSingleTrial > > ### ** Examples > > # Example of input list to generate a two-arm-two-stage trial with binary outcome data > > inputs <- list( + outcome.type = "BINARY", # binary outcome data + estimator.type = 'risk diff', # primary outcome is risk difference + lmb.threshold = 0.1, # risk difference < 0.1 lacks meaningful benefit + multiarm.mode='MONITOR FUTILITY', # only monitor for futility + alpha = 0.0125, # fixed alpha threshold to determine treatment efficacy + alloc.ratio = c(1,1), # allocation ratio + num.per.block = c(1,1), # number per block for blocked allocation + final.visit = 0, # time in days after which follow-up data becomes available + ppm = rep(25, 15), # patients accrued each month for the entire trial period. + looks = c(107, 214), # number of patients accrued at each look time, nmax = 214. + perpetual=FALSE, # not a perpetual trial. + resprate = c(0.5, 0.6), # response rate for each arm + lmb.conf.thres=0.95, # treatment arm is futility is the confidence in LMB is greater than 0.95 + special = paste0(0.5, '_', 0.6) # passing the response rates to special to add to the output + ) > # run a single simulation with these settings > conf <- runSingleTrial(input=inputs, save.plot=FALSE, print=TRUE, directory = '') Warning in gzfile(file, "wb") : cannot open compressed file '/978931/random_state_accrual.RData', probable reason 'No such file or directory' Error in gzfile(file, "wb") : cannot open the connection Calls: runSingleTrial -> save -> gzfile Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [4s/4s] OK Running ‘testthat.R’ [3s/3s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE