Running ‘testthat.R’ [25s/45s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Canek)
  > 
  > test_check("Canek")
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 25 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-Clustering.R:4:1'): (code run outside of `test_that()`) ────────
  Error in `get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─Canek::CorrectBatches(...) at test-Clustering.R:4:0
   2.   └─Canek::CorrectBatch(...)
   3.     └─Canek:::GetMnnPairs(...)
   4.       └─FNN::get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)
  ── Error ('test-CorrectBatch.R:5:1'): (code run outside of `test_that()`) ──────
  Error in `get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─Canek:::CorrectBatch(x, y, doCosNorm = TRUE, clusterMethod = "kmeans") at test-CorrectBatch.R:5:0
   2.   └─Canek:::GetMnnPairs(...)
   3.     └─FNN::get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)
  ── Error ('test-CorrectBatches.R:4:1'): (code run outside of `test_that()`) ────
  Error in `get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─Canek::CorrectBatches(Batches, doCosNorm = TRUE, clusterMethod = "kmeans") at test-CorrectBatches.R:4:0
   2.   └─Canek::CorrectBatch(...)
   3.     └─Canek:::GetMnnPairs(...)
   4.       └─FNN::get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)
  ── Error ('test-FilterPairs.R:4:1'): (code run outside of `test_that()`) ───────
  Error in `get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─Canek::CorrectBatches(...) at test-FilterPairs.R:4:0
   2.   └─Canek::CorrectBatch(...)
   3.     └─Canek:::GetMnnPairs(...)
   4.       └─FNN::get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)
  ── Error ('test-Fuzzy.R:4:1'): (code run outside of `test_that()`) ─────────────
  Error in `get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─Canek::CorrectBatches(...) at test-Fuzzy.R:4:0
   2.   └─Canek::CorrectBatch(...)
   3.     └─Canek:::GetMnnPairs(...)
   4.       └─FNN::get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)
  ── Error ('test-GetMnnPairs.R:4:1'): (code run outside of `test_that()`) ───────
  Error in `get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─Canek:::GetMnnPairs(t(x), t(y), kNN = 1) at test-GetMnnPairs.R:4:0
   2.   └─FNN::get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)
  ── Error ('test_RunCanek.R:12:1'): (code run outside of `test_that()`) ─────────
  Error in `get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─Canek::RunCanek(x, "orig.ident") at test_RunCanek.R:12:0
   2. └─Canek:::RunCanek.Seurat(x, "orig.ident")
   3.   ├─Canek::RunCanek(...)
   4.   └─Canek:::RunCanek.list(...)
   5.     └─Canek:::RunCanekSeurat(x, ...)
   6.       └─Canek::CorrectBatches(counts, debug = debug, ...)
   7.         └─Canek::CorrectBatch(...)
   8.           └─Canek:::GetMnnPairs(...)
   9.             └─FNN::get.knnx(data = t(queBatch), query = t(refBatch), k = kNN)
  
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 25 ]
  Error: Test failures
  Execution halted