test_that("basic", {
fls <- list.files(path = tempdir(), pattern = "wav$|wac$|mp3$|flac$|jpeg$|tiff$", full.names = TRUE)
unlink(fls)
# get warbleR sound file examples
data(list = c("Phae.long1"))
writeWave(Phae.long1, file.path(tempdir(), "Phae.long1.wav"))
sp_param <- spectro_analysis(X = lbh_selec_table[1:3,], harmonicity = FALSE,
path = tempdir(), ovlp = 1, pb = FALSE)
fls <- list.files(path = tempdir(), pattern = "wav$|wac$|mp3$|flac$|jpeg$|tiff$", full.names = TRUE)
unlink(fls)
expect_true(nrow(sp_param) == 3 & ncol(sp_param) == 29)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.