Running 'testthat.R' [15s/17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(readtext)
  > library(quanteda)
  Package version: 2.1.2
  Parallel computing: 2 of 32 threads used.
  See https://quanteda.io for tutorials and examples.
  
  Attaching package: 'quanteda'
  
  The following object is masked from 'package:utils':
  
      View
  
  > 
  > # save, then reset, readtext options
  > opts <- readtext_options()
  > readtext_options(reset = TRUE)
  > 
  > # set the soon-to-be-official-R-policy condition
  > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
  > 
  > test_check("readtext")
  -- Skip (test-encoding.R:6:3): test encoding function on simple text files -----
  Reason: On CRAN
  
  -- Skip (test-readtext.R:111:5): test zip file ---------------------------------
  Reason: On CRAN
  
  -- Skip (test-readtext.R:123:1): test non-implemented functions ----------------
  Reason: empty test
  
  -- Skip (test-readtext.R:512:5): Test function to list files with remote sources
  Reason: On CRAN
  
  -- Skip (test-readtext.R:565:5): test globbed tar file -------------------------
  Reason: On CRAN
  
  -- Skip (test-readtext.R:639:5): test json files -------------------------------
  Reason: On CRAN
  
  -- Skip (test-readtext.R:709:5): A single-level tar file containing txt files ca
  Reason: On CRAN
  
  -- Skip (test-readtext.R:719:5): A single-level tar.gz file containing txt files
  Reason: On CRAN
  
  -- Skip (test-readtext.R:729:5): A single-level tar.bz file containing txt files
  Reason: On CRAN
  
  -- FAILURE (test-readtext.R:901:5): tests for ODS files ------------------------
  unname(texts(readtext("../data/rtf/*.rtf"))) not identical to c("The quick brown fox jumps over the lazy dog", "This is an example of <U+201C>rich text<U+201D> format.").
  1/2 mismatches
  x[2]: "This is an example of Urich text+ format."
  y[2]: "This is an example of <U+201C>rich text<U+201D> format."
  
  -- Skip (test-readtext_options.R:32:5): readtext functions work if package is no
  Reason: skipping test of option setting when readtext is not attached
  
  -- Skipped tests  --------------------------------------------------------------
  * On CRAN (8)
  * empty test (1)
  * skipping test of option setting when readtext is not attached (1)
  
  == testthat results  ===========================================================
  FAILURE (test-readtext.R:901:5): tests for ODS files
  
  [ FAIL 1 | WARN 0 | SKIP 10 | PASS 158 ]
  Error: Test failures
  Execution halted