Last updated on 2024-05-02 08:02:36 CEST.
Package | ERROR | OK |
---|---|---|
iGraphMatch | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 2.0.4
Check: examples
Result: ERROR
Running examples in ‘iGraphMatch-Ex.R’ failed
The error most likely occurred in:
> ### Name: center_graph
> ### Title: Center adjacency matrix
> ### Aliases: center_graph
>
> ### ** Examples
>
> A <- sample_correlated_gnp_pair(n = 10, corr = .5, p = .5)$graph1
> center_graph(A, scheme = "naive")
10 x 10 sparse Matrix of class "dgCMatrix"
[1,] . 1 . . . 1 . 1 1 .
[2,] 1 . 1 . 1 1 1 . 1 .
[3,] . 1 . . 1 1 . . 1 .
[4,] . . . . . . . . . 1
[5,] . 1 1 . . . 1 1 1 .
[6,] 1 1 1 . . . 1 1 1 1
[7,] . 1 . . 1 1 . . 1 1
[8,] 1 . . . 1 1 . . . 1
[9,] 1 1 1 . 1 1 1 . . .
[10,] . . . 1 . 1 1 1 . .
> center_graph(A, scheme = "center")
Sparse part
10 x 10 sparse Matrix of class "dgCMatrix"
[1,] . 2 . . . 2 . 2 2 .
[2,] 2 . 2 . 2 2 2 . 2 .
[3,] . 2 . . 2 2 . . 2 .
[4,] . . . . . . . . . 2
[5,] . 2 2 . . . 2 2 2 .
[6,] 2 2 2 . . . 2 2 2 2
[7,] . 2 . . 2 2 . . 2 2
[8,] 2 . . . 2 2 . . . 2
[9,] 2 2 2 . 2 2 2 . . .
[10,] . . . 2 . 2 2 2 . .
plus left factor
10 x 1 Matrix of class "dgeMatrix"
[,1]
[1,] -1
[2,] -1
[3,] -1
[4,] -1
[5,] -1
[6,] -1
[7,] -1
[8,] -1
[9,] -1
[10,] -1
times right factor transpose
10 x 1 Matrix of class "dgeMatrix"
[,1]
[1,] 1
[2,] 1
[3,] 1
[4,] 1
[5,] 1
[6,] 1
[7,] 1
[8,] 1
[9,] 1
[10,] 1
> center_graph(A, scheme = 2)
Error in irlba::irlba(a, rank) :
function 'as_cholmod_sparse' not provided by package 'Matrix'
Calls: center_graph -> splr -> splr -> <Anonymous>
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 2.0.4
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [19s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
▆
1. ├─testthat::expect_equal(...) at test-center-graph.R:61:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::nrow(...)
5. ├─iGraphMatch::pad(...)
6. │ └─methods::is(m, "splrMatrix")
7. └─iGraphMatch::center_graph(A, scheme = 2, use_splr = TRUE)
8. ├─iGraphMatch::splr(x = A[], a = -A[], rank = r, factorize = TRUE)
9. └─iGraphMatch::splr(x = A[], a = -A[], rank = r, factorize = TRUE)
10. └─irlba::irlba(a, rank)
[ FAIL 2 | WARN 108 | SKIP 25 | PASS 147 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-arm64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.