Running 'spelling.R' [0s]
  Running 'testthat.R' [120s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
  > 
  > library(testthat)
  > library(quanteda)
  Package version: 3.2.3
  Unicode version: 13.0
  ICU version: 69.1
  Parallel computing: 32 of 32 threads used.
  See https://quanteda.io for tutorials and examples.
  > 
  > # for strong tests for Matrix deprecations
  > options(Matrix.warnDeprecatedCoerce = 2)
  > 
  > ops <- quanteda_options()
  > quanteda_options(reset = TRUE)
  > test_check("quanteda")
  [ FAIL 4 | WARN 0 | SKIP 12 | PASS 2902 ]
  
  == Skipped tests ===============================================================
  * On CRAN (3)
  * On Windows (3)
  * as.numeric(stringi::stri_info()$Unicode.version) > 10 && as.numeric(stringi::stri_info()$ICU.version) >  (1)
  * ngrams disabled in new tokens() (1)
  * not implemented yet (1)
  * requires spacyr installation to work (1)
  * skipping test of option setting when quanteda is not attached (1)
  * we no longer expect these to be the same (1)
  
  == Failed tests ================================================================
  -- Failure ('test-dfm_weight.R:201'): weights argument works, issue 1150 -------
  as.matrix(dfm_weight(mt, weights = w)) not equal to matrix(...).
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  -- Failure ('test-dfm_weight.R:208'): weights argument works, issue 1150 -------
  as.matrix(dfm_weight(mt, weights = w[c(2, 3, 4)])) not equal to matrix(...).
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  -- Failure ('test-dfm_weight.R:215'): weights argument works, issue 1150 -------
  as.matrix(dfm_weight(mt, weights = w[c(1, 3, 2)])) not equal to matrix(...).
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  -- Failure ('test-dfm_weight.R:226'): weights argument works, issue 1150 -------
  as.matrix(dfm_weight(mt2, weights = w2)) not equal to matrix(...).
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  
  [ FAIL 4 | WARN 0 | SKIP 12 | PASS 2902 ]
  Error: Test failures
  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