Running 'testthat-active-snw.R' [12s]
  Running 'testthat-clustering.R' [7s]
  Running 'testthat-comparison.R' [5s]
  Running 'testthat-cpp.R' [4s]
  Running 'testthat-data_generation.R' [5s]
  Running 'testthat-enrichment.R' [36s]
  Running 'testthat-run-pathfindr.R' [4s]
  Running 'testthat-scoring.R' [5s]
  Running 'testthat-search-and-enrichment-wrapper.R' [9s]
  Running 'testthat-utility.R' [14s]
  Running 'testthat-visualization.R' [101s]
Running the tests in 'tests/testthat-enrichment.R' failed.
Complete output:
  > library(testthat)
  > library(pathfindR)
  Loading required package: pathfindR.data
  > 
  > test_check("pathfindR", filter = "enrichment")
  Saving _problems/test-enrichment-177.R
  Saving _problems/test-enrichment-182.R
  Saving _problems/test-enrichment-188.R
  Saving _problems/test-enrichment-189.R
  Saving _problems/test-enrichment-204.R
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 119 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-enrichment.R:174:3'): `enrichment_analyses()` -- returns a data frame ──
  Expected `enr_res1 <- ...` to inherit from "character".
  Actual inheritance: "NULL"
  ── Failure ('test-enrichment.R:182:3'): `enrichment_analyses()` -- returns a data frame ──
  Expected `nrow(enr_res1) <= total` to be TRUE.
  Differences:
  `actual`:       
  `expected`: TRUE
  
  ── Failure ('test-enrichment.R:185:3'): `enrichment_analyses()` -- returns a data frame ──
  Expected `enr_res2 <- ...` to inherit from "character".
  Actual inheritance: "NULL"
  ── Failure ('test-enrichment.R:189:3'): `enrichment_analyses()` -- returns a data frame ──
  Expected `ncol(enr_res2) == ncol(enr_res1) + 1` to be TRUE.
  Differences:
  `actual`:       
  `expected`: TRUE
  
  ── Error ('test-enrichment.R:201:3'): `summarize_enrichment_results()` -- returns summarized enrichment results ──
  Error in `summarize_enrichment_results(enrichment_res = combined_res[, -6])`: `enrichment_res` should be a data frame
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test-enrichment.R:201:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─pathfindR::summarize_enrichment_results(...)
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 119 ]
  Error:
  ! Test failures.
  Execution halted