* using log directory 'd:/RCompile/CRANincoming/R-devel/SimTrialMCP.Rcheck' * using R Under development (unstable) (2025-07-30 r88476 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 'SimTrialMCP/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'SimTrialMCP' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Mengyu Fang ' New submission Possibly misspelled words in DESCRIPTION: interm (22:71) * 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 serialization versions ... OK * checking whether package 'SimTrialMCP' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... NOTE CPtoZ1: no visible global function definition for 'qnorm' Z1toCP1: no visible global function definition for 'pnorm' data_sim: no visible global function definition for 'rexp' data_sim: no visible global function definition for 'runif' find_tstar: no visible global function definition for 'qnorm' get_adjusted_p : : no visible global function definition for 'combn' get_rd_lambda_zprd: no visible global function definition for 'rnorm' grid_design: no visible global function definition for 'na.omit' grid_design: no visible binding for global variable 'Scenario #' grid_design: no visible binding for global variable 'Value' grid_design: no visible binding for global variable 'Metric' grid_design: no visible global function definition for 'write.csv' summary_function: no visible global function definition for 'aggregate' summary_function : : no visible global function definition for 'aggregate' summary_function: no visible global function definition for 'setNames' trial_design: no visible global function definition for 'qnorm' trial_design: no visible binding for global variable 'ts_w' trial_design: no visible global function definition for 'pnorm' Undefined global functions or variables: Metric Scenario # Value aggregate combn na.omit pnorm qnorm rexp rnorm runif setNames ts_w write.csv Consider adding importFrom("stats", "aggregate", "na.omit", "pnorm", "qnorm", "rexp", "rnorm", "runif", "setNames") importFrom("utils", "combn", "write.csv") to your NAMESPACE file. * checking Rd files ... 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 ... [26s] NOTE Examples with CPU (user + system) or elapsed time > 10s user system elapsed trial_design 22.24 1.05 23.28 * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 3 NOTEs