* using log directory 'd:/RCompile/CRANincoming/R-devel/cifmodeling.Rcheck' * using R Under development (unstable) (2025-10-10 r88914 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 'cifmodeling/DESCRIPTION' ... OK * this is package 'cifmodeling' version '0.2.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'ST ' New submission Possibly misspelled words in DESCRIPTION: Aalen (8:259) CIFs (8:191) IPCW (8:456) Johansen (8:265) Kaplan (8:234) ggsurvfit (8:687) modelsummary (8:701) subdistribution (8:514) survfit (8:328) * 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 'cifmodeling' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... NOTE Maintainer field differs from that derived from Authors@R Maintainer: 'ST ' Authors@R: 'Shiro Tanaka ' * 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 ... [15s] NOTE create_rr_text: warning in round(exp(coef), digit = 2): partial argument match of 'digit' to 'digits' create_rr_text: warning in round(exp(conf_low), digit = 2): partial argument match of 'digit' to 'digits' create_rr_text: warning in round(exp(conf_high), digit = 2): partial argument match of 'digit' to 'digits' calculateCI: no visible global function definition for 'qnorm' calculateCI_old: no visible global function definition for 'qnorm' calculateIPCW: no visible global function definition for 'terms' calculateIPCW: no visible global function definition for 'model.extract' calculateIPCWMatrix: no visible global function definition for 'terms' calculateIPCWMatrix: no visible global function definition for 'model.extract' calculateIPCW_phreg: no visible global function definition for 'terms' calculateIPCW_phreg: no visible global function definition for 'model.extract' calculateIPCW_phreg: no visible global function definition for 'phreg' calculateJackKnife: no visible global function definition for 'var' calculateJackKnifeSE: no visible global function definition for 'var' calculateRMST: no visible global function definition for 'qnorm' call_ggsurvfit: no visible binding for global variable 'time' call_ggsurvfit: no visible binding for global variable 'y' call_ggsurvfit: no visible binding for global variable 'strata' checkInput: no visible global function definition for 'terms' checkInput: no visible global function definition for 'model.extract' checkInput: no visible global function definition for 'model.matrix' cifcurve: no visible binding for global variable 'na.omit' createAnalysisDataset: no visible binding for global variable 'na.pass' createCensoringFormula: no visible global function definition for 'as.formula' create_rr_text: no visible global function definition for 'qnorm' create_rr_text: no visible global function definition for 'pnorm' estimating_equation_ipcw: no visible global function definition for 'terms' estimating_equation_ipcw: no visible global function definition for 'model.extract' estimating_equation_ipcw: no visible global function definition for 'model.matrix' getCoef: no visible global function definition for 'qnorm' getCoef: no visible global function definition for 'pnorm' getCoefTerm: no visible global function definition for 'terms' getInitialValues: no visible global function definition for 'terms' getInitialValues: no visible global function definition for 'model.extract' getInitialValues: no visible global function definition for 'model.matrix' getInitialValues : fit_init: no visible global function definition for 'binomial' getInitialValues : fit_init: no visible global function definition for 'glm' getInitialValues : fit_init: no visible global function definition for 'coef' getInitialValuesProportional: no visible global function definition for 'terms' getInitialValuesProportional: no visible global function definition for 'model.extract' get_surv: no visible global function definition for 'head' normalizeCovariate: no visible global function definition for 'model.frame' normalizeCovariate: no visible global function definition for 'model.extract' polyreg: no visible binding for global variable 'na.omit' polyreg : is_stalled: no visible global function definition for 'tail' polyreg: no visible global function definition for 'qnorm' polyreg: no visible global function definition for 'pnorm' polyreg: no visible binding for global variable 'sd' readSurv: no visible binding for global variable 'na.omit' readSurv: no visible global function definition for 'terms' readSurv: no visible global function definition for 'model.extract' read_time.point: no visible global function definition for 'terms' read_time.point: no visible global function definition for 'model.extract' reportEffects: no visible global function definition for 'median' simRR: no visible global function definition for 'rbinom' simRR: no visible global function definition for 'simsubdist' simRR: no visible global function definition for 'dtransform' simRR: no visible binding for global variable 'time2' simRR: no visible global function definition for 'rexp' solveEstimatingEquation : is_stalled: no visible global function definition for 'tail' Undefined global functions or variables: as.formula binomial coef dtransform glm head median model.extract model.frame model.matrix na.omit na.pass phreg pnorm qnorm rbinom rexp sd simsubdist strata tail terms time time2 var y Consider adding importFrom("stats", "as.formula", "binomial", "coef", "glm", "median", "model.extract", "model.frame", "model.matrix", "na.omit", "na.pass", "pnorm", "qnorm", "rbinom", "rexp", "sd", "terms", "time", "var") importFrom("utils", "head", "tail") 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... 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 ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [19s] ERROR Running 'testthat.R' [19s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(cifmodeling) > > test_check("cifmodeling") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-polyreg.R:65:3'): polyreg() produced expected SE for common effects from competing-risks data ── `tested` (`actual`) not equal to `expected` (`expected`). `actual`: 3.8 `expected`: 4.9 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [11s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 3 NOTEs