Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(corpus)
  > 
  > test_check("corpus")
  -- 1. Failure: 'print.corpus_frame' can wrap 4 columns (@test-frame.R#332)  ----
  strsplit(capture_output(print.corpus_frame(x), width = 80), "\n")[[1]] not equal to `lines`.
  Lengths differ: 6 is not 4
  
  -- 2. Failure: 'format' can handle marks (@test-text_format.R#142)  ------------
  format(text, chars = 6, justify = "left") not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- 3. Failure: 'format' can handle marks (@test-text_format.R#143)  ------------
  format(text, chars = 6, justify = "centre") not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- 4. Failure: 'format' can handle marks (@test-text_format.R#144)  ------------
  format(text, chars = 5, justify = "right") not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- 5. Failure: 'format' can handle zero, or NULL chars (@test-text_format.R#179)
  as.character(format(text, chars = 0, justify = "left")) not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- 6. Failure: 'format' can handle zero, or NULL chars (@test-text_format.R#181)
  as.character(format(text, chars = 0, justify = "centre")) not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- 7. Failure: 'format' can handle zero, or NULL chars (@test-text_format.R#183)
  as.character(format(text, chars = 0, justify = "right")) not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- 8. Failure: 'text_locate' prints results correctly (@test-text_locate.R#163) 
  `lines` not equal to c(...).
  Lengths differ: 6 is not 3
  
  == testthat results  ===========================================================
  [ OK: 587 | SKIPPED: 8 | WARNINGS: 0 | FAILED: 8 ]
  1. Failure: 'print.corpus_frame' can wrap 4 columns (@test-frame.R#332) 
  2. Failure: 'format' can handle marks (@test-text_format.R#142) 
  3. Failure: 'format' can handle marks (@test-text_format.R#143) 
  4. Failure: 'format' can handle marks (@test-text_format.R#144) 
  5. Failure: 'format' can handle zero, or NULL chars (@test-text_format.R#179) 
  6. Failure: 'format' can handle zero, or NULL chars (@test-text_format.R#181) 
  7. Failure: 'format' can handle zero, or NULL chars (@test-text_format.R#183) 
  8. Failure: 'text_locate' prints results correctly (@test-text_locate.R#163) 
  
  Error: testthat unit tests failed
  Execution halted