Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [72s/100s]
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.1
  Unicode version: 14.0
  ICU version: 71.1
  Parallel computing: 4 of 32 threads used.
  See https://quanteda.io for tutorials and examples.
  > 
  > ops <- quanteda_options()
  > quanteda_options(reset = TRUE)
  > test_check("quanteda")
  [ FAIL 2 | WARN 0 | SKIP 24 | PASS 2832 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (4)
  • as.numeric(stringi::stri_info()$Unicode.version) > 10 && as.numeric(stringi::stri_info()$ICU.version) >  (1)
  • lsa cannot be loaded (2)
  • 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)
  • stm cannot be loaded (3)
  • text2vec cannot be loaded (1)
  • tm cannot be loaded (7)
  • topicmodels cannot be loaded (1)
  • we no longer expect these to be the same (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-convert.R:204:5): lda converter works under extreme situations ──
  Error in `dfm2lda(x, omit_empty = omit_empty)`: You must install the slam package for this conversion.
  Backtrace:
      ▆
   1. ├─quanteda::convert(mydfm, to = "lda") at test-convert.R:204:4
   2. └─quanteda:::convert.dfm(mydfm, to = "lda")
   3.   └─quanteda:::dfm2lda(x, omit_empty = omit_empty)
  ── Error (test-convert.R:281:5): omit_empty works as expected (#1600 ───────────
  Error in `dfm2dtm(x, omit_empty = omit_empty)`: You must install the tm package for this conversion.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-convert.R:281:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─quanteda::convert(dfmat, to = "topicmodels", omit_empty = TRUE)
   5. └─quanteda:::convert.dfm(dfmat, to = "topicmodels", omit_empty = TRUE)
   6.   └─quanteda:::dfm2dtm(x, omit_empty = omit_empty)
  
  [ FAIL 2 | WARN 0 | SKIP 24 | PASS 2832 ]
  Error: Test failures
  Execution halted