- using R version 4.4.3 (2025-02-28)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘sonicscrewdriver/DESCRIPTION’ ... OK
- this is package ‘sonicscrewdriver’ version ‘0.0.7’
- package encoding: UTF-8
- 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 ‘sonicscrewdriver’ can be installed ... [3s/5s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... [0s/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 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] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [11s/15s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [11s/14s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(sonicscrewdriver)
Attaching package: 'sonicscrewdriver'
The following object is masked from 'package:base':
jitter
>
> test_check("sonicscrewdriver")
starting worker pid=60711 on localhost:11209 at 11:22:12.798
starting worker pid=60712 on localhost:11209 at 11:22:12.803
starting worker pid=60767 on localhost:11209 at 11:22:12.853
starting worker pid=60768 on localhost:11209 at 11:22:12.857
starting worker pid=60805 on localhost:11209 at 11:22:12.894
starting worker pid=60806 on localhost:11209 at 11:22:12.898
This is a mono file.
Calculating index. Please wait...
Bioacoustic Index: 10.97174
This is a mono file.
Calculating index. Please wait...
Bioacoustic Index: 10.97174
This is a mono file.
Calculating index. Please wait...
Acoustic Evenness Index: 0.9
This is a mono file.
Calculating index. Please wait...
Acoustic Evenness Index: 0.9
This is a mono file.
Calculating index. Please wait...
Acoustic Diversity Index: 0
This is a mono file.
Calculating index. Please wait...
Acoustic Diversity Index: 0
starting worker pid=63597 on localhost:11209 at 11:22:14.966
starting worker pid=63601 on localhost:11209 at 11:22:14.969
This is a mono file.
Calculating index. Please wait...
This is a mono file.
Calculating index. Please wait...
Bioacoustic Index: 10.97174
Bioacoustic Index: 10.97174
This is a mono file.
Calculating index. Please wait...
This is a mono file.
Calculating index. Please wait...
Acoustic Evenness Index: 0.9
Acoustic Evenness Index: 0.9
This is a mono file.
Calculating index. Please wait...
This is a mono file.
Calculating index. Please wait...
Acoustic Diversity Index: 0
Acoustic Diversity Index: 0
Saving _problems/test-audioblastProcessors-9.R
Saving _problems/test-audioblastProcessors-14.R
Saving _problems/test-audioblastProcessors-19.R
Saving _problems/test-audioblastProcessors-55.R
Saving _problems/test-audioblastProcessors-56.R
Saving _problems/test-audioblastProcessors-58.R
Saving _problems/test-audioblastProcessors-67.R
Saving _problems/test-audioblastProcessors-68.R
Saving _problems/test-audioblastProcessors-70.R
Saving _problems/test-audioblastProcessors-78.R
Saving _problems/test-audioblastProcessors-79.R
Saving _problems/test-audioblastProcessors-81.R
Saving _problems/test-audioblastProcessors-90.R
Saving _problems/test-audioblastProcessors-91.R
Saving _problems/test-audioblastProcessors-93.R
Saving _problems/test-audioblastProcessors-102.R
Saving _problems/test-audioblastProcessors-103.R
Saving _problems/test-audioblastProcessors-105.R
starting worker pid=69683 on localhost:11209 at 22:22:20.738
starting worker pid=69693 on localhost:11209 at 22:22:20.742
starting worker pid=69959 on localhost:11209 at 22:22:21.165
starting worker pid=69963 on localhost:11209 at 22:22:21.168
starting worker pid=70100 on localhost:11209 at 22:22:21.913
starting worker pid=70102 on localhost:11209 at 22:22:21.917
[ FAIL 18 | WARN 0 | SKIP 7 | PASS 821 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• On CRAN (5): 'test-audioblast.R:2:3', 'test-audioblast.R:15:3',
'test-audioblast.R:30:3', 'test-audioblast.R:47:3', 'test-audioblast.R:68:3'
• ssd_birdnet not available for testing (2): 'test-birdnetReticulate.R:14:3',
'test-birdnetReticulate.R:20:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-audioblastProcessors.R:9:3'): ab_diel_traits with real data ──
Expected `data2$value_min[1]` to equal 1538.
Differences:
`actual`: 1539.0
`expected`: 1538.0
── Failure ('test-audioblastProcessors.R:14:3'): ab_diel_traits with real data ──
Expected `data2$value_min[1]` to equal 1538.
Differences:
`actual`: 1539.0
`expected`: 1538.0
── Failure ('test-audioblastProcessors.R:19:3'): ab_diel_traits with real data ──
Expected `data2$value_min[1]` to equal 1538.
Differences:
`actual`: 1539.0
`expected`: 1538.0
── Failure ('test-audioblastProcessors.R:55:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[1, ])` to equal `c("0427", "1946")`.
Differences:
`actual`: "0425" "1948"
`expected`: "0427" "1946"
── Failure ('test-audioblastProcessors.R:56:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[2, ])` to equal `c("2248", "0124")`.
Differences:
`actual`: "2254" "0119"
`expected`: "2248" "0124"
── Failure ('test-audioblastProcessors.R:58:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[4, ])` to equal `c("1206", "2248")`.
Differences:
`actual`: "1207" "2254"
`expected`: "1206" "2248"
── Failure ('test-audioblastProcessors.R:67:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[1, ])` to equal `c("1300", "1946")`.
Differences:
`actual`: "1300" "1948"
`expected`: "1300" "1946"
── Failure ('test-audioblastProcessors.R:68:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[2, ])` to equal `c("2248", "0124")`.
Differences:
`actual`: "2254" "0119"
`expected`: "2248" "0124"
── Failure ('test-audioblastProcessors.R:70:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[4, ])` to equal `c("1206", "2248")`.
Differences:
`actual`: "1207" "2254"
`expected`: "1206" "2248"
── Failure ('test-audioblastProcessors.R:78:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[1, ])` to equal `c("1300", "1946")`.
Differences:
`actual`: "1300" "1948"
`expected`: "1300" "1946"
── Failure ('test-audioblastProcessors.R:79:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[2, ])` to equal `c("2248", "0200")`.
Differences:
`actual`: "2254" "0200"
`expected`: "2248" "0200"
── Failure ('test-audioblastProcessors.R:81:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[4, ])` to equal `c("1206", "2248")`.
Differences:
`actual`: "1207" "2254"
`expected`: "1206" "2248"
── Failure ('test-audioblastProcessors.R:90:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[1, ])` to equal `c("1300", "1946")`.
Differences:
`actual`: "1300" "1948"
`expected`: "1300" "1946"
── Failure ('test-audioblastProcessors.R:91:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[2, ])` to equal `c("2248", "0200")`.
Differences:
`actual`: "2254" "0200"
`expected`: "2248" "0200"
── Failure ('test-audioblastProcessors.R:93:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[4, ])` to equal `c("1206", "2248")`.
Differences:
`actual`: "1207" "2254"
`expected`: "1206" "2248"
── Failure ('test-audioblastProcessors.R:102:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[1, ])` to equal `c("0427", "1946")`.
Differences:
`actual`: "0425" "1948"
`expected`: "0427" "1946"
── Failure ('test-audioblastProcessors.R:103:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[2, ])` to equal `c("2248", "0124")`.
Differences:
`actual`: "2254" "0119"
`expected`: "2248" "0124"
── Failure ('test-audioblastProcessors.R:105:3'): .calcTimesOfDay() works as expected ──
Expected `as.character(o[4, ])` to equal `c("1206", "2248")`.
Differences:
`actual`: "1207" "2254"
`expected`: "1206" "2248"
[ FAIL 18 | WARN 0 | SKIP 7 | PASS 821 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [10s/10s] OK
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '