tests/testthat/test_data.R

data(mm1)

test_that("mm1 is a tuneR WAVE object", {
    expect_s4_class(mm1, "Wave")
})

test_that("length of mm1 is correct", {
    expect_length(mm1, 42320)
})

Try the retimer package in your browser

Any scripts or data that you put into this service are public.

retimer documentation built on April 4, 2025, 2:04 a.m.