Running ‘testthat.R’ [59s/81s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(backbone)
  > 
  > test_check("backbone")
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-backbone.extract.R:32:3): backbone.extract fwer = holm ────────
  Use caution when applying Holm-Bonferroni or Bonferroni correction to backbones
               found via the Fixed Degree Sequence Method as the precision of the proportions
               depends on the number of trials.
  Backtrace:
   1. backbone::backbone.extract(...) test-backbone.extract.R:32:2
  ── Warning (test-backbone.extract.R:34:3): backbone.extract fwer = holm ────────
  Use caution when applying Holm-Bonferroni or Bonferroni correction to backbones
               found via the Fixed Degree Sequence Method as the precision of the proportions
               depends on the number of trials.
  Backtrace:
   1. backbone::backbone.extract(...) test-backbone.extract.R:34:2
  ── Warning (test-backbone.extract.R:54:3): backbone.extract fwer = bonferroni ──
  Use caution when applying Holm-Bonferroni or Bonferroni correction to backbones
               found via the Fixed Degree Sequence Method as the precision of the proportions
               depends on the number of trials.
  Backtrace:
   1. backbone::backbone.extract(...) test-backbone.extract.R:54:2
  ── Warning (test-backbone.extract.R:56:3): backbone.extract fwer = bonferroni ──
  Use caution when applying Holm-Bonferroni or Bonferroni correction to backbones
               found via the Fixed Degree Sequence Method as the precision of the proportions
               depends on the number of trials.
  Backtrace:
   1. backbone::backbone.extract(...) test-backbone.extract.R:56:2
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-backbone.extract.R:71:3): backbone.extract class outputs ────────
  Error: attempt to set index 0/0 in SET_VECTOR_ELT
  Backtrace:
      █
   1. └─backbone::backbone.extract(...) test-backbone.extract.R:71:2
   2.   └─backbone:::class.convert(backbone, class[1], extract = TRUE)
   3.     └─network::network(...)
   4.       ├─network::as.network(...)
   5.       └─network::as.network.matrix(...)
   6.         └─network::network.initialize(...)
   7.           └─network::set.vertex.attribute(g, "na", rep(FALSE, n), 1:n)
  ── Error (test-class.convert.R:32:3): class.convert classes match ──────────────
  Error: attempt to set index 0/0 in SET_VECTOR_ELT
  Backtrace:
      █
   1. └─network::network(...) test-class.convert.R:32:2
   2.   ├─network::as.network(...)
   3.   └─network::as.network.matrix(...)
   4.     └─network::network.initialize(...)
   5.       └─network::set.vertex.attribute(g, "na", rep(FALSE, n), 1:n)
  
  [ FAIL 2 | WARN 4 | SKIP 0 | PASS 9 ]
  Error: Test failures
  Execution halted