Running ‘testthat.R’ [7s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("rglobi")
  Loading required package: rglobi
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 32 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-cypher.R:10:3'): cypher query ──────────────────────────────────
  Error in `rjson::fromJSON(h$value())`: not all data was parsed (0 chars were parsed out of a total of 164 chars)
  Backtrace:
      ▆
   1. └─rglobi::query("START taxon = node:taxons(name='Homo sapiens') RETURN taxon.name as `name`, taxon.path as `path` LIMIT 1") at test-cypher.R:10:2
   2.   └─rjson::fromJSON(h$value())
  ── Error ('test-cypher.R:19:3'): no result cypher query ────────────────────────
  Error in `rjson::fromJSON(h$value())`: not all data was parsed (0 chars were parsed out of a total of 164 chars)
  Backtrace:
      ▆
   1. └─rglobi::query("START predatorTaxon = node:taxons(name='Calisto hysius') MATCH preyTaxon<-[:CLASSIFIED_AS]-prey<-[:ATE|PREYED_ON]-predator-[:CLASSIFIED_AS]->predatorTaxon WHERE has(preyTaxon.path) RETURN distinct(preyTaxon.name), preyTaxon.path as `prey.taxon.path`") at test-cypher.R:19:2
   2.   └─rjson::fromJSON(h$value())
  ── Failure ('test-cypher.R:25:3'): invalid cypher query ────────────────────────
  e$message not equal to "Invalid input 't': expected <init> (line 1, column 1 (offset: 0))\n\"this is not a valid cypher query\"\n ^".
  1/1 mismatches
  x[1]: "not all data was parsed (0 chars were parsed out of a total of 164 chars)
  x[1]: "
  y[1]: "Invalid input 't': expected <init> (line 1, column 1 (offset: 0))\n\"this
  y[1]:  is not a valid cypher query\"\n ^"
  Backtrace:
      ▆
   1. └─base::tryCatch(...) at test-cypher.R:25:2
   2.   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   3.     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   4.       └─value[[3L]](cond)
   5.         └─testthat::expect_equal(e$message, "Invalid input 't': expected <init> (line 1, column 1 (offset: 0))\n\"this is not a valid cypher query\"\n ^") at test-cypher.R:28:6
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 32 ]
  Error: Test failures
  Execution halted