R Under development (unstable) (2024-02-21 r85967 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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") 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 [ FAIL 3 | WARN 0 | SKIP 2 | PASS 821 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • ssd_birdnet not available for testing (2): 'test-birdnetReticulate.R:10:3', 'test-birdnetReticulate.R:16:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-WaveFilter.R:72:3'): filterWave() works with cluster ─────────── Error in `.check_ncores(length(names))`: 95 simultaneous processes spawned Backtrace: ▆ 1. └─sonicscrewdriver::defaultCluster() at test-WaveFilter.R:72:3 2. └─parallel::makeCluster(cores, outfile = "") 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─parallel:::.check_ncores(length(names)) ── Failure ('test-convertTime.R:15:3'): Test conversions ─────────────────────── convert2seconds(as.POSIXct("2024-02-11 12:00"), "POSIX", origin = "unix") (`actual`) not equal to 1707652800 (`expected`). `actual`: 1707649200 `expected`: 1707652800 ── Error ('test-windowing.R:123:3'): works as expected without pbapply installed multi-core ── Error in `.check_ncores(length(names))`: 95 simultaneous processes spawned Backtrace: ▆ 1. └─sonicscrewdriver::defaultCluster() at test-windowing.R:123:3 2. └─parallel::makeCluster(cores, outfile = "") 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─parallel:::.check_ncores(length(names)) [ FAIL 3 | WARN 0 | SKIP 2 | PASS 821 ] Error: Test failures Execution halted