R Under development (unstable) (2023-08-30 r85030 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 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/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") sound.files duration org.selec selec start end 1 Phae.long1.wav NA 1 NA NA NA 2 Phae.long1.wav NA 2 NA NA NA 3 Phae.long2.wav NA 3 NA NA NA 4 Phae.long2.wav NA 4 NA NA NA Time range: 0.265s; frequency range: 1-10 kHz Time range: 0.215s; frequency range: 1-10 kHz all selections are OK measuring dominant frequency contours (step 1 of 3): Measuring fundamental frequency: measuring spectral parameters (step 2 of 3): creating image files (step 3 of 3): measuring spectral parameters (step 1 of 3): measuring spectral parameters + harmonicity (step 2 of 3): creating image files (step 3 of 3): measuring fundamental frequency contours (step 1 of 3): Measuring fundamental frequency: measuring mel frequency cepstral coefficients (step 2 of 3): creating image files (step 3 of 3): creating spectrogram matrices (step 1 of 4): running cross-correlation (step 2 of 4): measuring mel frequency cepstral coefficients (step 3 of 4): creating image files (step 4 of 4): 4 files were found Collecting file metadata (can take some time) 16 recording(s) found! Object of class 'selection_table' * The output of the following call: selection_table(X = lbh_selec_table[1:3, ], path = tempdir(), pb = FALSE) Contains: * A selection table data frame with 3 rows and 7 columns: |sound.files | channel| selec| start| end| bottom.freq| |:--------------|-------:|-----:|------:|------:|-----------:| |Phae.long1.wav | 1| 1| 1.1694| 1.3424| 2.2201| |Phae.long1.wav | 1| 2| 2.1584| 2.3215| 2.1694| |Phae.long1.wav | 1| 3| 0.3433| 0.5183| 2.2183| ... 1 more column(s) (top.freq) * A data frame (check.results) generated by check_sels() (as attribute) created by warbleR 1.1.29 Object of class 'extended_selection_table' * The output of the following call: selection_table(X = lbh_selec_table[1:3, ], path = tempdir(), extended = TRUE, confirm.extended = FALSE, pb = FALSE) Contains: * A selection table data frame with 3 row(s) and 7 columns: |sound.files | channel| selec| start| end| bottom.freq| |:----------------|-------:|-----:|-----:|------:|-----------:| |Phae.long1.wav_1 | 1| 1| 0.1| 0.2730| 2.2201| |Phae.long1.wav_2 | 1| 1| 0.1| 0.2630| 2.1694| |Phae.long1.wav_3 | 1| 1| 0.1| 0.2749| 2.2183| ... 1 more column(s) (top.freq) * 3 wave object(s) (as attributes): Phae.long1.wav_1Phae.long1.wav_2Phae.long1.wav_3 * A data frame (check.results) generated by check_sels() (as attribute) The selection table was created by element (see 'class_extended_selection_table') * 1 sampling rate(s) (in kHz): 22.5 * 1 bit depth(s): 16 * Created by warbleR 1.1.29 Time range: 0.373s; frequency range: 0-10 kHz 16 recording(s) found! [ FAIL 0 | WARN 0 | SKIP 0 | PASS 70 ] > > proc.time() user system elapsed 36.53 34.57 77.65