Running ‘testthat.R’ [74s/112s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clustermole)
  > 
  > test_check("clustermole")
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-functions.R:80:1): (code run outside of `test_that()`) ────────
  Some gene sets have size one. Consider setting 'min.sz > 1'.
  Backtrace:
   1. clustermole::clustermole_enrichment(expr_mat = log_cpm_mat, species = "hs") test-functions.R:80:0
   3. GSVA::gsva(...)
   4. GSVA:::.local(expr, gset.idx.list, ...)
   5. GSVA:::.gsva(...)
  ── Warning (test-functions.R:94:1): (code run outside of `test_that()`) ────────
  Some gene sets have size one. Consider setting 'min.sz > 1'.
  Backtrace:
   1. clustermole::clustermole_enrichment(expr_mat = log_cpm_mat, species = "mm") test-functions.R:94:0
   3. GSVA::gsva(...)
   4. GSVA:::.local(expr, gset.idx.list, ...)
   5. GSVA:::.gsva(...)
  ── Warning (test-functions.R:103:3): read_gmt() output ─────────────────────────
  cannot open URL 'https://www.gsea-msigdb.org/gsea/msigdb/supplemental/scsig.all.v1.0.symbols.gmt': HTTP status was '502 Bad Gateway'
  Backtrace:
   1. clustermole::read_gmt(file = "http://software.broadinstitute.org/gsea/msigdb/supplemental/scsig.all.v1.0.symbols.gmt") test-functions.R:103:2
   3. base::readLines(file)
   4. base::file(con, "r")
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-functions.R:103:3): read_gmt() output ───────────────────────────
  Error: cannot open the connection to 'http://software.broadinstitute.org/gsea/msigdb/supplemental/scsig.all.v1.0.symbols.gmt'
  Backtrace:
      █
   1. └─clustermole::read_gmt(file = "http://software.broadinstitute.org/gsea/msigdb/supplemental/scsig.all.v1.0.symbols.gmt") test-functions.R:103:2
   2.   ├─base::strsplit(readLines(file), "\t")
   3.   └─base::readLines(file)
   4.     └─base::file(con, "r")
  
  [ FAIL 1 | WARN 3 | SKIP 0 | PASS 27 ]
  Error: Test failures
  Execution halted