Running ‘testthat.R’ [230s/230s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > ##################################################
  > ## Project: pathfindR
  > ## Script purpose: Main test_check script
  > ## Date: Aug 28, 2019
  > ## Author: Ege Ulgen
  > ##################################################
  > 
  > library(testthat)
  > library(pathfindR)
  ##############################################################################
                          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")
  Exception in thread "main" java.lang.UnsupportedClassVersionError: Application/AppActiveSubnetworkSearch : Unsupported major.minor version 52.0
  	at java.lang.ClassLoader.defineClass1(Native Method)
  	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
  	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
  	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
  	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
  	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  	at java.security.AccessController.doPrivileged(Native Method)
  	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
  ── 1. Error: `active_snw_search()` returns list object (@test-active_snw_functio
  The active subnetwork file does not exist! Check the `active_snw_path` argument
  Backtrace:
   1. testthat::expect_message(...)
   6. pathfindR::active_snw_search(input_for_search = input_df1, pin_name_path = "Biogrid")
   7. pathfindR::filterActiveSnws(...)
  
  Exception in thread "main" java.lang.UnsupportedClassVersionError: Application/AppActiveSubnetworkSearch : Unsupported major.minor version 52.0
  	at java.lang.ClassLoader.defineClass1(Native Method)
  	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
  	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
  	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
  	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
  	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  	at java.security.AccessController.doPrivileged(Native Method)
  	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
  ── 2. Error: All search methods for `active_snw_search()` work (@test-active_snw
  The active subnetwork file does not exist! Check the `active_snw_path` argument
  Backtrace:
   1. testthat::expect_message(...)
   6. pathfindR::active_snw_search(...)
   7. pathfindR::filterActiveSnws(...)
  
  Exception in thread "main" java.lang.UnsupportedClassVersionError: Application/AppActiveSubnetworkSearch : Unsupported major.minor version 52.0
  	at java.lang.ClassLoader.defineClass1(Native Method)
  	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
  	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
  	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
  	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
  	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  	at java.security.AccessController.doPrivileged(Native Method)
  	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
  ── 3. Error: Expect warning with empty result from `run_pathfindR()` (@test-core
  task 1 failed - "The active subnetwork file does not exist! Check the `active_snw_path` argument"
  Backtrace:
   1. testthat::expect_warning(...)
   6. pathfindR::run_pathfindR(RA_input[1:2, ], iterations = 1, visualize_enriched_terms = FALSE)
   7. `%dopar%`(...)
   8. e$fun(obj, substitute(ex), parent.frame(), e$data)
  
  Visualizing: Spliceosome                                                                                                                                                                                                          
  ── 4. Error: `visualize_terms()` creates expected png file(s) (@test-visualizati
  Magick: unable to read font `/usr/openwin/lib/X11/fonts/100dpi/timR10.pcf.Z' @ error/annotate.c/RenderFreetype/1419
  Backtrace:
   1. base::suppressMessages(...)
   3. pathfindR::visualize_terms(...)
   4. pathfindR::visualize_term_interactions(...)
   5. igraph::plot.igraph(...)
   7. graphics::text.default(...)
  
  Visualizing: Spliceosome                                                                                                                                                                                                          
  ── 5. Error: `visualize_term_interactions()` creates expected png file(s) (@test
  Magick: unable to read font `/usr/openwin/lib/X11/fonts/100dpi/timR10.pcf.Z' @ error/annotate.c/RenderFreetype/1419
  Backtrace:
   1. testthat::expect_null(visualize_term_interactions(tmp_res, pin_name_path = "Biogrid"))
   4. pathfindR::visualize_term_interactions(tmp_res, pin_name_path = "Biogrid")
   5. igraph::plot.igraph(...)
   7. graphics::text.default(...)
  
  Downloading pathway diagrams of 1 KEGG pathways
  
  
    |                                                                            
    |                                                                      |   0%Downloading pathway diagrams of 1 KEGG pathways
  
  
    |                                                                            
    |                                                                      |   0%Downloading pathway diagrams of 1 KEGG pathways
  
  
    |                                                                            
    |                                                                      |   0%Downloading pathway diagrams of 1 KEGG pathways
  
  
    |                                                                            
    |                                                                      |   0%══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 354 | SKIPPED: 2 | WARNINGS: 2 | FAILED: 5 ]
  1. Error: `active_snw_search()` returns list object (@test-active_snw_functions.R#100) 
  2. Error: All search methods for `active_snw_search()` work (@test-active_snw_functions.R#126) 
  3. Error: Expect warning with empty result from `run_pathfindR()` (@test-core_functions.R#77) 
  4. Error: `visualize_terms()` creates expected png file(s) (@test-visualization_functions.R#22) 
  5. Error: `visualize_term_interactions()` creates expected png file(s) (@test-visualization_functions.R#80) 
  
  Error: testthat unit tests failed
  Execution halted