tests/testthat/test-getDimensions.R

test_that("Get Components from a list of audios", {
  dimensions <- getDimensions(audioList = testAudioList,
                              fileNamePattern = "ID_Condition_Dimension", sep = "_")
  expect_true(all(dimensions %in% c("Bar")))

})

Try the voiceR package in your browser

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

voiceR documentation built on Sept. 13, 2023, 1:07 a.m.