Running 'spelling.R' [0s]
  Running 'testthat.R' [190s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(quanteda)
  Package version: 2.1.1
  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
  
  > 
  > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
  > 
  > ops <- quanteda_options()
  > quanteda_options(reset = TRUE)
  > 
  > test_check("quanteda")
  -- 1. Error: dictionary constructor works with wordstat format (@test-dictionari
  encoding `auto` is no longer supported
  Backtrace:
   1. testthat::expect_equivalent(...)
   5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
   6. quanteda:::read_dict_wordstat(file, encoding)
   7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  -- 2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
  encoding `auto` is no longer supported
  Backtrace:
   1. testthat::expect_equivalent(...)
   5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
   6. quanteda:::read_dict_liwc(file, encoding)
   7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  -- 3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)  -----
  encoding `auto` is no longer supported
  Backtrace:
   1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
   2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
   3. quanteda:::read_dict_wordstat(file, encoding)
   4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  -- 4. Error: indexing for dictionary objects works (@test-dictionaries.R#113)  -
  encoding `auto` is no longer supported
  Backtrace:
   1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
   2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
   3. quanteda:::read_dict_wordstat(file, encoding)
   4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  -- 5. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
  encoding `auto` is no longer supported
  Backtrace:
   1. testthat::expect_equivalent(...)
   5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
   6. quanteda:::read_dict_liwc(file, encoding)
   7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  -- 6. Error: dictionary constructor works with LIWC format zero padding (@test-d
  encoding `auto` is no longer supported
  Backtrace:
   1. testthat::expect_equivalent(...)
   5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
   6. quanteda:::read_dict_liwc(file, encoding)
   7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  -- 7. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
  encoding `auto` is no longer supported
  Backtrace:
   1. testthat::expect_message(...)
   7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
   8. quanteda:::read_dict_liwc(file, encoding)
   9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  -- 8. Error: dictionary constructor works with LIWC format w/multiple tabs, spac
  encoding `auto` is no longer supported
  Backtrace:
   1. testthat::expect_equivalent(...)
   5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
   6. quanteda:::read_dict_liwc(file, encoding)
   7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  -- 9. Error: dictionary constructor works with LIWC format w/extra codes (@test-
  encoding `auto` is no longer supported
  Backtrace:
   1. testthat::expect_message(...)
   7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
   8. quanteda:::read_dict_liwc(file, encoding)
   9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  -- 10. Error: dictionary constructor works with LIWC format w/extra codes and ne
  encoding `auto` is no longer supported
  Backtrace:
   1. testthat::expect_message(...)
   7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
   8. quanteda:::read_dict_liwc(file, encoding)
   9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  == testthat results  ===========================================================
  [ OK: 3029 | SKIPPED: 24 | WARNINGS: 17 | FAILED: 10 ]
  1.  Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35) 
  2.  Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50) 
  3.  Error: read a dictionary with NA as a key (@test-dictionaries.R#61) 
  4.  Error: indexing for dictionary objects works (@test-dictionaries.R#113) 
  5.  Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285) 
  6.  Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293) 
  7.  Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301) 
  8.  Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308) 
  9.  Error: dictionary constructor works with LIWC format w/extra codes (@test-dictionaries.R#316) 
  10. Error: dictionary constructor works with LIWC format w/extra codes and nesting (@test-dictionaries.R#365) 
  
  Error: testthat unit tests failed
  In addition: Warning messages:
  1: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    unable to translate '<U+5B57>' to native encoding
  2: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    unable to translate '<U+98DB><U+6A5F>' to native encoding
  3: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    unable to translate '<U+6587><U+66F8>1' to native encoding
  4: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    unable to translate '<U+6587><U+66F8>2' to native encoding
  5: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    unable to translate '<U+6587><U+66F8>1' to native encoding
  6: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    unable to translate '<U+6587><U+66F8>2' to native encoding
  Execution halted