Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(corpus)
  > 
  > test_check("corpus")
  -- Skip (test-foreign.R:4:5): 'as_corpus_text' and 'as_corpus_frame' work on tm 
  Reason: tm cannot be loaded
  
  -- Skip (test-foreign.R:46:5): 'as_corpus_text' and 'as_corpus_frame' warn if tm
  Reason: tm cannot be loaded
  
  -- Skip (test-foreign.R:87:5): 'as_corpus_text' and 'as_corpus_frame' work on qu
  Reason: quanteda cannot be loaded
  
  -- Skip (test-foreign.R:106:5): 'as_corpus_frame' renames docvar named 'text' --
  Reason: quanteda cannot be loaded
  
  -- Skip (test-frame.R:223:5): 'print.corpus_frame' handles Unicode correctly ---
  Reason: On windows
  
  -- FAILURE (test-frame.R:332:5): 'print.corpus_frame' can wrap 4 columns -------
  strsplit(capture_output(print.corpus_frame(x), width = 80), "\n")[[1]] not equal to `lines`.
  Lengths differ: 6 is not 4
  
  -- Skip (test-gutenberg_corpus.R:5:9): 'gutenberg_corpus' can download Jules Ver
  Reason: Not running web resource tests
  
  -- Skip (test-text_format.R:43:5): 'format' can handle long text in Unicode loca
  Reason: On windows
  
  -- Skip (test-text_format.R:104:5): 'format' can handle high code points in Unic
  Reason: On windows
  
  -- FAILURE (test-text_format.R:142:5): 'format' can handle marks ---------------
  format(text, chars = 6, justify = "left") not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- FAILURE (test-text_format.R:143:5): 'format' can handle marks ---------------
  format(text, chars = 6, justify = "centre") not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- FAILURE (test-text_format.R:144:5): 'format' can handle marks ---------------
  format(text, chars = 5, justify = "right") not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- FAILURE (test-text_format.R:179:5): 'format' can handle zero, or NULL chars -
  as.character(format(text, chars = 0, justify = "left")) not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- FAILURE (test-text_format.R:181:5): 'format' can handle zero, or NULL chars -
  as.character(format(text, chars = 0, justify = "centre")) not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- FAILURE (test-text_format.R:183:5): 'format' can handle zero, or NULL chars -
  as.character(format(text, chars = 0, justify = "right")) not equal to "...".
  1/1 mismatches
  x[1]: ""
  y[1]: "..."
  
  -- FAILURE (test-text_locate.R:163:5): 'text_locate' prints results correctly --
  `lines` not equal to c(...).
  Lengths differ: 6 is not 3
  
  -- Skipped tests  --------------------------------------------------------------
  * Not running web resource tests (1)
  * On windows (3)
  * quanteda cannot be loaded (2)
  * tm cannot be loaded (2)
  
  == testthat results  ===========================================================
  FAILURE (test-frame.R:332:5): 'print.corpus_frame' can wrap 4 columns
  FAILURE (test-text_format.R:142:5): 'format' can handle marks
  FAILURE (test-text_format.R:143:5): 'format' can handle marks
  FAILURE (test-text_format.R:144:5): 'format' can handle marks
  FAILURE (test-text_format.R:179:5): 'format' can handle zero, or NULL chars
  FAILURE (test-text_format.R:181:5): 'format' can handle zero, or NULL chars
  FAILURE (test-text_format.R:183:5): 'format' can handle zero, or NULL chars
  FAILURE (test-text_locate.R:163:5): 'text_locate' prints results correctly
  
  [ FAIL 8 | WARN 0 | SKIP 8 | PASS 587 ]
  Error: Test failures
  Execution halted