Running 'spelling.R' [0s]
  Comparing 'spelling.Rout' to 'spelling.Rout.save' ...5c5
< NULL
---
> All Done!
  Running 'testthat.R' [32s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > 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")
  > 
  > # for strong tests for Matrix deprecations
  > options(Matrix.warnDeprecatedCoerce = 2)
  > 
  > test_check("quanteda.textmodels")
  [ FAIL 12 | WARN 0 | SKIP 1 | PASS 205 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • austin cannot be loaded (1): 'test-textmodel_wordfish.R:10:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-textmodel_ca.R:8:5'): textmodel-ca (rsvd) works as expected as ca::ca ──
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─quanteda.textmodels::textmodel_ca(ie2010dfm) at test-textmodel_ca.R:8:4
   2. └─quanteda.textmodels:::textmodel_ca.dfm(ie2010dfm)
  ── Error ('test-textmodel_ca.R:48:5'): textmodel_ca matches ca::ca() for given number of dimension ──
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─quanteda.textmodels::textmodel_ca(ie2010dfm, nd = 10) at test-textmodel_ca.R:48:4
   2. └─quanteda.textmodels:::textmodel_ca.dfm(ie2010dfm, nd = 10)
  ── Error ('test-textmodel_ca.R:87:5'): ca coefficients methods work ────────────
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─quanteda.textmodels::textmodel_ca(data_dfm_lbgexample) at test-textmodel_ca.R:87:4
   2. └─quanteda.textmodels:::textmodel_ca.dfm(data_dfm_lbgexample)
  ── Error ('test-textmodel_ca.R:96:5'): ca textplot_scale1d method works ────────
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─quanteda.textmodels::textmodel_ca(data_dfm_lbgexample) at test-textmodel_ca.R:96:4
   2. └─quanteda.textmodels:::textmodel_ca.dfm(data_dfm_lbgexample)
  ── Error ('test-textmodel_nb.R:78:5'): Bernoulli nb predicted values are correct ──
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─stats::predict(nb_bern_smooth, nb_dfm, type = "prob") at test-textmodel_nb.R:78:4
   2. ├─stats::predict(nb_bern_smooth, nb_dfm, type = "prob")
   3. └─quanteda.textmodels:::predict.textmodel_nb(...)
  ── Error ('test-textmodel_nb.R:95:5'): Works with newdata with different features from the model (#1329 and #1322) ──
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(predict(nb, newdata = mt1, force = TRUE)) at test-textmodel_nb.R:95: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. ├─stats::predict(nb, newdata = mt1, force = TRUE)
   10. ├─stats::predict(nb, newdata = mt1, force = TRUE)
   11. └─quanteda.textmodels:::predict.textmodel_nb(...)
  ── Error ('test-textmodel_nb.R:105:5'): Works with features with zero probability ──
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(predict(nb)) at test-textmodel_nb.R:105: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. ├─stats::predict(nb)
   10. ├─stats::predict(nb)
   11. └─quanteda.textmodels:::predict.textmodel_nb(nb)
  ── Error ('test-textmodel_nb.R:109:5'): types works (#1322) ────────────────────
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─stats::predict(nb_multi_smooth) at test-textmodel_nb.R:109:4
   2. ├─stats::predict(nb_multi_smooth)
   3. └─quanteda.textmodels:::predict.textmodel_nb(nb_multi_smooth)
  ── Error ('test-textmodel_nb.R:158:5'): raise warning of unused dots ───────────
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-textmodel_nb.R:158:4
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. ├─stats::predict(nb_multi_smooth, something = TRUE)
   7. ├─stats::predict(nb_multi_smooth, something = TRUE)
   8. └─quanteda.textmodels:::predict.textmodel_nb(nb_multi_smooth, something = TRUE)
  ── Error ('test-textmodel_nb.R:197:5'): textmodel_nb() works with weighted dfm ──
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(predict(tmod)) at test-textmodel_nb.R:197: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. ├─stats::predict(tmod)
   10. ├─stats::predict(tmod)
   11. └─quanteda.textmodels:::predict.textmodel_nb(tmod)
  ── Error ('test-textmodel_nb.R:216:5'): multinomial output matches fastNaiveBayes and naivebayes packages ──
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─testthat::expect_equivalent(...) at test-textmodel_nb.R:216:4
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─stats::predict(tmod_nb, x[5, ], type = "prob")
   5. ├─stats::predict(tmod_nb, x[5, ], type = "prob")
   6. └─quanteda.textmodels:::predict.textmodel_nb(tmod_nb, x[5, ], type = "prob")
  ── Error ('test-textmodel_nb.R:270:5'): Bernoulli output matches fastNaiveBayes and naivebayes packages ──
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
      ▆
   1. ├─testthat::expect_equivalent(...) at test-textmodel_nb.R:270:4
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─stats::predict(tmod_nb, xb[5, ], type = "prob")
   5. ├─stats::predict(tmod_nb, xb[5, ], type = "prob")
   6. └─quanteda.textmodels:::predict.textmodel_nb(...)
  
  [ FAIL 12 | WARN 0 | SKIP 1 | PASS 205 ]
  Error: Test failures
  Execution halted