* using log directory 'd:/RCompile/CRANincoming/R-devel/lsdr.Rcheck' * using R Under development (unstable) (2023-08-05 r84874 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.2.0 GNU Fortran (GCC) 12.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'lsdr/DESCRIPTION' ... OK * this is package 'lsdr' version '0.0.0.9000' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Lee Last <2875620735@qq.com>' New submission Version contains large components (0.0.0.9000) Non-FOSS package license (`use_mit_license()`, `use_gpl3_license()` or friends to pick a license) Possibly misspelled words in DESCRIPTION: abnormol (2:41, 7:38) sd (2:17, 7:23) The Title field should be in title case. Current version is: 'mean and sd the col data without abnormol data' In title case that is: 'Mean and Sd the Col Data without Abnormol Data' The Description field should start with a capital letter. * 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 'lsdr' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... WARNING Non-standard license specification: `use_mit_license()`, `use_gpl3_license()` or friends to pick a license Standardizable: FALSE Authors@R field gives persons with invalid ORCID identifiers: Lee Last <2875620735@qq.com> [aut, cre] (YOUR-ORCID-ID) * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... WARNING Found the following file with non-ASCII characters: lsdr.R Portable packages must use only ASCII characters in their R code, except perhaps in comments. Use \uxxxx escapes for other characters. * 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 lsdr : ak: no visible global function definition for 'na.omit' lsdr : ak: no visible global function definition for 'sd' lsdr : se: no visible global function definition for 'na.omit' lsdr : se: no visible global function definition for 'sd' lsdr : me: no visible global function definition for 'na.omit' Undefined global functions or variables: na.omit sd Consider adding importFrom("stats", "na.omit", "sd") 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 ... ERROR Running examples in 'lsdr-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: lsdr > ### Title: Mean and sd without abnormal data > ### Aliases: lsdr > > ### ** Examples > > lsdr(mydata,a=3,b=22,x=3) Error: object 'mydata' not found Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... OK Running 'testthat.R' * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 2 NOTEs