Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(isotracer)
  To automatically run isotracer in parallel on a multicore CPU, you can call:
    options(mc.cores = parallel::detectCores())
  
  
  Attaching package: 'isotracer'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("isotracer")
  Failed with error:  'there is no package called 'ggraph''
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-ui_sankey-plotting.R:48:5): stress layout works ───────────────
  `sankey(...)` threw an error.
  Message: Package "ggraph" needed when specifying a layout argument. Please install it.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-ui_sankey-plotting.R:48:4
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─isotracer::sankey(...)
   7.   └─isotracer:::sankey_place_nodes(...)
   8.     └─isotracer:::sankey_calc_nodes_locations(topo, layout)
  ── Failure (test-ui_sankey-plotting.R:50:5): stress layout works ───────────────
  `sankey(...)` threw an error.
  Message: Package "ggraph" needed when specifying a layout argument. Please install it.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-ui_sankey-plotting.R:50:4
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─isotracer::sankey(...)
   7.   └─isotracer:::sankey_place_nodes(...)
   8.     └─isotracer:::sankey_calc_nodes_locations(topo, layout)
  ── Failure (test-ui_sankey-plotting.R:53:5): stress layout works ───────────────
  `sankey(...)` threw an error.
  Message: Package "ggraph" needed when specifying a layout argument. Please install it.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-ui_sankey-plotting.R:53:4
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─isotracer::sankey(...)
   7.   └─isotracer:::sankey_place_nodes(...)
   8.     └─isotracer:::sankey_calc_nodes_locations(topo, layout)
  ── Failure (test-ui_sankey-plotting.R:63:5): stress layout works ───────────────
  `sankey(r, debug = TRUE, edge_f = 0.2)` threw an error.
  Message: Package "ggraph" needed when specifying a layout argument. Please install it.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-ui_sankey-plotting.R:63:4
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─isotracer::sankey(r, debug = TRUE, edge_f = 0.2)
   7.   └─isotracer:::sankey_place_nodes(...)
   8.     └─isotracer:::sankey_calc_nodes_locations(topo, layout)
  ── Failure (test-ui_sankey-plotting.R:64:5): stress layout works ───────────────
  `sankey(r, debug = TRUE, edge_f = 0.2, node_s = "constant")` threw an error.
  Message: Package "ggraph" needed when specifying a layout argument. Please install it.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-ui_sankey-plotting.R:64:4
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─isotracer::sankey(r, debug = TRUE, edge_f = 0.2, node_s = "constant")
   7.   └─isotracer:::sankey_place_nodes(...)
   8.     └─isotracer:::sankey_calc_nodes_locations(topo, layout)
  ── Failure (test-ui_sankey-plotting.R:65:5): stress layout works ───────────────
  `sankey(r, debug = TRUE, edge_f = 0.2, node_s = "prop")` threw an error.
  Message: Package "ggraph" needed when specifying a layout argument. Please install it.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-ui_sankey-plotting.R:65:4
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─isotracer::sankey(r, debug = TRUE, edge_f = 0.2, node_s = "prop")
   7.   └─isotracer:::sankey_place_nodes(...)
   8.     └─isotracer:::sankey_calc_nodes_locations(topo, layout)
  
  [ FAIL 6 | WARN 6 | SKIP 1 | PASS 205 ]
  Error: Test failures
  Execution halted