* using log directory ‘/srv/hornik/tmp/CRAN_pretest/dtlcor.Rcheck’ * using R Under development (unstable) (2025-03-17 r87990) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (1+b1) Debian flang-new version 19.1.7 (1+b1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘dtlcor/DESCRIPTION’ ... OK * this is package ‘dtlcor’ version ‘0.0.0.9000’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Weibin Zhong ’ New submission Version contains large components (0.0.0.9000) The Title field should be in title case. Current version is: ‘R package for "Multiplicity Control in Oncology Clinical Trials with a Surrogate Endpoint-Based Drop-The-Losers Design"’ In title case that is: ‘R Package for "Multiplicity Control in Oncology Clinical Trials with a Surrogate Endpoint-Based Drop-the-Losers Design"’ * 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 ‘dtlcor’ can be installed ... [5s/5s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: ‘LICENSE.md’ * 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 ... [2s/2s] OK * checking whether the package can be unloaded cleanly ... [2s/2s] 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 ... [8s/8s] NOTE dtl_app_get_alpha_t: no visible binding for global variable ‘alpha_s’ dtl_app_sim: no visible binding for global variable ‘I_21’ dtl_app_sim: no visible binding for global variable ‘rej’ dtl_app_sim_single: no visible binding for global variable ‘tt’ dtl_app_sim_single: no visible binding for global variable ‘censor’ Undefined global functions or variables: I_21 alpha_s censor rej tt * 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 examples ... [2s/2s] ERROR Running examples in ‘dtlcor-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: dtl_app_sim > ### Title: Simulation study for drop-the-losers (DTL) trial. > ### Aliases: dtl_app_sim > > ### ** Examples > > # Inputs > nsim = 100 > D = 162 > N = 152 > n = 80 > mPFS = c(180, 276, 300) > q = c(0.2, 0.4, 0.5) > gamma = 0.15 > delta = 0.05 > drop_rate = 0.05 > enroll = 20 * 12 / 365.25 > interim_t = c(0.5, 1) > > # Run function > dtl_app_sim(nsim, alpha_t, D, N, n, mPFS, q, gamma, delta, drop_rate, enroll, interim_t) Error: object 'alpha_t' not found Execution halted * checking PDF version of manual ... [2s/2s] 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, 3 NOTEs