Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(NFP)
  Loading required package: graph
  Loading required package: BiocGenerics
  Loading required package: parallel
  
  Attaching package: 'BiocGenerics'
  
  The following objects are masked from 'package:parallel':
  
      clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
      clusterExport, clusterMap, parApply, parCapply, parLapply,
      parLapplyLB, parRapply, parSapply, parSapplyLB
  
  The following objects are masked from 'package:stats':
  
      IQR, mad, xtabs
  
  The following objects are masked from 'package:base':
  
      Filter, Find, Map, Position, Reduce, anyDuplicated, append,
      as.data.frame, cbind, colnames, do.call, duplicated, eval, evalq,
      get, grep, grepl, intersect, is.unsorted, lapply, lengths, mapply,
      match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank,
      rbind, rownames, sapply, setdiff, sort, table, tapply, union,
      unique, unsplit, which, which.max, which.min
  
  > test_check('NFP')
  Start tag expected, '<' not found
  -- 1. Error: (unknown) (@test-NFP.R#13)  ---------------------------------------
  1: Start tag expected, '<' not found
  1: parseKGML2Graph(getKGMLurl("04630", organism = "hsa")) %>% nodes_standard at testthat/test-NFP.R:13
  2: eval(lhs, parent, parent)
  3: eval(expr, envir, enclos)
  4: parseKGML2Graph(getKGMLurl("04630", organism = "hsa"))
  5: parseKGML(file)
  6: xmlTreeParse(file, getDTD = FALSE)
  7: (function (msg, ...) 
     {
         if (length(grep("\\\n$", msg)) == 0) 
             paste(msg, "\n", sep = "")
         if (immediate) 
             cat(msg)
         if (length(msg) == 0) {
             e = simpleError(paste(1:length(messages), messages, sep = ": ", collapse = ""))
             class(e) = c(class, class(e))
             stop(e)
         }
         messages <<- c(messages, msg)
     })(character(0))
  
  == testthat results  ===========================================================
  OK: 14 SKIPPED: 0 FAILED: 1
  1. Error: (unknown) (@test-NFP.R#13) 
  
  Error: testthat unit tests failed
  Execution halted