* using log directory 'd:/RCompile/CRANincoming/R-devel/imageRy.Rcheck' * using R Under development (unstable) (2024-05-06 r86526 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 'imageRy/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'imageRy' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'The package maintainer ' New submission DESCRIPTION fields with placeholder content: Maintainer: The package maintainer Size of tarball: 70594336 bytes * 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 'imageRy' can be installed ... OK * checking installed package size ... NOTE installed size is 87.1Mb sub-directories of 1Mb or more: images 87.0Mb * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard files/directories found at top level: 'data_description.md' 'imageRy.html' 'imageRy_rapid_manual.html' 'vignette.html' * 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 ... [32s] NOTE im.ggplot: no visible binding for global variable 'x' im.ggplot: no visible binding for global variable 'y' Undefined global functions or variables: x y * checking Rd files ... NOTE prepare_Rd: im.classify.Rd:37-38: Dropping empty section \note prepare_Rd: im.import.Rd:23-24: Dropping empty section \references prepare_Rd: im.pca.Rd:20-21: Dropping empty section \references * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: 'im.refresh' 'test1' 'test2' 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 ... WARNING Codoc mismatches from Rd file 'im.classify.Rd': im.classify Code: function(input_image, num_clusters = 3, seed = NULL, do_plot = TRUE, custom_colors = NULL, num_colors = 100) Docs: function(x, num_clusters = 3, seed = NULL, do_plot = TRUE, use_viridis = TRUE, colors = c("yellow", "black", "red"), num_colors = 100) Argument names in code not in docs: input_image custom_colors Argument names in docs not in code: x use_viridis colors Mismatches in argument names: Position: 1 Code: input_image Docs: x Position: 5 Code: custom_colors Docs: use_viridis Position: 6 Code: num_colors Docs: colors Codoc mismatches from Rd file 'im.ggplot.Rd': im.ggplot Code: function(input_raster, layerfill = 1) Docs: function(x, layerfill = 1) Argument names in code not in docs: input_raster Argument names in docs not in code: x Mismatches in argument names: Position: 1 Code: input_raster Docs: x Codoc mismatches from Rd file 'im.plotRGB.Rd': im.plotRGB Code: function(x, r, g, b) Docs: function(x, r = 1, g = 2, b = 3) Mismatches in argument default values: Name: 'r' Code: Docs: 1 Name: 'g' Code: Docs: 2 Name: 'b' Code: Docs: 3 * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in 'imageRy-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: im.classify > ### Title: Image pixels classification > ### Aliases: im.classify > > ### ** Examples > > GL15 <- im.import("greenland.2015.tif") > im.classify(GL15, num_clusters = 3, seed = NULL, + do_plot = TRUE, use_viridis = TRUE, + colors = c('yellow','black','red'), + num_colors = 100) Error in im.classify(GL15, num_clusters = 3, seed = NULL, do_plot = TRUE, : unused arguments (use_viridis = TRUE, colors = c("yellow", "black", "red")) Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 5 NOTEs