tests/testthat/test-read-from-folder.R

test_that("read_from_folder", {
  textgrids <- read_from_folder(system.file("extdata", package = "phonfieldwork"),
                                "textgrid")

  expect_true(nrow(textgrids) == 42)
})

Try the phonfieldwork package in your browser

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

phonfieldwork documentation built on March 3, 2021, 1:12 a.m.