- using R version 4.4.1 (2024-06-14)
- 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.4
- 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 ... [6s/7s] 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 ... [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 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 ... [4s/5s] 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 ... [17s/23s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [17s/23s]
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=89501 on localhost:11821 at 13:00:46.243
starting worker pid=89505 on localhost:11821 at 13:00:46.251
starting worker pid=89557 on localhost:11821 at 13:00:46.329
starting worker pid=89569 on localhost:11821 at 13:00:46.338
starting worker pid=89658 on localhost:11821 at 13:00:46.446
starting worker pid=89666 on localhost:11821 at 13:00:46.454
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=90293 on localhost:11821 at 13:00:47.774
starting worker pid=90295 on localhost:11821 at 13:00:47.781
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
starting worker pid=92497 on localhost:11821 at 00:00:58.858
starting worker pid=92500 on localhost:11821 at 00:00:58.865
starting worker pid=92853 on localhost:11821 at 00:00:59.590
starting worker pid=92863 on localhost:11821 at 00:00:59.596
starting worker pid=93293 on localhost:11821 at 00:01:00.556
starting worker pid=93303 on localhost:11821 at 00:01:00.562
[ 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 ──
data2$value_min[1] (`actual`) not equal to 1538 (`expected`).
`actual`: 1539.0
`expected`: 1538.0
── Failure ('test-audioblastProcessors.R:14:3'): ab_diel_traits with real data ──
data2$value_min[1] (`actual`) not equal to 1538 (`expected`).
`actual`: 1539.0
`expected`: 1538.0
── Failure ('test-audioblastProcessors.R:19:3'): ab_diel_traits with real data ──
data2$value_min[1] (`actual`) not equal to 1538 (`expected`).
`actual`: 1539.0
`expected`: 1538.0
── Failure ('test-audioblastProcessors.R:55:3'): .calcTimesOfDay() works as expected ──
as.character(o[1, ]) (`actual`) not equal to c("0427", "1946") (`expected`).
`actual`: "0425" "1948"
`expected`: "0427" "1946"
── Failure ('test-audioblastProcessors.R:56:3'): .calcTimesOfDay() works as expected ──
as.character(o[2, ]) (`actual`) not equal to c("2248", "0124") (`expected`).
`actual`: "2254" "0119"
`expected`: "2248" "0124"
── Failure ('test-audioblastProcessors.R:58:3'): .calcTimesOfDay() works as expected ──
as.character(o[4, ]) (`actual`) not equal to c("1206", "2248") (`expected`).
`actual`: "1207" "2254"
`expected`: "1206" "2248"
── Failure ('test-audioblastProcessors.R:67:3'): .calcTimesOfDay() works as expected ──
as.character(o[1, ]) (`actual`) not equal to c("1300", "1946") (`expected`).
`actual`: "1300" "1948"
`expected`: "1300" "1946"
── Failure ('test-audioblastProcessors.R:68:3'): .calcTimesOfDay() works as expected ──
as.character(o[2, ]) (`actual`) not equal to c("2248", "0124") (`expected`).
`actual`: "2254" "0119"
`expected`: "2248" "0124"
── Failure ('test-audioblastProcessors.R:70:3'): .calcTimesOfDay() works as expected ──
as.character(o[4, ]) (`actual`) not equal to c("1206", "2248") (`expected`).
`actual`: "1207" "2254"
`expected`: "1206" "2248"
── Failure ('test-audioblastProcessors.R:78:3'): .calcTimesOfDay() works as expected ──
as.character(o[1, ]) (`actual`) not equal to c("1300", "1946") (`expected`).
`actual`: "1300" "1948"
`expected`: "1300" "1946"
── Failure ('test-audioblastProcessors.R:79:3'): .calcTimesOfDay() works as expected ──
as.character(o[2, ]) (`actual`) not equal to c("2248", "0200") (`expected`).
`actual`: "2254" "0200"
`expected`: "2248" "0200"
── Failure ('test-audioblastProcessors.R:81:3'): .calcTimesOfDay() works as expected ──
as.character(o[4, ]) (`actual`) not equal to c("1206", "2248") (`expected`).
`actual`: "1207" "2254"
`expected`: "1206" "2248"
── Failure ('test-audioblastProcessors.R:90:3'): .calcTimesOfDay() works as expected ──
as.character(o[1, ]) (`actual`) not equal to c("1300", "1946") (`expected`).
`actual`: "1300" "1948"
`expected`: "1300" "1946"
── Failure ('test-audioblastProcessors.R:91:3'): .calcTimesOfDay() works as expected ──
as.character(o[2, ]) (`actual`) not equal to c("2248", "0200") (`expected`).
`actual`: "2254" "0200"
`expected`: "2248" "0200"
── Failure ('test-audioblastProcessors.R:93:3'): .calcTimesOfDay() works as expected ──
as.character(o[4, ]) (`actual`) not equal to c("1206", "2248") (`expected`).
`actual`: "1207" "2254"
`expected`: "1206" "2248"
── Failure ('test-audioblastProcessors.R:102:3'): .calcTimesOfDay() works as expected ──
as.character(o[1, ]) (`actual`) not equal to c("0427", "1946") (`expected`).
`actual`: "0425" "1948"
`expected`: "0427" "1946"
── Failure ('test-audioblastProcessors.R:103:3'): .calcTimesOfDay() works as expected ──
as.character(o[2, ]) (`actual`) not equal to c("2248", "0124") (`expected`).
`actual`: "2254" "0119"
`expected`: "2248" "0124"
── Failure ('test-audioblastProcessors.R:105:3'): .calcTimesOfDay() works as expected ──
as.character(o[4, ]) (`actual`) not equal to c("1206", "2248") (`expected`).
`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 ... [15s/15s] OK
- checking PDF version of manual ... [4s/4s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '