Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(phonfieldwork)
  > 
  > test_check("phonfieldwork")
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  
  -- Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid -----------
  invalid factor level, NA generated
  
  -- Skip (test-create-glossed-document.R:2:3): create_glossed_document ----------
  Reason: On CRAN
  
  -- Skip (test-create-presentation.R:2:3): create_presentation ------------------
  Reason: On CRAN
  
  -- Skip (test-create-viewer.R:2:3): create_viewer_general ----------------------
  Reason: On CRAN
  
  -- Skip (test-draw-sound.R:2:3): draw_sound_general ----------------------------
  Reason: On CRAN
  
  -- Skip (test-draw-spectrogram.R:2:3): draw_spectrogram_general ----------------
  Reason: On CRAN
  
  -- Skip (test-flextext-to-df.R:2:3): flextext_to_df_general --------------------
  Reason: On CRAN
  
  -- 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"], " --> ")
  
  -- Skipped tests  --------------------------------------------------------------
  * On CRAN (6)
  
  == testthat results  ===========================================================
  Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid
  Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid
  Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid
  Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid
  Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid
  Warning (test-create-empty-textgrid.R:4:3): create_empty_textgrid
  ERROR (test-srt-to-df.R:2:3): srt_to_df
  
  [ FAIL 1 | WARN 6 | SKIP 6 | PASS 36 ]
  Error: Test failures
  Execution halted