Running ‘testthat.R’ [186s/141s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(manynet)
  > library(migraph)
  Loading required package: autograph
  Loading required package: netrics
  > 
  > test_check("migraph")
  Starting 2 test processes.
  > test-tutorials_manynet.R: Loading required namespace: shiny
  Saving _problems/test-model_distrib-10.R
  > test-tutorials_migraph.R: [1] "Hello World"
  > test-tutorials_run.R: # A tibble: 0 x 0
  > test-tutorials_run.R: # A tibble: 0 x 0
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 432 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • Installed netrics is version 0.2.1; but 0.2.2 is required (1):
    'test-tutorials_netrics.R:8:3'
  • On Linux (1): 'test-model_tests.R:58:3'
  • Skipping slow functions in diffusion.Rmd (1): 'test-tutorials_migraph.R:12:5'
  • empty test (1): 'test-measure_over.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-model_distrib.R:10:3'): test_fit works ─────────────────────────
  <vctrs_error_subscript_oob/vctrs_error_subscript/rlang_error/error/condition>
  Error in `dplyr::select(., sim, time, I)`: Can't select columns that don't exist.
  x Column `time` doesn't exist.
  Backtrace:
       ▆
    1. ├─migraph::test_fit(x, y) at test-model_distrib.R:10:3
    2. │ └─y %>% dplyr::select(sim, time, I)
    3. ├─dplyr::select(., sim, time, I)
    4. ├─dplyr:::select.data.frame(., sim, time, I)
    5. │ └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
    6. │   └─tidyselect:::eval_select_impl(...)
    7. │     ├─tidyselect:::with_subscript_errors(...)
    8. │     │ └─base::withCallingHandlers(...)
    9. │     └─tidyselect:::vars_select_eval(...)
   10. │       └─tidyselect:::walk_data_tree(expr, data_mask, context_mask)
   11. │         └─tidyselect:::eval_c(expr, data_mask, context_mask)
   12. │           └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
   13. │             └─tidyselect:::walk_data_tree(new, data_mask, context_mask)
   14. │               └─tidyselect:::as_indices_sel_impl(...)
   15. │                 └─tidyselect:::as_indices_impl(...)
   16. │                   └─tidyselect:::chr_as_locations(x, vars, call = call, arg = arg)
   17. │                     └─vctrs::vec_as_location(...)
   18. └─vctrs (local) `<fn>`() at vctrs/R/subscript-loc.R:84:3
   19.   └─vctrs:::stop_subscript_oob(...)
   20.     └─vctrs:::stop_subscript(...) at vctrs/R/subscript-loc.R:503:3
   21.       └─rlang::abort(...) at vctrs/R/subscript.R:150:3
  
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 432 ]
  Error:
  ! Test failures.
  Execution halted