Running ‘spelling.R’
  Running ‘testthat.R’ [129s/280s]
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: 24 of 24 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")
  OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  [ FAIL 4 | WARN 0 | SKIP 10 | PASS 2910 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (4)
  • 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 10 | PASS 2910 ]
  Error: Test failures
  Execution halted