test_that("basic", {
fls <- list.files(path = tempdir(), pattern = "wav$|wac$|mp3$|flac$|jpeg$|tiff$", full.names = TRUE)
unlink(fls)
data(list = c("Phae.long1"))
writeWave(Phae.long1, file.path(tempdir(), "Phae.long1.wav"))
# read from selection table
wv <- read_sound_file(X = lbh_selec_table, index = 1, path = tempdir())
fls <- list.files(path = tempdir(), pattern = "wav$|wac$|mp3$|flac$|jpeg$|tiff$", full.names = TRUE)
unlink(fls)
expect_true(is(wv, "Wave"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.