* using log directory ‘/srv/hornik/tmp/CRAN_pretest/WARDEN.Rcheck’ * using R Under development (unstable) (2025-10-07 r88905) * 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 ‘WARDEN/DESCRIPTION’ ... OK * this is package ‘WARDEN’ version ‘2.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/6s] OK * 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 serialization versions ... OK * checking whether package ‘WARDEN’ can be installed ... [27s/27s] OK * used C++ compiler: ‘Debian clang version 19.1.7 (7)’ * checking C++ specification ... NOTE Specified C++11: please drop specification unless essential * 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 ... [2s/2s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK * checking whether the namespace can be unloaded cleanly ... [2s/2s] OK * checking loading without being on the library search path ... [2s/2s] 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/13s] OK * checking Rd files ... [0s/0s] NOTE checkRd: (-1) add_item.Rd:30: Lost braces; missing escapes or markup? 30 | e.g. add_item(input = {a <- 5}) | ^ * 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 line endings in C/C++/Fortran sources/headers ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [10s/10s] ERROR Running examples in ‘WARDEN-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: run_sim_parallel > ### Title: Run simulations in parallel mode (at the simulation level) > ### Aliases: run_sim_parallel > > ### ** Examples > > library(magrittr) > common_all_inputs <-add_item( + util.sick = 0.8, + util.sicker = 0.5, + cost.sick = 3000, + cost.sicker = 7000, + cost.int = 1000, + coef_noint = log(0.2), + HR_int = 0.8, + drc = 0.035, #different values than what's assumed by default + drq = 0.035, + random_seed_sicker_i = sample.int(100000,5,replace = FALSE) + ) > > common_pt_inputs <- add_item(death= max(0.0000001,rnorm(n=1, mean=12, sd=3))) > > unique_pt_inputs <- add_item(fl.sick = 1, + q_default = util.sick, + c_default = cost.sick + if(arm=="int"){cost.int}else{0}) > > init_event_list <- + add_tte(arm=c("noint","int"), evts = c("sick","sicker","death") ,input={ + sick <- 0 + sicker <- draw_tte(1,dist="exp", + coef1=coef_noint, beta_tx = ifelse(arm=="int",HR_int,1), + seed = random_seed_sicker_i[i]) + + }) > > evt_react_list <- + add_reactevt(name_evt = "sick", + input = {}) %>% + add_reactevt(name_evt = "sicker", + input = { + q_default <- util.sicker + c_default <- cost.sicker + if(arm=="int"){cost.int}else{0} + fl.sick <- 0 + }) %>% + add_reactevt(name_evt = "death", + input = { + q_default <- 0 + c_default <- 0 + curtime <- Inf + }) > > util_ongoing <- "q_default" > cost_ongoing <- "c_default" > > > run_sim_parallel(arm_list=c("int","noint"), + common_all_inputs = common_all_inputs, + common_pt_inputs = common_pt_inputs, + unique_pt_inputs = unique_pt_inputs, + init_event_list = init_event_list, + evt_react_list = evt_react_list, + util_ongoing_list = util_ongoing, + cost_ongoing_list = cost_ongoing, + npats = 2, + n_sim = 1, + psa_bool = FALSE, + ipd = 1, + ncores = 1) Analysis number: 1 Simulation number: 1 Warning: Caught simpleError. Canceling all iterations ... Error in get("continue_on_error", caller, inherits = TRUE) : object 'continue_on_error' not found Calls: run_sim_parallel ... tryCatchList -> tryCatchOne -> -> onError setup:common_all_inputs; Analysis 1; Simulation 1; An error occurred somewhere. Traceback available through traceback() Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [10s/10s] OK Running ‘testthat.R’ [10s/10s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [24s/24s] OK * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs