Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [144s/155s]
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: dictionary works with different encoding (@test-dictionaries.R#72) 
  encoding `auto` is no longer supported
  Backtrace:
   1. base::suppressWarnings(...)
   7. quanteda:::dictionary.default(...)
   8. quanteda:::read_dict_wordstat(file, encoding)
   9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
  
  ── 5. 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")
  
  ── 6. 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")
  
  ── 7. 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")
  
  ── 8. 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")
  
  ── 9. 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")
  
  ── 10. 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")
  
  ── 11. 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: 3027 | SKIPPED: 23 | WARNINGS: 17 | FAILED: 11 ]
  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: dictionary works with different encoding (@test-dictionaries.R#72) 
  5. Error: indexing for dictionary objects works (@test-dictionaries.R#113) 
  6. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285) 
  7. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293) 
  8. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301) 
  9. Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted