test_that("basic", {
fls <- list.files(path = tempdir(), pattern = "wav$|wac$|mp3$|flac$", full.names = TRUE)
unlink(fls)
data(list = c("Phae.long1", "Phae.long2", "lbh_selec_table"))
writeWave(Phae.long1, file.path(tempdir(), "Phae.long1.wav"))
writeWave(Phae.long2, file.path(tempdir(), "Phae.long2.wav"))
cs <- cut_sels(lbh_selec_table[1:5, ], path = tempdir())
fls <- list.files(path = tempdir(), pattern = "wav$", full.names = TRUE)
unlink(fls)
expect_equal(length(fls), 7)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.