[R-pkg-team] Bug#1042919: r-cran-leidenbase: autopkgtest failure with r-cran-igraph 1.5.0.1-1

Adrian Bunk bunk at debian.org
Wed Aug 2 21:10:15 BST 2023


Source: r-cran-leidenbase
Version: 0.1.18-1
Severity: serious
Control: block 1038700 by -1

https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-leidenbase/36306523/log.gz

...
 46s ══ Failed tests ════════════════════════════════════════════════════════════════
 46s ── Error ('test-leidenbase.R:43:3'): CPMVertexPartition membership and quality ──
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "CPMVertexPartition", 
 46s     seed = 123456, resolution_parameter = 0.5)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:43:2
 46s ── Error ('test-leidenbase.R:61:3'): ModularityVertexPartition membership and quality ──
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "ModularityVertexPartition", 
 46s     seed = 123456, resolution_parameter = 0.5)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:61:2
 46s ── Error ('test-leidenbase.R:79:3'): RBERVertexPartition membership and quality ──
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "RBERVertexPartition", 
 46s     seed = 123456, resolution_parameter = 0.5)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:79:2
 46s ── Error ('test-leidenbase.R:97:3'): SignificanceVertexPartition membership and quality ──
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "SignificanceVertexPartition", 
 46s     seed = 123456, resolution_parameter = 0.5)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:97:2
 46s ── Error ('test-leidenbase.R:115:3'): SurpriseVertexPartition membership and quality ──
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "SurpriseVertexPartition", 
 46s     seed = 123456, resolution_parameter = 0.5)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:115:2
 46s ── Error ('test-leidenbase.R:137:3'): resolution_parameter parameter ───────────
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "RBConfigurationVertexPartition", 
 46s     resolution_parameter = 1, seed = 123456)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:137:2
 46s ── Error ('test-leidenbase.R:155:3'): num_iter parameter ───────────────────────
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "RBConfigurationVertexPartition", 
 46s     num_iter = 5, seed = 123456, resolution_parameter = 0.5)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:155:2
 46s ── Error ('test-leidenbase.R:178:3'): initial_membership parameter ─────────────
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "RBConfigurationVertexPartition", 
 46s     initial_membership = inimem, seed = 123456, resolution_parameter = 0.5)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:178:2
 46s ── Error ('test-leidenbase.R:201:3'): edge_weights parameter ───────────────────
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "RBConfigurationVertexPartition", 
 46s     edge_weights = edgwgt, seed = 123456, resolution_parameter = 0.5)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:201:2
 46s ── Error ('test-leidenbase.R:224:3'): node_sizes parameter ─────────────────────
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "RBConfigurationVertexPartition", 
 46s     node_sizes = nodsiz, seed = 123456, resolution_parameter = 0.5)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:224:2
 46s ── Error ('test-leidenbase.R:245:3'): modularity and significance return values ──
 46s Error in `leidenbase::leiden_find_partition(igraph, partition_type = "CPMVertexPartition", 
 46s     seed = 123456, resolution_parameter = 0.1)`: REAL() can only be applied to a 'numeric', not a 'NULL'
 46s Backtrace:
 46s     ▆
 46s  1. └─leidenbase::leiden_find_partition(...) at test-leidenbase.R:245:2
 46s 
 46s [ FAIL 11 | WARN 0 | SKIP 0 | PASS 6 ]
 46s Error: Test failures
 46s Execution halted
 46s autopkgtest [18:09:34]: test run-unit-test: -----------------------]
 46s run-unit-test        FAIL non-zero exit status 1
...



Upgrading r-cran-leidenbase to 0.1.25 fixes the tests.


More information about the R-pkg-team mailing list