Running ‘testthat.R’ [5s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(genBart)
  Welcome to genBart! To get started, it is recommended to walk 
  through the vignette. It can be accessed through browseVignettes("genBart").
  > 
  > test_check("genBart")
  ── 1. Error: genModelResults outputs correctly for one comparison (@test_genMode
  there is no package called 'DESeq2'
  1: DESeq2::DESeqDataSetFromMatrix at testthat/test_genModelResults.R:64
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 2. Error: genModelResults outputs correctly for multiple comparisons (@test_g
  there is no package called 'DESeq2'
  1: DESeq2::DESeqDataSetFromMatrix at testthat/test_genModelResults.R:85
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  [1] "clustering genes from all samples normalized to mean..."
  [1] "clustering genes from all samples normalized to mean..."
  [1] "clustering genes from all samples normalized to controls..."
  [1] "clustering genes from baseline samples normalized to mean..."
  [1] "clustering genes from all samples normalized to mean..."
  [1] "clustering genes from all samples normalized to baseline..."
  [1] "clustering genes from baseline samples normalized to mean..."
  [1] "clustering genes from baseline samples normalized to controls..."
  [1] "clustering genes from all samples normalized to mean..."
  [1] "clustering genes from all samples normalized to controls..."
  [1] "clustering genes from all samples normalized to baseline..."
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 135 SKIPPED: 0 FAILED: 2
  1. Error: genModelResults outputs correctly for one comparison (@test_genModelResults.R#64) 
  2. Error: genModelResults outputs correctly for multiple comparisons (@test_genModelResults.R#85) 
  
  Error: testthat unit tests failed
  Execution halted