* using log directory 'd:/RCompile/CRANincoming/R-devel/RadEro.Rcheck' * using R Under development (unstable) (2024-09-18 r87177 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 'RadEro/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RadEro' version '1.0.3' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Arturo Catala ' 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 'RadEro' can be installed ... WARNING Found the following significant warnings: cJSON.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.h:86:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.h:87:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.h:88:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.h:92:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.h:93:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.c:37:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.c:73:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.c:502:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.c:503:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.c:504:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.c:508:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] cJSON.c:509:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] defs.h:34:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] model.c:38:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] See 'd:/RCompile/CRANincoming/R-devel/RadEro.Rcheck/00install.out' for details. * used C compiler: 'gcc.exe (GCC) 13.2.0' * used C++ compiler: 'g++.exe (GCC) 13.2.0' * 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: 'RadEro.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 ... [13s] NOTE RadEro_run: no visible global function definition for 'read.table' RadEro_run: no visible global function definition for 'write.table' plot: no visible global function definition for 'read.table' plot: no visible global function definition for 'tail' plot: no visible global function definition for 'stepfun' plot: no visible global function definition for 'head' plot: no visible binding for global variable 'x' plot: no visible binding for global variable 'y' plot: no visible binding for global variable 'depth1' plot: no visible binding for global variable 'num2' plot: no visible binding for global variable 'midPROF' plot: no visible binding for global variable 'invCS' resample_config: no visible global function definition for 'tail' resample_data: no visible global function definition for 'tail' resample_data: no visible global function definition for 'head' resample_data: no visible global function definition for 'write.table' Undefined global functions or variables: depth1 head invCS midPROF num2 read.table stepfun tail write.table x y Consider adding importFrom("stats", "stepfun") importFrom("utils", "head", "read.table", "tail", "write.table") 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 data sets: 'input-data_example' 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 ... WARNING Undocumented arguments in Rd file 'plot.Rd' 'data1' 'data2' 'dir1' 'dir2' 'AxisMaxValue' 'cell_value' Undocumented arguments in Rd file 'resample_config.Rd' 'data2' 'config1' 'dir1' Undocumented arguments in Rd file 'resample_data.Rd' 'data2' 'dir1' 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 ... OK * checking contents of 'data' directory ... WARNING Files not of a type allowed in a 'data' directory: 'input-config_example.js' Please use e.g. 'inst/extdata' for non-R data files * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... [11s] ERROR Running examples in 'RadEro-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: RadEro_example > ### Title: Copy Example Files from Package Data Directory to a Specified > ### Directory > ### Aliases: RadEro_example > > ### ** Examples > > # Example of how to use this function: > # Copy files to the current working directory > copy_example_files(getwd()) Error in copy_example_files(getwd()) : could not find function "copy_example_files" Execution halted * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 4 WARNINGs, 3 NOTEs