Running ‘testthat.R’ [87s/58s]
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-9.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 1 | 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:9:3'): test_fit works ──────────────────────────
  Error in `data.frame(sim = j, manynet::as_diffusion(manynet::play_diffusion(.data, ...)))`: arguments imply differing number of rows: 1, 0
  Backtrace:
       ▆
    1. └─migraph::play_diffusions(...) at test-model_distrib.R:9:3
    2.   └─furrr::future_map_dfr(...)
    3.     └─furrr::future_map(...)
    4.       └─furrr:::furrr_map_template(...)
    5.         └─furrr:::furrr_template(...)
    6.           └─furrr:::furrr_try_catch(...)
    7.             └─base::tryCatch(expr = expr, purrr_error_indexed = rethrow_purrr_error_indexed)
    8.               └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   └─value[[3L]](cond)
   11.                     └─rlang::cnd_signal(cnd)
  
  [ FAIL 1 | WARN 1 | SKIP 4 | PASS 432 ]
  Error:
  ! Test failures.
  Execution halted