* using log directory ‘/srv/hornik/tmp/CRAN/imageRy.Rcheck’ * using R Under development (unstable) (2024-05-06 r86526) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.4 (1) Debian flang-new version 18.1.4 (1) * running under: Debian GNU/Linux trixie/sid * 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 ... [3s/3s] 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘imageRy’ can be installed ... [12s/12s] OK * 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 ... [4s/4s] OK * checking whether the package can be loaded with stated dependencies ... [4s/4s] OK * checking whether the package can be unloaded cleanly ... [4s/4s] OK * checking whether the namespace can be loaded with stated dependencies ... [4s/4s] OK * checking whether the namespace can be unloaded cleanly ... [4s/4s] OK * checking loading without being on the library search path ... [4s/4s] 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 ... [16s/16s] 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 ... [0s/0s] 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 ... [4s/4s] 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 ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 4 NOTEs