Running ‘testthat.R’ [53s/121s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Seurat)
  Attaching SeuratObject
  > 
  > test_check("Seurat")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_integratedata.R:3:1): (code run outside of `test_that()`) ───────
  Error: invalid class "Graph" object: superclass "Mnumeric" not defined in the environment of the object's class
  Backtrace:
       █
    1. ├─base::suppressWarnings(UpdateSeuratObject(pbmc_small)) test_integratedata.R:3:0
    2. │ └─base::withCallingHandlers(...)
    3. └─SeuratObject::UpdateSeuratObject(pbmc_small)
    4.   ├─base::suppressWarnings(expr = object[[obj]] <- UpdateSlots(object = object[[obj]]))
    5.   │ └─base::withCallingHandlers(...)
    6.   └─SeuratObject:::UpdateSlots(object = object[[obj]])
    7.     ├─base::do.call(what = "new", args = object.list)
    8.     └─methods::new(...)
    9.       ├─methods::initialize(value, ...)
   10.       └─Matrix:::initialize(value, ...)
   11.         ├─methods::callNextMethod()
   12.         └─methods:::.nextMethod(.Object = .Object, ... = ...)
   13.           └─methods::validObject(.Object)
  ── Error (test_integration.R:3:1): (code run outside of `test_that()`) ─────────
  Error: invalid class "Graph" object: superclass "Mnumeric" not defined in the environment of the object's class
  Backtrace:
       █
    1. ├─base::suppressWarnings(UpdateSeuratObject(pbmc_small)) test_integration.R:3:0
    2. │ └─base::withCallingHandlers(...)
    3. └─SeuratObject::UpdateSeuratObject(pbmc_small)
    4.   ├─base::suppressWarnings(expr = object[[obj]] <- UpdateSlots(object = object[[obj]]))
    5.   │ └─base::withCallingHandlers(...)
    6.   └─SeuratObject:::UpdateSlots(object = object[[obj]])
    7.     ├─base::do.call(what = "new", args = object.list)
    8.     └─methods::new(...)
    9.       ├─methods::initialize(value, ...)
   10.       └─Matrix:::initialize(value, ...)
   11.         ├─methods::callNextMethod()
   12.         └─methods:::.nextMethod(.Object = .Object, ... = ...)
   13.           └─methods::validObject(.Object)
  ── Error (test_objects.R:9:1): (code run outside of `test_that()`) ─────────────
  Error: invalid class "Graph" object: superclass "Mnumeric" not defined in the environment of the object's class
  Backtrace:
       █
    1. ├─base::suppressWarnings(suppressMessages(UpdateSeuratObject(pbmc_small))) test_objects.R:9:0
    2. │ └─base::withCallingHandlers(...)
    3. ├─base::suppressMessages(UpdateSeuratObject(pbmc_small))
    4. │ └─base::withCallingHandlers(...)
    5. └─SeuratObject::UpdateSeuratObject(pbmc_small)
    6.   ├─base::suppressWarnings(expr = object[[obj]] <- UpdateSlots(object = object[[obj]]))
    7.   │ └─base::withCallingHandlers(...)
    8.   └─SeuratObject:::UpdateSlots(object = object[[obj]])
    9.     ├─base::do.call(what = "new", args = object.list)
   10.     └─methods::new(...)
   11.       ├─methods::initialize(value, ...)
   12.       └─Matrix:::initialize(value, ...)
   13.         ├─methods::callNextMethod()
   14.         └─methods:::.nextMethod(.Object = .Object, ... = ...)
   15.           └─methods::validObject(.Object)
  ── Error (test_transferdata.R:3:1): (code run outside of `test_that()`) ────────
  Error: invalid class "Graph" object: superclass "Mnumeric" not defined in the environment of the object's class
  Backtrace:
       █
    1. ├─base::suppressWarnings(UpdateSeuratObject(pbmc_small)) test_transferdata.R:3:0
    2. │ └─base::withCallingHandlers(...)
    3. └─SeuratObject::UpdateSeuratObject(pbmc_small)
    4.   ├─base::suppressWarnings(expr = object[[obj]] <- UpdateSlots(object = object[[obj]]))
    5.   │ └─base::withCallingHandlers(...)
    6.   └─SeuratObject:::UpdateSlots(object = object[[obj]])
    7.     ├─base::do.call(what = "new", args = object.list)
    8.     └─methods::new(...)
    9.       ├─methods::initialize(value, ...)
   10.       └─Matrix:::initialize(value, ...)
   11.         ├─methods::callNextMethod()
   12.         └─methods:::.nextMethod(.Object = .Object, ... = ...)
   13.           └─methods::validObject(.Object)
  
  [ FAIL 4 | WARN 1 | SKIP 2 | PASS 383 ]
  Error: Test failures
  Execution halted