Running 'testthat.R' [33s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(backbone)
   ____  
  |  _ \   backbone v1.4.0
  |#|_) |  Cite: Domagalski, R., Neal, Z. P., & Sagan, B. (2021). Backbone: An
  |# _ <         R package for extracting the backbone of bipartite projections. 
  |#|_) |        PLoS ONE. https://doi.org/10.1371/journal.pone.0244363
  |____/   For help: type vignette("backbone"); email zpneal@msu.edu; github domagal9/backbone
  > 
  > test_check("backbone")
  == Failed tests ================================================================
  -- Error (test-backbone.extract.R:6:3): backbone.extract fwer = none -----------
  Error: object 'G' not found
  Backtrace:
      x
   1. \-backbone::backbone.extract(...) test-backbone.extract.R:6:2
   2.   \-backbone:::frommatrix(backbone, class[1])
  -- Error (test-backbone.extract.R:27:3): backbone.extract fwer = holm ----------
  Error: object 'G' not found
  Backtrace:
      x
   1. \-backbone::backbone.extract(...) test-backbone.extract.R:27:2
   2.   \-backbone:::frommatrix(backbone, class[1])
  -- Error (test-backbone.extract.R:49:3): backbone.extract fwer = bonferroni ----
  Error: object 'G' not found
  Backtrace:
      x
   1. \-backbone::backbone.extract(...) test-backbone.extract.R:49:2
   2.   \-backbone:::frommatrix(backbone, class[1])
  -- Error (test-backbone.extract.R:67:3): backbone.extract class outputs --------
  Error: object 'G' not found
  Backtrace:
      x
   1. \-backbone::backbone.extract(...) test-backbone.extract.R:67:2
   2.   \-backbone:::frommatrix(backbone, class[1])
  -- Failure (test-tomatrix.R:11:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:18:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:26:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:34:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:40:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:47:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:53:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:60:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:65:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:71:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:76:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:82:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:87:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:93:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:98:3): tomatrix classes match ----------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-tomatrix.R:104:3): tomatrix classes match ---------------------
  class(test$G) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  
  [ FAIL 20 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted