* using log directory 'd:/RCompile/CRANincoming/R-devel/MLSP.Rcheck' * using R Under development (unstable) (2025-09-17 r88852 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 'MLSP/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'MLSP' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Pengyuan Chen ' New submission * 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 'MLSP' 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 ... NOTE Non-standard file/directory found at top level: 'MLSP.Rproj' * 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 lasso_preprocess: no visible global function definition for 'cv.glmnet' ml_f: no visible binding for global variable 'spectral_data' ml_f: no visible binding for global variable 'lab_data_in_vector' msd.comp: no visible global function definition for 'cor' msd.comp: no visible global function definition for 'lm' msd.comp: no visible global function definition for 'coefficients' msd.comp: no visible global function definition for 'var' msd.comp: no visible global function definition for 'sd' msd.comp: no visible global function definition for 'quantile' sg.c.11.0: no visible binding for global variable 'sgolayfilt' sg.c.11.1: no visible binding for global variable 'sgolayfilt' sg.c.11.2: no visible binding for global variable 'sgolayfilt' sg.c.5.0: no visible binding for global variable 'sgolayfilt' sg.c.5.1: no visible binding for global variable 'sgolayfilt' sg.c.5.2: no visible binding for global variable 'sgolayfilt' sg.c.7.0: no visible binding for global variable 'sgolayfilt' sg.c.7.1: no visible binding for global variable 'sgolayfilt' sg.c.7.2: no visible binding for global variable 'sgolayfilt' sg.c.9.0: no visible binding for global variable 'sgolayfilt' sg.c.9.1: no visible binding for global variable 'sgolayfilt' sg.c.9.2: no visible binding for global variable 'sgolayfilt' sg.l.11.0: no visible binding for global variable 'sgolayfilt' sg.l.11.1: no visible binding for global variable 'sgolayfilt' sg.l.3.0: no visible binding for global variable 'sgolayfilt' sg.l.3.1: no visible binding for global variable 'sgolayfilt' sg.l.5.0: no visible binding for global variable 'sgolayfilt' sg.l.5.1: no visible binding for global variable 'sgolayfilt' sg.l.7.0: no visible binding for global variable 'sgolayfilt' sg.l.7.1: no visible binding for global variable 'sgolayfilt' sg.l.9.0: no visible binding for global variable 'sgolayfilt' sg.l.9.1: no visible binding for global variable 'sgolayfilt' sg.q.11.0: no visible binding for global variable 'sgolayfilt' sg.q.11.1: no visible binding for global variable 'sgolayfilt' sg.q.11.2: no visible binding for global variable 'sgolayfilt' sg.q.3.0: no visible binding for global variable 'sgolayfilt' sg.q.3.1: no visible binding for global variable 'sgolayfilt' sg.q.3.2: no visible binding for global variable 'sgolayfilt' sg.q.5.0: no visible binding for global variable 'sgolayfilt' sg.q.5.1: no visible binding for global variable 'sgolayfilt' sg.q.5.2: no visible binding for global variable 'sgolayfilt' sg.q.7.0: no visible binding for global variable 'sgolayfilt' sg.q.7.1: no visible binding for global variable 'sgolayfilt' sg.q.7.2: no visible binding for global variable 'sgolayfilt' sg.q.9.0: no visible binding for global variable 'sgolayfilt' sg.q.9.1: no visible binding for global variable 'sgolayfilt' sg.q.9.2: no visible binding for global variable 'sgolayfilt' snv : : no visible global function definition for 'sd' Undefined global functions or variables: coefficients cor cv.glmnet lab_data_in_vector lm quantile sd sgolayfilt spectral_data var Consider adding importFrom("stats", "coefficients", "cor", "lm", "quantile", "sd", "var") 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 ... WARNING Undocumented code objects: 'data_NaturaSpec_cleaned' 'soil' Undocumented data sets: 'data_NaturaSpec_cleaned' 'soil' All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * 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 LazyData ... OK * checking data for ASCII and uncompressed saves ... WARNING Note: significantly better compression could be obtained by using R CMD build --resave-data old_size new_size compress data_NaturaSpec_cleaned.RData 3.5Mb 2.4Mb xz * checking examples ... OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... OK * DONE Status: 2 WARNINGs, 3 NOTEs