- 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 ... [5s/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 ... [5s/5s] OK
- checking Rd files ... [1s/2s] 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 ... [16s/19s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [16s/19s]
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=89308 on localhost:11358 at 09:29:24.337
starting worker pid=89309 on localhost:11358 at 09:29:24.347
starting worker pid=89376 on localhost:11358 at 09:29:24.422
starting worker pid=89379 on localhost:11358 at 09:29:24.430
starting worker pid=89453 on localhost:11358 at 09:29:24.490
starting worker pid=89457 on localhost:11358 at 09:29:24.497
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=90381 on localhost:11358 at 09:29:25.599
starting worker pid=90385 on localhost:11358 at 09:29:25.605
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=95492 on localhost:11358 at 20:29:33.275
starting worker pid=95494 on localhost:11358 at 20:29:33.282
starting worker pid=96092 on localhost:11358 at 20:29:34.179
starting worker pid=96100 on localhost:11358 at 20:29:34.186
starting worker pid=96555 on localhost:11358 at 20:29:35.084
starting worker pid=96564 on localhost:11358 at 20:29:35.092
[ FAIL 18 | WARN 0 | SKIP 8 | PASS 818 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• 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'
• empty test (1): 'test-data2Wave.R:6:1'
• 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 8 | PASS 818 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [21s/23s] OK
- checking PDF version of manual ... [5s/5s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '