Running ‘testthat-active_snw.R’ [29s/42s]
  Running ‘testthat-clustering.R’ [7s/10s]
  Running ‘testthat-comparison.R’ [2s/4s]
  Running ‘testthat-core.R’ [57s/77s]
  Running ‘testthat-data_generation.R’ [2s/3s]
  Running ‘testthat-enrichment.R’ [24s/36s]
  Running ‘testthat-scoring.R’ [3s/5s]
  Running ‘testthat-visualization.R’ [29s/47s]
  Running ‘testthat-zzz.R’ [2s/4s]
Running the tests in ‘tests/testthat-comparison.R’ failed.
Complete output:
  > ##################################################
  > ## Project: pathfindR
  > ## Script purpose: Main "test_check" script for
  > ## "comparison_functions" functions
  > ## Date: Feb 9, 2020
  > ## Author: Ege Ulgen
  > ##################################################
  > 
  > library(testthat)
  > library(pathfindR)
  Loading required package: pathfindR.data
  ##############################################################################
                          Welcome to pathfindR!
  
  Please cite the article below if you use pathfindR in published reseach:
  
  Ulgen E, Ozisik O, Sezerman OU. 2019. pathfindR: An R Package for Comprehensive
  Identification of Enriched Pathways in Omics Data Through Active Subnetworks.
  Front. Genet. doi:10.3389/fgene.2019.00858
  
  ##############################################################################
  > 
  > test_check("pathfindR", filter = "comparison_functions")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-comparison_functions.R:15:3): `combine_pathfindR_results()` works ──
  Error: the data frame should contain at least two columns
  Backtrace:
      █
   1. ├─testthat::expect_is(...) test-comparison_functions.R:15:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─pathfindR::combine_pathfindR_results(input_df_A, input_df_B)
   5.   ├─graphics::plot(combined_results_graph(combined_df))
   6.   └─pathfindR::combined_results_graph(combined_df)
   7.     └─igraph::graph_from_data_frame(graph_df, directed = FALSE)
  ── Error (test-comparison_functions.R:25:3): `combined_results_graph()` produces a ggplot object using the correct data ──
  Error: the data frame should contain at least two columns
  Backtrace:
      █
   1. ├─testthat::expect_is(...) test-comparison_functions.R:25:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─pathfindR::combined_results_graph(combined_df)
   5.   └─igraph::graph_from_data_frame(graph_df, directed = FALSE)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 6 ]
  Error: Test failures
  Execution halted