Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(phonfieldwork)
  > 
  > test_check("phonfieldwork")
  == Skipped tests ===============================================================
  * On CRAN (6)
  
  == Warnings ====================================================================
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  Backtrace:
   1. phonfieldwork::create_empty_textgrid(...) test-create-empty-textgrid.R:4:2
   3. base::`[<-.factor`(`*tmp*`, point_tiers_m, value = "        class = \"TextTier\"\n")
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  Backtrace:
   1. phonfieldwork::create_empty_textgrid(...) test-create-empty-textgrid.R:4:2
   3. base::`[<-.factor`(`*tmp*`, point_tiers_m, value = "        points: size = 0\n")
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  Backtrace:
   1. phonfieldwork::create_empty_textgrid(...) test-create-empty-textgrid.R:4:2
   3. base::`[<-.factor`(`*tmp*`, point_tiers_m, value = "")
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  Backtrace:
   1. phonfieldwork::create_empty_textgrid(...) test-create-empty-textgrid.R:4:2
   3. base::`[<-.factor`(`*tmp*`, point_tiers_m, value = "")
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  Backtrace:
   1. phonfieldwork::create_empty_textgrid(...) test-create-empty-textgrid.R:4:2
   3. base::`[<-.factor`(`*tmp*`, point_tiers_m, value = "")
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  Backtrace:
   1. phonfieldwork::create_empty_textgrid(...) test-create-empty-textgrid.R:4:2
   3. base::`[<-.factor`(`*tmp*`, point_tiers_m, value = "")
  
  == Failed tests ================================================================
  -- Error (test-srt-to-df.R:2:3): srt_to_df -------------------------------------
  Error: non-character argument
  Backtrace:
      x
   1. \-phonfieldwork::srt_to_df(system.file("extdata", "test.srt", package = "phonfieldwork")) test-srt-to-df.R:2:2
   2.   +-base::cbind(...)
   3.   +-base::do.call(rbind, strsplit(result[, "times"], " --> "))
   4.   \-base::strsplit(result[, "times"], " --> ")
  
  [ FAIL 1 | WARN 6 | SKIP 6 | PASS 36 ]
  Error: Test failures
  Execution halted