CRAN Package Check Results for Package gmat

Last updated on 2023-09-23 09:20:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 3.19 39.75 42.94 OK
r-devel-linux-x86_64-debian-gcc 0.2.2 2.99 30.10 33.09 OK
r-devel-linux-x86_64-fedora-clang 0.2.2 49.13 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.2 51.05 ERROR
r-devel-windows-x86_64 0.2.2 7.00 53.00 60.00 OK
r-patched-linux-x86_64 0.2.2 3.18 36.86 40.04 OK
r-release-linux-x86_64 0.2.2 3.85 37.01 40.86 OK
r-release-macos-arm64 0.2.2 24.00 OK
r-release-macos-x86_64 0.2.2 32.00 OK
r-release-windows-x86_64 0.2.2 9.00 55.00 64.00 OK
r-oldrel-macos-arm64 0.2.2 27.00 OK
r-oldrel-macos-x86_64 0.2.2 29.00 OK
r-oldrel-windows-x86_64 0.2.2 7.00 58.00 65.00 OK

Check Details

Version: 0.2.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/12s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library("testthat")
     > library("gmat")
     >
     > test_check("gmat")
     [ FAIL 11 | WARN 0 | SKIP 0 | PASS 245 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_dag.R:24:3'): upper Cholesky factors are of Cholesky ───────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gRbase::topoSort(igraph::as_graphnel(dag), index = TRUE) at test_dag.R:24:2
     2. ├─igraph::as_graphnel(dag)
     3. └─base::loadNamespace(x)
     4. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     5. └─base (local) withOneRestart(expr, restarts[[1L]])
     6. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test_dag.R:50:3'): the dag structure is preserved ───────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gmat (local) expect_equal_dag(m = sample[, , 1], dag = dag) at test_dag.R:50:2
     2. │ ├─gRbase::topoSort(igraph::as_graphnel(dag), index = TRUE) at test_dag.R:34:4
     3. │ └─igraph::as_graphnel(dag)
     4. └─base::loadNamespace(x)
     5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     6. └─base (local) withOneRestart(expr, restarts[[1L]])
     7. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test_spdcor.R:18:5'): the size of the sample is correct ─────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gmat (local) f(N = N) at test_spdcor.R:18:4
     2. │ └─gmat::ug_to_dag(ug)
     3. │ ├─gRbase::triangulate(igraph::as_graphnel(ug))
     4. │ └─igraph::as_graphnel(ug)
     5. └─base::loadNamespace(x)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base (local) withOneRestart(expr, restarts[[1L]])
     8. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test_spdcor.R:27:5'): matrix dimension is correct ───────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gmat (local) f(p = p) at test_spdcor.R:27:4
     2. │ └─gmat::ug_to_dag(ug)
     3. │ ├─gRbase::triangulate(igraph::as_graphnel(ug))
     4. │ └─igraph::as_graphnel(ug)
     5. └─base::loadNamespace(x)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base (local) withOneRestart(expr, restarts[[1L]])
     8. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test_spdcor.R:45:5'): matrices are symmetric positive definite ──────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gmat (local) f(p = p) at test_spdcor.R:45:4
     2. │ └─gmat::ug_to_dag(ug)
     3. │ ├─gRbase::triangulate(igraph::as_graphnel(ug))
     4. │ └─igraph::as_graphnel(ug)
     5. └─base::loadNamespace(x)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base (local) withOneRestart(expr, restarts[[1L]])
     8. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test_spdcor.R:88:5'): matrices are of correlation ───────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gmat (local) f(p = p) at test_spdcor.R:88:4
     2. │ └─gmat::ug_to_dag(ug)
     3. │ ├─gRbase::triangulate(igraph::as_graphnel(ug))
     4. │ └─igraph::as_graphnel(ug)
     5. └─base::loadNamespace(x)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base (local) withOneRestart(expr, restarts[[1L]])
     8. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test_ug.R:38:3'): the graph structure is preserved ──────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gmat::port_chol(ug = ug) at test_ug.R:38:2
     2. │ └─gmat::ug_to_dag(ug)
     3. │ ├─gRbase::triangulate(igraph::as_graphnel(ug))
     4. │ └─igraph::as_graphnel(ug)
     5. └─base::loadNamespace(x)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base (local) withOneRestart(expr, restarts[[1L]])
     8. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test_utils.R:73:3'): the dag orientation of an ug is actually a dag ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gmat::ug_to_dag(ug = ug) at test_utils.R:73:2
     2. │ ├─gRbase::triangulate(igraph::as_graphnel(ug))
     3. │ └─igraph::as_graphnel(ug)
     4. └─base::loadNamespace(x)
     5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     6. └─base (local) withOneRestart(expr, restarts[[1L]])
     7. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test_utils.R:88:3'): the skeleton of the oriented dag is chordal ────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gmat::ug_to_dag(ug = ug) at test_utils.R:88:2
     2. │ ├─gRbase::triangulate(igraph::as_graphnel(ug))
     3. │ └─igraph::as_graphnel(ug)
     4. └─base::loadNamespace(x)
     5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     6. └─base (local) withOneRestart(expr, restarts[[1L]])
     7. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test_utils.R:99:3'): the skeleton of the oriented dag contains the original ug, keeping
     the order ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gmat::ug_to_dag(ug = ug) at test_utils.R:99:2
     2. │ ├─gRbase::triangulate(igraph::as_graphnel(ug))
     3. │ └─igraph::as_graphnel(ug)
     4. └─base::loadNamespace(x)
     5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     6. └─base (local) withOneRestart(expr, restarts[[1L]])
     7. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test_utils.R:114:3'): the oriented dag does not contain v-structures ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'graph'
     Backtrace:
     ▆
     1. ├─gmat::ug_to_dag(ug = ug) at test_utils.R:114:2
     2. │ ├─gRbase::triangulate(igraph::as_graphnel(ug))
     3. │ └─igraph::as_graphnel(ug)
     4. └─base::loadNamespace(x)
     5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     6. └─base (local) withOneRestart(expr, restarts[[1L]])
     7. └─base (local) doWithOneRestart(return(expr), restart)
    
     [ FAIL 11 | WARN 0 | SKIP 0 | PASS 245 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [9s/32s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library("testthat")
     > library("gmat")
     >
     > test_check("gmat")
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 487 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_dag.R:24:3'): upper Cholesky factors are of Cholesky ───────────
     Error in `as(object, "dgCMatrix")`: no method or default for coercing "graphNEL" to "dgCMatrix"
     Backtrace:
     ▆
     1. ├─gRbase::topoSort(igraph::as_graphnel(dag), index = TRUE) at test_dag.R:24:2
     2. └─gRbase:::topo_sort.default(igraph::as_graphnel(dag), index = TRUE)
     3. ├─gRbase::topo_sortMAT(as(object, "dgCMatrix"), index = index)
     4. │ └─gRbase:::topo_sortMAT_(amat)
     5. └─methods::as(object, "dgCMatrix")
     ── Error ('test_dag.R:50:3'): the dag structure is preserved ───────────────────
     Error in `as(object, "dgCMatrix")`: no method or default for coercing "graphNEL" to "dgCMatrix"
     Backtrace:
     ▆
     1. └─gmat (local) expect_equal_dag(m = sample[, , 1], dag = dag) at test_dag.R:50:2
     2. ├─gRbase::topoSort(igraph::as_graphnel(dag), index = TRUE) at test_dag.R:34:4
     3. └─gRbase:::topo_sort.default(igraph::as_graphnel(dag), index = TRUE)
     4. ├─gRbase::topo_sortMAT(as(object, "dgCMatrix"), index = index)
     5. │ └─gRbase:::topo_sortMAT_(amat)
     6. └─methods::as(object, "dgCMatrix")
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 487 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc