tests/testthat/test-getIds.R

test_that("Get IDs from a list of audios", {
  ids <- getIds(audioList = testAudioList,
                fileNamePattern = "ID_Condition_Dimension", sep = "_")

  expect_true(length(ids) == unique(length(ids)))

})

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.