Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [94s/125s]
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.3.1
  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 3 | WARN 0 | SKIP 12 | PASS 3160 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • Behaviour changed - consider removing test (1): 'test-tokens.R:128:5'
  • On CRAN (5): 'test-as.dfm.R:158:5', 'test-tokens-word4.R:128:5',
    'test-tokens-word4.R:366:5', 'test-tokens.R:376:5',
    'test-tokens_ngrams.R:121:5'
  • as.numeric(stringi::stri_info()$Unicode.version) > 10 &&
    as.numeric(stringi::stri_info()$ICU.version) > (1): 'test-tokens.R:1047:5'
  • not implemented yet (1): 'test-corpus.R:197:4'
  • requires spacyr installation to work (1): 'test-spacyr-methods.R:40:5'
  • skipping test of option setting when quanteda is not attached (1):
    'test-quanteda_options.R:52:5'
  • we no longer expect these to be the same (1): 'test-tokens.R:773:5'
  • whether these pass depends on the platform (1): 'test-tokens-custom.R:17:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-convert.R:10:5'): test STM package converter ───────────────────
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─stm::textProcessor(...) at test-convert.R:10:4
   2.   └─base::Ops.numeric_version(utils::packageVersion("tm"), 0.6)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test-convert.R:40:5'): test STM package converter with metadata ─────
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─stm::textProcessor(...) at test-convert.R:40:4
   2.   └─base::Ops.numeric_version(utils::packageVersion("tm"), 0.6)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test-convert.R:60:5'): test STM package converter with metadata w/zero-count document ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─stm::textProcessor(...) at test-convert.R:60:4
   2.   └─base::Ops.numeric_version(utils::packageVersion("tm"), 0.6)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  
  [ FAIL 3 | WARN 0 | SKIP 12 | PASS 3160 ]
  Error: Test failures
  Execution halted