- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘iGraphMatch/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘iGraphMatch’ version ‘2.0.5’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘iGraphMatch’ can be installed ... [9s/10s] OK
See the install log for details.
- used C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
- used SDK: ‘MacOSX11.3.sdk’
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking startup messages can be suppressed ... [1s/1s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s/5s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [1s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/2s] 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
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [18s/18s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [17s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(iGraphMatch)
Thanks for using iGraphMatch!
We'd love to get feedback on what you like, what you don't like,
and how you are using the package.
See ?iGraphMatch for contact information.
>
> test_check("iGraphMatch")
Sparse part
10 x 10 sparse Matrix of class "dgCMatrix"
[1,] . . -0.77 . 1.4000 -0.15 . -0.32 -0.0076 0.55
[2,] -0.46 . -1.10 1.30 0.3400 . -0.160 . . -1.20
[3,] -1.10 . . . 0.0069 . . . . 0.56
[4,] -1.10 -1.10 . . . -0.37 . . 1.6000 .
[5,] -0.28 . . . . . . . -0.1800 .
[6,] -1.40 -0.97 -0.17 . . -1.00 -0.035 -0.19 -1.3000 2.50
[7,] . 0.85 . . -0.6700 -0.17 0.660 -0.72 . .
[8,] -1.40 . -0.47 -0.99 1.8000 0.70 . -0.58 . .
[9,] -0.86 . 0.26 . 0.6500 . . -1.80 . 2.10
[10,] . . . 1.60 . -0.40 -0.500 1.40 -0.5200 .
plus left factor
10 x 3 Matrix of class "dgeMatrix"
[,1] [,2] [,3]
[1,] 0.11613577 0.3100942 0.9830440
[2,] 0.30302180 0.7425694 0.6392046
[3,] 0.47880269 0.6389113 0.6607546
[4,] 0.34483055 0.9925160 0.5283594
[5,] 0.60071414 0.1282698 0.3174938
[6,] 0.07608332 0.8832396 0.7678555
[7,] 0.95599261 0.8100834 0.5263085
[8,] 0.02220682 0.8218512 0.7323019
[9,] 0.84171063 0.8347027 0.3076657
[10,] 0.63244245 0.7327322 0.4041733
times right factor transpose
10 x 3 Matrix of class "dgeMatrix"
[,1] [,2] [,3]
[1,] 0.2044024 0.47922247 0.5089206
[2,] 0.9856331 0.85031192 0.4944386
[3,] 0.5663108 0.42233068 0.7970529
[4,] 0.2803751 0.03139212 0.5669589
[5,] 0.1850557 0.25814665 0.1066968
[6,] 0.7580614 0.33484473 0.8076484
[7,] 0.5667813 0.13354967 0.5671121
[8,] 0.9321736 0.49954639 0.2122409
[9,] 0.6386933 0.80213563 0.7495793
[10,] 0.7007481 0.33715324 0.3072184
Sparse part
10 x 10 sparse Matrix of class "dgCMatrix"
[1,] . . -0.77 . 1.4000 -0.15 . -0.32 -0.0076 0.55
[2,] -0.46 . -1.10 1.30 0.3400 . -0.160 . . -1.20
[3,] -1.10 . . . 0.0069 . . . . 0.56
[4,] -1.10 -1.10 . . . -0.37 . . 1.6000 .
[5,] -0.28 . . . . . . . -0.1800 .
[6,] -1.40 -0.97 -0.17 . . -1.00 -0.035 -0.19 -1.3000 2.50
[7,] . 0.85 . . -0.6700 -0.17 0.660 -0.72 . .
[8,] -1.40 . -0.47 -0.99 1.8000 0.70 . -0.58 . .
[9,] -0.86 . 0.26 . 0.6500 . . -1.80 . 2.10
[10,] . . . 1.60 . -0.40 -0.500 1.40 -0.5200 .
plus left factor
10 x 3 Matrix of class "dgeMatrix"
[,1] [,2] [,3]
[1,] 0.11613577 0.3100942 0.9830440
[2,] 0.30302180 0.7425694 0.6392046
[3,] 0.47880269 0.6389113 0.6607546
[4,] 0.34483055 0.9925160 0.5283594
[5,] 0.60071414 0.1282698 0.3174938
[6,] 0.07608332 0.8832396 0.7678555
[7,] 0.95599261 0.8100834 0.5263085
[8,] 0.02220682 0.8218512 0.7323019
[9,] 0.84171063 0.8347027 0.3076657
[10,] 0.63244245 0.7327322 0.4041733
times right factor transpose
10 x 3 Matrix of class "dgeMatrix"
[,1] [,2] [,3]
[1,] 0.2044024 0.47922247 0.5089206
[2,] 0.9856331 0.85031192 0.4944386
[3,] 0.5663108 0.42233068 0.7970529
[4,] 0.2803751 0.03139212 0.5669589
[5,] 0.1850557 0.25814665 0.1066968
[6,] 0.7580614 0.33484473 0.8076484
[7,] 0.5667813 0.13354967 0.5671121
[8,] 0.9321736 0.49954639 0.2122409
[9,] 0.6386933 0.80213563 0.7495793
[10,] 0.7007481 0.33715324 0.3072184
splrMatrix
Dimension: 10 10
Lower rank matrix is rank: 3[ FAIL 2 | WARN 4 | SKIP 25 | PASS 229 ]
══ Skipped tests (25) ══════════════════════════════════════════════════════════
• On CRAN (25): 'test-Isorank.R:16:3', 'test-Isorank.R:23:3',
'test-Isorank.R:48:3', 'test-customized_gm_method.R:32:3',
'test-gm_PATH.R:32:3', 'test-gm_expand_when_stuck.R:11:3',
'test-graph_match_class.R:22:3', 'test-init_start.R:30:3',
'test-init_start.R:37:5', 'test-init_start.R:50:3', 'test-init_start.R:57:3',
'test-init_start.R:63:5', 'test-init_start.R:88:3',
'test-init_start.R:112:5', 'test-init_start.R:162:5', 'test-lap.R:61:5',
'test-perco.R:12:3', 'test-perco.R:20:3', 'test-perco.R:26:3',
'test-perco.R:38:3', 'test-perco.R:51:3', 'test-start.R:26:3',
'test-umeyama.R:17:3', 'test-umeyama.R:34:3', 'test-umeyama.R:51:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-center-graph.R:49:3'): use splr ────────────────────────────────
Error in `irlba::irlba(A, ndim)`: function 'as_cholmod_sparse' not provided by package 'Matrix'
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-center-graph.R:49:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::nrow(center_graph(A, scheme = 2, use_splr = FALSE))
5. └─iGraphMatch::center_graph(A, scheme = 2, use_splr = FALSE)
6. └─iGraphMatch:::low_rank_approx(A[], r)
7. └─irlba::irlba(A, ndim)
── Error ('test-center-graph.R:61:3'): padding ─────────────────────────────────
Error in `irlba::irlba(a, rank)`: function 'as_cholmod_sparse' not provided by package 'Matrix'
Backtrace:
▆
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 4 | SKIP 25 | PASS 229 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [56s/58s] OK
- checking PDF version of manual ... [4s/4s] OK
- DONE
Status: 2 ERRORs
- using check arguments '--no-clean-on-error '