Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [130s/148s]
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: 4.0.0
  Unicode version: 15.0
  ICU version: 72.1
  Parallel computing: 3 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 1 | WARN 0 | SKIP 26 | PASS 3096 ]
  
  ══ Skipped tests (26) ══════════════════════════════════════════════════════════
  • Behaviour changed - consider removing test (1): 'test-tokens.R:120:5'
  • Different behaviour for convert() v. old as.data.frame.dfm() (1):
    'test-as.dfm.R:131:5'
  • On CRAN (5): 'test-tokens-word4.R:108:5', 'test-tokens-word4.R:347:5',
    'test-tokens.R:373:5', 'test-tokens_ngrams.R:105:5', 'test-tokens_xptr.R:1:1'
  • as.numeric(stringi::stri_info()$Unicode.version) > 10 &&
    as.numeric(stringi::stri_info()$ICU.version) > (1): 'test-tokens.R:1036:5'
  • dplyr cannot be loaded (1): 'test-corpus.R:281:5'
  • lda cannot be loaded (1): 'test-convert.R:199:5'
  • not implemented yet (1): 'test-corpus.R:217:4'
  • purrr cannot be loaded (1): 'test-dfm.R:429:5'
  • requires spacyr installation to work (1): 'test-spacyr-methods.R:32:5'
  • skipping test of option setting when quanteda is not attached (1):
    'test-quanteda_options.R:52:5'
  • stm cannot be loaded (3): 'test-convert.R:6:5', 'test-convert.R:34:5',
    'test-convert.R:49:5'
  • text2vec cannot be loaded (1): 'test-fcm.R:2:5'
  • the verbose message has been changed (4): 'test-dfm.R:785:5',
    'test-tokens-word1.R:24:5', 'test-tokens-word4.R:607:5',
    'test-tokens.R:709:5'
  • tidytext cannot be loaded (1): 'test-as.dictionary.R:63:5'
  • topicmodels cannot be loaded (1): 'test-convert.R:174:5'
  • we no longer expect these to be the same (1): 'test-tokens.R:764:5'
  • whether these pass depends on the platform (1): 'test-tokens-custom.R:17:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-fcm.R:54:5'): fcm works with dfm and tokens in the same way ──
  diag(as.matrix(fcmat_toks_doc)) not equal to diag(as.matrix(fcmat_toks_win_ord)).
  Names: 3 string mismatches
  
  [ FAIL 1 | WARN 0 | SKIP 26 | PASS 3096 ]
  Error: Test failures
  Execution halted