Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(countland)
  > 
  > test_check("countland")
  Performing spectral clustering on dot products...
      done.
  Performing spectral embedding on dot products...
      done.
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 13 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-countland.R:2:1'): (code run outside of `test_that()`) ─────────
  Error: object 'crossprod' is not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-countland.R:2:0
   2.   └─base::namespaceImportFrom(...)
   3.     └─base::importIntoEnv(impenv, impnames, ns, impvars)
  ── Error ('test-countland_IMA.R:2:1'): (code run outside of `test_that()`) ─────
  Error: object 'crossprod' is not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-countland_IMA.R:2:0
   2.   └─base::namespaceImportFrom(...)
   3.     └─base::importIntoEnv(impenv, impnames, ns, impvars)
  ── Error ('test-countland_dot.R:2:1'): (code run outside of `test_that()`) ─────
  Error: object 'crossprod' is not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-countland_dot.R:2:0
   2.   └─base::namespaceImportFrom(...)
   3.     └─base::importIntoEnv(impenv, impnames, ns, impvars)
  ── Error ('test-countland_score.R:2:1'): (code run outside of `test_that()`) ───
  Error: object 'crossprod' is not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-countland_score.R:2:0
   2.   └─base::namespaceImportFrom(...)
   3.     └─base::importIntoEnv(impenv, impnames, ns, impvars)
  ── Error ('test-countland_shared_counts.R:2:1'): (code run outside of `test_that()`) ──
  Error: object 'crossprod' is not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-countland_shared_counts.R:2:0
   2.   └─base::namespaceImportFrom(...)
   3.     └─base::importIntoEnv(impenv, impnames, ns, impvars)
  ── Error ('test-countland_subsample.R:2:1'): (code run outside of `test_that()`) ──
  Error: object 'crossprod' is not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-countland_subsample.R:2:0
   2.   └─base::namespaceImportFrom(...)
   3.     └─base::importIntoEnv(impenv, impnames, ns, impvars)
  ── Error ('test-countland_subset.R:2:1'): (code run outside of `test_that()`) ──
  Error: object 'crossprod' is not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-countland_subset.R:2:0
   2.   └─base::namespaceImportFrom(...)
   3.     └─base::importIntoEnv(impenv, impnames, ns, impvars)
  
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 13 ]
  Error: Test failures
  Execution halted