Running 'testthat.R' [83s/91s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(Canek)
  > 
  > test_check("Canek")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  
  == Failed tests ================================================================
  -- Failure (test-Clustering.R:19:3): Clustering with louvain works -------------
  as.integer(table(dataLouvain$cluster)) not equal to c(178, 146, 162, 145).
  Lengths differ: 5 is not 4
  -- Failure (test-Clustering.R:20:3): Clustering with louvain works -------------
  dim(dataLouvain$centers) not equal to c(4, 10).
  1/2 mismatches
  [1] 5 - 4 == 1
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [53s/86s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Canek)
  > 
  > test_check("Canek")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-Clustering.R:19:3): Clustering with louvain works ─────────────
  as.integer(table(dataLouvain$cluster)) not equal to c(178, 146, 162, 145).
  Lengths differ: 5 is not 4
  ── Failure (test-Clustering.R:20:3): Clustering with louvain works ─────────────
  dim(dataLouvain$centers) not equal to c(4, 10).
  1/2 mismatches
  [1] 5 - 4 == 1
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [112s/326s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Canek)
  > 
  > test_check("Canek")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-Clustering.R:19:3): Clustering with louvain works ─────────────
  as.integer(table(dataLouvain$cluster)) not equal to c(178, 146, 162, 145).
  Lengths differ: 5 is not 4
  ── Failure (test-Clustering.R:20:3): Clustering with louvain works ─────────────
  dim(dataLouvain$centers) not equal to c(4, 10).
  1/2 mismatches
  [1] 5 - 4 == 1
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [118s/367s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Canek)
  > 
  > test_check("Canek")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-Clustering.R:19:3): Clustering with louvain works ─────────────
  as.integer(table(dataLouvain$cluster)) not equal to c(178, 146, 162, 145).
  Lengths differ: 5 is not 4
  ── Failure (test-Clustering.R:20:3): Clustering with louvain works ─────────────
  dim(dataLouvain$centers) not equal to c(4, 10).
  1/2 mismatches
  [1] 5 - 4 == 1
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [111s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(Canek)
  > 
  > test_check("Canek")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-Clustering.R:19:3): Clustering with louvain works ─────────────
  as.integer(table(dataLouvain$cluster)) not equal to c(178, 146, 162, 145).
  Lengths differ: 5 is not 4
  ── Failure (test-Clustering.R:20:3): Clustering with louvain works ─────────────
  dim(dataLouvain$centers) not equal to c(4, 10).
  1/2 mismatches
  [1] 5 - 4 == 1
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [85s/96s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Canek)
  > 
  > test_check("Canek")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-Clustering.R:19:3): Clustering with louvain works ─────────────
  as.integer(table(dataLouvain$cluster)) not equal to c(178, 146, 162, 145).
  Lengths differ: 5 is not 4
  ── Failure (test-Clustering.R:20:3): Clustering with louvain works ─────────────
  dim(dataLouvain$centers) not equal to c(4, 10).
  1/2 mismatches
  [1] 5 - 4 == 1
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [83s/100s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Canek)
  > 
  > test_check("Canek")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-Clustering.R:19:3): Clustering with louvain works ─────────────
  as.integer(table(dataLouvain$cluster)) not equal to c(178, 146, 162, 145).
  Lengths differ: 5 is not 4
  ── Failure (test-Clustering.R:20:3): Clustering with louvain works ─────────────
  dim(dataLouvain$centers) not equal to c(4, 10).
  1/2 mismatches
  [1] 5 - 4 == 1
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [123s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(Canek)
  > 
  > test_check("Canek")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  
  == Failed tests ================================================================
  -- Failure (test-Clustering.R:19:3): Clustering with louvain works -------------
  as.integer(table(dataLouvain$cluster)) not equal to c(178, 146, 162, 145).
  Lengths differ: 5 is not 4
  -- Failure (test-Clustering.R:20:3): Clustering with louvain works -------------
  dim(dataLouvain$centers) not equal to c(4, 10).
  1/2 mismatches
  [1] 5 - 4 == 1
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 88 ]
  Error: Test failures
  Execution halted
Package required but not available: ‘bluster’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Running 'testthat.R' [98s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(Canek)
  > 
  > test_check("Canek")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 72 ]
  
  == Failed tests ================================================================
  -- Failure (test-Clustering.R:19:3): Clustering with louvain works -------------
  as.integer(table(dataLouvain$cluster)) not equal to c(178, 146, 162, 145).
  Lengths differ: 5 is not 4
  -- Failure (test-Clustering.R:20:3): Clustering with louvain works -------------
  dim(dataLouvain$centers) not equal to c(4, 10).
  1/2 mismatches
  [1] 5 - 4 == 1
  -- Error (test_RunCanek.R:2:1): (code run outside of `test_that()`) ------------
  Error in `loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])`: namespace 'Matrix' 1.3-2 is already loaded, but >= 1.3.3 is required
  Backtrace:
       x
    1. \-base::lapply(...) at test_RunCanek.R:2:0
    2.   \-Canek FUN(X[[i]], ...)
    3.     \-Seurat::CreateSeuratObject at test_RunCanek.R:3:2
    4.       \-base::getExportedValue(pkg, name)
    5.         \-base::asNamespace(ns)
    6.           \-base::getNamespace(ns)
    7.             \-base::loadNamespace(name)
    8.               +-base::namespaceImportFrom(...)
    9.               | \-base::asNamespace(ns)
   10.               \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.                 +-base::namespaceImportFrom(...)
   12.                 | \-base::asNamespace(ns)
   13.                 \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 72 ]
  Error: Test failures
  Execution halted