Running 'spelling.R' [0s]
  Running 'testthat.R' [16s]
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: 13.0
  ICU version: 69.1
  Parallel computing: 2 of 96 threads used.
  See https://quanteda.io for tutorials and examples.
  > # library("quanteda.textmodels")
  > library("quanteda.textplots")
  > quanteda_options(reset = TRUE)
  > 
  > # Error on Matrix deprecations
  > options(Matrix.warnDeprecatedCoerce = 2)
  > 
  > test_check("quanteda.textplots")
  [ FAIL 7 | WARN 0 | SKIP 6 | PASS 47 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • For interactive visual inspection only (2): 'test-textplot_xray.R:99:5',
    'test-textplot_xray.R:152:5'
  • On CRAN (2): 'test-textplot_wordcloud.R:22:5', 'test-utils.R:4:5'
  • until quanteda.textstats is updated (2): 'test-textplot_keyness.R:6:5',
    'test-textplot_wordcloud.R:10:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-textplot_network.R:9:5'): test textplot_network ────────────────
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(textplot_network(testdfm, offset = 0.1)) at test-textplot_network.R:9:4
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─quanteda.textplots::textplot_network(testdfm, offset = 0.1)
   10. └─quanteda.textplots:::textplot_network.dfm(testdfm, offset = 0.1)
   11.   ├─quanteda.textplots::textplot_network(...)
   12.   ├─quanteda::fcm(x)
   13.   └─quanteda:::fcm.dfm(x)
  ── Error ('test-textplot_network.R:30:5'): textplot_network error when fcm is too large ──
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─quanteda::fcm(tokens(data_corpus_inaugural[1:5])) at test-textplot_network.R:30:4
   2. └─quanteda:::fcm.tokens(tokens(data_corpus_inaugural[1:5]))
   3.   ├─quanteda::fcm(...)
   4.   └─quanteda:::fcm.dfm(...)
  ── Error ('test-textplot_network.R:42:5'): test textplot_network font-selection ──
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-textplot_network.R:42:4
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─quanteda.textplots::textplot_network(testdfm, offset = 0.1, vertex_labelfont = "sans")
   10. └─quanteda.textplots:::textplot_network.dfm(...)
   11.   ├─quanteda.textplots::textplot_network(...)
   12.   ├─quanteda::fcm(x)
   13.   └─quanteda:::fcm.dfm(x)
  ── Error ('test-textplot_network.R:61:5'): remove_edges is working ─────────────
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─quanteda::fcm(tokens(c("a a b", "a b", "c b"))) at test-textplot_network.R:61:4
   2. └─quanteda:::fcm.tokens(tokens(c("a a b", "a b", "c b")))
   3.   ├─quanteda::fcm(...)
   4.   └─quanteda:::fcm.dfm(...)
  ── Error ('test-textplot_network.R:81:5'): as.network.fcm works ────────────────
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─quanteda::fcm(txt) at test-textplot_network.R:81:4
   2. └─quanteda:::fcm.tokens(txt)
   3.   ├─quanteda::fcm(...)
   4.   └─quanteda:::fcm.dfm(...)
  ── Error ('test-textplot_network.R:104:5'): as.igraph.fcm works ────────────────
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─quanteda::fcm(txt) at test-textplot_network.R:104:4
   2. └─quanteda:::fcm.tokens(txt)
   3.   ├─quanteda::fcm(...)
   4.   └─quanteda:::fcm.dfm(...)
  ── Error ('test-textplot_scale1d.R:33:5'): test textplot_scale1d wordscores in the most basic way ──
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─quanteda.textmodels::textmodel_ca(mt) at test-textplot_scale1d.R:33:4
   2. └─quanteda.textmodels:::textmodel_ca.dfm(mt)
  
  [ FAIL 7 | WARN 0 | SKIP 6 | PASS 47 ]
  Error: Test failures
  Execution halted