* using log directory 'd:/RCompile/CRANincoming/R-devel/eligmodel.Rcheck' * using R Under development (unstable) (2025-11-23 r89052 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'eligmodel/DESCRIPTION' ... OK * this is package 'eligmodel' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Thomas Jemielita ' New submission Possibly misspelled words in DESCRIPTION: RShiny (17:95) RWD (14:81, 15:92) eligmodel (2:8, 14:18) The Title field starts with the package name. The Title field should be in title case. Current version is: 'eligmodel: An R Package to Identify and Augment Trial-Eligible Patients in Real-World Data' In title case that is: 'Eligmodel: An R Package to Identify and Augment Trial-Eligible Patients in Real-World Data' The Description field contains \url{https://pubmed.ncbi.nlm.nih.gov/34415774/}. Please enclose URLs in angle brackets (<...>). * 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 'eligmodel' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE Author field differs from that derived from Authors@R Author: 'Thomas Jemielita [aut, cre], Celeste McFarlane [ctb], Gleicy Macedo Hair [ctb], Lei Ai [ctb], Yipeng Gao [ctb], Wei Gao [ctb], Merck & Co., Inc. Rahway, NJ, USA and its affiliates [cph] (Copyright holder)' Authors@R: 'Thomas Jemielita (MSD) [aut, cre], Celeste McFarlane (Analysis Group) [ctb], Gleicy Macedo Hair (MSD) [ctb], Lei Ai (MSD) [ctb], Yipeng Gao (Analysis Group) [ctb], Wei Gao (Analysis Group) [ctb], Merck & Co., Inc. Rahway, NJ, USA and its affiliates [cph] (Copyright holder)' Maintainer field differs from that derived from Authors@R Maintainer: 'Thomas Jemielita ' Authors@R: 'Thomas Jemielita (MSD) ' * checking top-level files ... NOTE File LICENSE is not mentioned in the DESCRIPTION file. Non-standard files/directories found at top level: 'LICENSES_THIRD_PARTY' 'README.Rmd' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... WARNING Found the following files with non-ASCII characters: R/Report.R R/home.R Portable packages must use only ASCII characters in their R code and NAMESPACE directives, except perhaps in comments. Use \uxxxx escapes for other characters. Function 'tools::showNonASCIIfile' can help in finding non-ASCII characters in files. * 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 ... [18s] NOTE baselineCharServer: no visible global function definition for 'setNames' eligProbServer : : no visible global function definition for 'write.csv' homeServer: no visible binding for global variable 'record_id' homeServer: no visible binding for global variable 'trial' homeServer: no visible binding for global variable 'rwd' homeServer: no visible binding for global variable 'cohort' homeServer: no visible global function definition for 'setNames' Undefined global functions or variables: cohort record_id rwd setNames trial write.csv Consider adding importFrom("stats", "setNames") importFrom("utils", "write.csv") to your NAMESPACE file. Found if() conditions comparing class() to string: File 'eligmodel/R/plot_elig.R': if (class(fit) == "elig_model") ... Use inherits() (or maybe is()) instead. * 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 ... OK * checking PDF version of manual ... [14s] OK * checking HTML version of manual ... OK * DONE Status: 1 WARNING, 4 NOTEs