* using log directory 'd:/RCompile/CRANincoming/R-devel/CTRing.Rcheck' * using R version 4.4.0 alpha (2024-04-03 r86327 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'CTRing/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'CTRing' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Robert Schneider ' New submission Possibly misspelled words in DESCRIPTION: profils (3:16, 7:27) The Title field should be in title case. Current version is: 'Density profils of wood from CT scan images' In title case that is: 'Density Profils of Wood from CT Scan Images' * 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 'CTRing' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... 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 ... [22s] NOTE Found an obsolete/platform-specific call in the following function: 'checkProfile' Found the platform-specific device: 'x11' dev.new() is the preferred way to open a new device, in the unlikely event one is needed. addRingFromImage: no visible binding for global variable 'path' addRingFromImage: no visible global function definition for 'locator' addRingFromProfile: no visible global function definition for 'locator' addRingFromProfile: no visible global function definition for 'abline' checkProfile: no visible global function definition for 'x11' checkProfile: no visible global function definition for 'locator' deleteRingFromImage: no visible binding for global variable 'path' deleteRingFromImage: no visible global function definition for 'locator' deleteRingFromProfile: no visible global function definition for 'locator' deleteRingFromProfile: no visible global function definition for 'abline' detect_pith: no visible global function definition for 'abline' findEwToLwTransition: no visible global function definition for 'approx' findEwToLwTransition: no visible global function definition for 'curve' findEwToLwTransition: no visible binding for global variable 'x' findEwToLwTransition: no visible global function definition for 'abline' findMax: no visible global function definition for 'optimize' getPolyCoefs: no visible global function definition for 'lm' getPolyCoefs: no visible global function definition for 'coef' locatePathEnd: no visible global function definition for 'dev.new' locatePathEnd: no visible binding for global variable 'pith_coord' locatePathEnd: no visible global function definition for 'locator' outliers2NA: no visible global function definition for 'IQR' plotImageProfile: no visible global function definition for 'dev.new' plotImageProfile: no visible global function definition for 'segments' plotProfile: no visible global function definition for 'dev.new' plotProfile: no visible global function definition for 'abline' verifyPith: no visible global function definition for 'dev.new' verifyPith: no visible global function definition for 'abline' verifyPith: no visible global function definition for 'locator' Undefined global functions or variables: IQR abline approx coef curve dev.new lm locator optimize path pith_coord segments x x11 Consider adding importFrom("grDevices", "dev.new", "x11") importFrom("graphics", "abline", "curve", "locator", "segments") importFrom("stats", "IQR", "approx", "coef", "lm", "optimize") 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 ... WARNING Undocumented arguments in Rd file 'detect_pith.Rd' 'flag' Undocumented arguments in Rd file 'extractProfile.Rd' 'imHeader' 'beginPath' 'endPath' Documented arguments not in \usage in Rd file 'extractProfile.Rd': 'x' 'y' Undocumented arguments in Rd file 'getDensityProfile.Rd' 'name' Undocumented arguments in Rd file 'getEwLw.Rd' 'densProfile' Documented arguments not in \usage in Rd file 'getEwLw.Rd': 'xRingList' 'dist' Undocumented arguments in Rd file 'locatePathEnd.Rd' 'pithCoord' Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking Rd contents ... OK * checking for unstated dependencies in examples ... WARNING 'library' or 'require' call not declared from: 'oro.dicom' * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ERROR Running examples in 'CTRing-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: addRingFromImage > ### Title: Add ring to pith to bark profile from CT scan image > ### Aliases: addRingFromImage > > ### ** Examples > > library(oro.dicom) Error in library(oro.dicom) : there is no package called 'oro.dicom' 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 ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 2 NOTEs