* using log directory ‘/srv/hornik/tmp/CRAN/warbleR.Rcheck’ * using R Under development (unstable) (2024-07-15 r86902) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (1+b1) Debian flang-new version 18.1.8 (1+b1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘warbleR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘warbleR’ version ‘1.1.31’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [6s/23s] NOTE Maintainer: ‘Marcelo Araya-Salas ’ Found the following (possibly) invalid URLs: URL: http://www.birds.cornell.edu (moved to https://www.birds.cornell.edu/home) From: inst/doc/annotation_data_format.html Status: 301 Message: Moved Permanently URL: http://www.birds.cornell.edu/brp/raven/RavenOverview.html (moved to https://www.birds.cornell.edu/ccb/raven/RavenOverview.html) From: inst/doc/annotation_data_format.html Status: 301 Message: Moved Permanently URL: https://github.com/maRce10/baRulho/actions/workflows/R-CMD-check.yaml (moved to https://github.com/ropensci/baRulho/actions/workflows/R-CMD-check.yaml) From: README.md Status: 301 Message: Moved Permanently For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. Found the following (possibly) invalid file URI: URI: /home/m/Dropbox/R_package_testing/warbleR/docs/articles/annotation_data_format.html From: inst/doc/warbleR.html Size of tarball: 6156038 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 ‘warbleR’ can be installed ... [15s/15s] OK * used C++ compiler: ‘Debian clang version 18.1.8 (3)’ * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... 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 whether startup messages can be suppressed ... [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 ... [21s/21s] OK * checking Rd files ... [1s/1s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [15s/15s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [29s/33s] ERROR Running ‘testthat.R’ [29s/33s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(warbleR) Loading required package: tuneR Loading required package: seewave Loading required package: NatureSounds Loading required package: knitr > > test_check("warbleR") all selections are OK Time range: 0.265 s; frequency range: 1-10 kHz Time range: 0.215 s; frequency range: 1-10 kHz all selections are OK 2 files were found Collecting file metadata (can take some time) cutting selections (step 0 of 0): This function is slated for deprecation in future versions. Please use the function read_sound_files() instead. This function is slated for deprecation in future versions. Please use the function read_sound_files() instead. This function is slated for deprecation in future versions. Please use the function read_sound_files() instead. This function is slated for deprecation in future versions. Please use the function read_sound_files() instead. This function is slated for deprecation in future versions. Please use the function read_sound_files() instead. sh: 1: sox: not found This function is slated for deprecation in future versions. We recommend exploring the advanced functionalities offered by the suwo package (https://github.com/maRce10/suwo) as an alternative option. 16 recording(s) found! This function is slated for deprecation in future versions. Please use the function read_sound_files() instead. all selections are OK sh: 1: sox: not found all selections are OK all selections are OK This function is slated for deprecation in future versions. Please use the function read_sound_files() instead. This function is slated for deprecation in future versions. Please use the function read_sound_files() instead. This function is slated for deprecation in future versions. Please use the function read_sound_files() instead. creating catalog images (step 1 of 0): Time range: 0.373 s; frequency range: 0-10 kHz This function is slated for deprecation in future versions. We recommend exploring the advanced functionalities offered by the suwo package (https://github.com/maRce10/suwo) as an alternative option. 16 recording(s) found! [ FAIL 3 | WARN 0 | SKIP 0 | PASS 66 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-fix_wavs.R:15:5'): basic ─────────────────────────────────────── Error in `system(cll, ignore.stdout = FALSE, intern = TRUE)`: error in running command Backtrace: ▆ 1. └─warbleR::fix_wavs(...) at test-fix_wavs.R:15:5 2. └─warbleR:::pblapply_wrblr_int(pbar = TRUE, X = fls, FUN = fix_sox_FUN) 3. └─base::lapply(X[Split[[i]]], FUN, ...) 4. └─warbleR (local) FUN(X[[i]], ...) 5. └─base::system(cll, ignore.stdout = FALSE, intern = TRUE) ── Error ('test-mp32wav.R:9:3'): basic ───────────────────────────────────────── Error: Sox is not installed or is not available in path Backtrace: ▆ 1. └─warbleR::mp32wav(...) at test-mp32wav.R:9:3 2. └─warbleR:::stop2("Sox is not installed or is not available in path") ── Error ('test-resample_est.R:18:3'): basic ─────────────────────────────────── Error in `system(cll, ignore.stdout = FALSE, intern = TRUE)`: error in running command Backtrace: ▆ 1. └─warbleR::resample_est(X, pb = FALSE) at test-resample_est.R:18:3 2. └─warbleR:::pblapply_wrblr_int(...) 3. └─base::lapply(X, FUN, ...) 4. └─warbleR (local) FUN(X[[i]], ...) 5. ├─base::suppressWarnings(system(cll, ignore.stdout = FALSE, intern = TRUE)) 6. │ └─base::withCallingHandlers(...) 7. └─base::system(cll, ignore.stdout = FALSE, intern = TRUE) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 66 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [38s/55s] OK * checking PDF version of manual ... [5s/5s] OK * checking HTML version of manual ... [3s/3s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE