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