* using log directory ‘/srv/hornik/tmp/CRAN_pretest/RadEro.Rcheck’ * using R Under development (unstable) (2024-10-01 r87205) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (9) Debian flang-new version 18.1.8 (9) * running under: Debian GNU/Linux trixie/sid * 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 ... [3s/3s] 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 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 ‘RadEro’ can be installed ... [8s/8s] OK * used C compiler: ‘Debian clang version 18.1.8 (11)’ * used C++ compiler: ‘Debian clang version 18.1.8 (11)’ * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] 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 ... [6s/6s] NOTE 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’ Undefined global functions or variables: depth1 invCS midPROF num2 x y * checking Rd files ... [0s/0s] 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 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 ... WARNING File ‘RadEro/libs/RadEro.so’: Found ‘__vprintf_chk’, possibly from ‘vprintf’ (C) Object: ‘model.o’ Found ‘__vsprintf_chk’, possibly from ‘vsprintf’ (C) Object: ‘model.o’ Found ‘stderr’, possibly from ‘stderr’ (C) Object: ‘model.o’ Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor use Fortran I/O nor system RNGs nor [v]sprintf. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual. * checking examples ... [1s/1s] ERROR Running examples in ‘RadEro-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: RadEro > ### Title: RadEro: Physically Based Compartmental Model for 137Cs Analysis > ### and Soil Redistribution Rates Estimation > ### Aliases: RadEro-package RadEro > ### Keywords: internal > > ### ** Examples > > # Example workflow for running the RadEro model: > > # Step 1: Define your working directory > directory <- getwd() # You can change this to any other directory if needed > > # Step 2: Copy example files (.csv and .js) from the package to the working directory > RadEro_example(directory) Copied: input-data_example.csv to /srv/hornik/tmp/CRAN_pretest/RadEro.Rcheck Copied: input-config_example.js to /srv/hornik/tmp/CRAN_pretest/RadEro.Rcheck > # Those files can be used as templates for your own projects. > > # Step 3: Execute the model with the example files > RadEro_run(data = "input-data_example.csv", config = "input-config_example.js") Starting RadEro_run... Current directory: /srv/hornik/tmp/CRAN_pretest/RadEro.Rcheck ---- Simulating profile: profile1 -------------- *** buffer overflow detected ***: terminated Aborted * checking PDF version of manual ... [3s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... NOTE Found the following files/directories: ‘input-config_example.js’ ‘input-data_example.csv’ ‘results’ ‘temp’ * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 WARNING, 3 NOTEs