Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [101s/117s]
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: 15.0
  ICU version: 72.1
  Parallel computing: 4 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 5 | WARN 0 | SKIP 10 | PASS 2909 ]
  
  ══ 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 >
  ── Failure ('test-tokens.R:1073'): split_tags works ────────────────────────────
  as.list(tokens(txt1, what = "word", split_tags = TRUE)) not identical to list(d1 = c("@", "quanteda", "@", "koheiw7", "@", "QUANTEDA_INITIATIVE")).
  Component "d1": Lengths (3, 6) differ (string compare on first 3)
  Component "d1": 3 string mismatches
  
  [ FAIL 5 | WARN 0 | SKIP 10 | PASS 2909 ]
  Error: Test failures
  Execution halted