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"))
mel_st <- mfcc_stats(X = lbh_selec_table[1:3, ], pb = FALSE, path = tempdir())
fls <- list.files(path = tempdir(), pattern = "wav$|wac$|mp3$|flac$|jpeg$|tiff$", full.names = TRUE)
unlink(fls)
expect_true(nrow(mel_st) == 3 & ncol(mel_st) == 181)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.