CRAN Package Check Results for Package rglobi

Last updated on 2023-09-11 09:52:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.28 3.72 40.16 43.88 OK
r-devel-linux-x86_64-debian-gcc 0.2.28 2.80 30.81 33.61 OK
r-devel-linux-x86_64-fedora-clang 0.2.28 54.59 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.28 64.68 OK
r-devel-windows-x86_64 0.2.28 5.00 63.00 68.00 OK
r-patched-linux-x86_64 0.2.28 3.17 38.82 41.99 OK
r-release-linux-x86_64 0.2.28 2.27 39.27 41.54 ERROR
r-release-macos-arm64 0.2.28 28.00 OK
r-release-macos-x86_64 0.2.28 42.00 OK
r-release-windows-x86_64 0.2.28 6.00 56.00 62.00 OK
r-oldrel-macos-arm64 0.2.28 23.00 OK
r-oldrel-macos-x86_64 0.2.28 33.00 OK
r-oldrel-windows-x86_64 0.2.28 5.00 59.00 64.00 OK

Check Details

Version: 0.2.28
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/11s]
    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
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.28
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/11s]
    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
Flavor: r-release-linux-x86_64