* using log directory ‘/srv/hornik/tmp/CRAN_pretest/Ruido.Rcheck’ * using R Under development (unstable) (2025-10-15 r88920) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (7) Debian flang-new version 19.1.7 (7) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘Ruido/DESCRIPTION’ ... OK * this is package ‘Ruido’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘Arthur Igor da Fonseca-Freire ’ New submission Possibly misspelled words in DESCRIPTION: BGN (8:103) The Title field should be in title case. Current version is: ‘A Streamline Package To Calculate Soundscape Saturation’ In title case that is: ‘A Streamline Package to Calculate Soundscape Saturation’ * 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 ‘Ruido’ can be installed ... [2s/2s] OK * 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [3s/3s] NOTE satBackup: no visible binding for global variable ‘powthr’ satBackup: no visible binding for global variable ‘bgnthr’ satBackup: no visible binding for global variable ‘wl’ satBackup: no visible binding for global variable ‘timeBin’ satBackup: no visible binding for global variable ‘targetSampRate’ satBackup: no visible binding for global variable ‘window’ satBackup: no visible binding for global variable ‘overlap’ satBackup: no visible binding for global variable ‘channel’ satBackup: no visible binding for global variable ‘dbThreshold’ satBackup: no visible binding for global variable ‘histbreaks’ satBackup : : no visible binding for global variable ‘bgnthr’ satBackup: no visible binding for global variable ‘normality’ satBackup : : no visible binding for global variable ‘normality’ Undefined global functions or variables: bgnthr channel dbThreshold histbreaks normality overlap powthr targetSampRate timeBin window wl Consider adding importFrom("stats", "window") to your NAMESPACE file. * 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 examples ... [13s/121s] ERROR Running examples in ‘Ruido-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: soundSat > ### Title: Soundscape Saturation Index > ### Aliases: soundSat > > ### ** Examples > > ### Downloading audiofiles from public Zenodo library > dir <- tempdir() > recName <- paste0("GAL24576_20250401_", sprintf("%06d", seq(0, 200000, by = 50000)),".wav") > recDir <- paste(dir, recName, sep = "\\") > > for(rec in recName) { + print(rec) + url <- paste0("https://zenodo.org/records/17243660/files/", rec, "?download=1") + download.file(url, destfile = paste(dir, rec, sep = "\\"), mode = "wb") + } [1] "GAL24576_20250401_000000.wav" trying URL 'https://zenodo.org/records/17243660/files/GAL24576_20250401_000000.wav?download=1' Content type 'application/octet-stream' length 34562632 bytes (33.0 MB) ================================================== downloaded 33.0 MB [1] "GAL24576_20250401_050000.wav" trying URL 'https://zenodo.org/records/17243660/files/GAL24576_20250401_050000.wav?download=1' Content type 'application/octet-stream' length 34562632 bytes (33.0 MB) ================================================== downloaded 33.0 MB [1] "GAL24576_20250401_100000.wav" trying URL 'https://zenodo.org/records/17243660/files/GAL24576_20250401_100000.wav?download=1' Content type 'application/octet-stream' length 34562632 bytes (33.0 MB) ================================================== downloaded 33.0 MB [1] "GAL24576_20250401_150000.wav" trying URL 'https://zenodo.org/records/17243660/files/GAL24576_20250401_150000.wav?download=1' Content type 'application/octet-stream' length 34562632 bytes (33.0 MB) ================================================== downloaded 33.0 MB [1] "GAL24576_20250401_200000.wav" trying URL 'https://zenodo.org/records/17243660/files/GAL24576_20250401_200000.wav?download=1' Content type 'application/octet-stream' length 34562632 bytes (33.0 MB) ================================================== downloaded 33.0 MB > > ### Running the function > sat <- soundSat(dir) Error in soundSat(dir) : you must provide at least 3 recordings! Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed singleSat 4.404 0.712 25.381 bgNoise 4.437 0.516 6.186 * checking PDF version of manual ... [4s/4s] 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 ... NOTE Found the following files/directories: ‘RtmpiU0dKU\GAL24576_20250401_000000.wav’ ‘RtmpiU0dKU\GAL24576_20250401_050000.wav’ ‘RtmpiU0dKU\GAL24576_20250401_100000.wav’ ‘RtmpiU0dKU\GAL24576_20250401_150000.wav’ ‘RtmpiU0dKU\GAL24576_20250401_200000.wav’ * DONE Status: 1 ERROR, 3 NOTEs