Package check result: ERROR Check: examples, Result: ERROR Running examples in ‘manynet-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: make_play > ### Title: Making diffusion models on networks > ### Aliases: make_play play_diffusion play_diffusions > > ### ** Examples > > smeg <- generate_smallworld(15, 0.025) > plot(play_diffusion(smeg, recovery = 0.4)) > #graphr(play_diffusion(ison_karateka)) > plot(play_diffusions(smeg, times = 10)) Error in loadNamespace(x) : there is no package called ‘future’ Calls: plot ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Check: tests, Result: ERROR Running ‘testthat.R’ [15s/8s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(manynet) > > test_check("manynet") Starting 2 test processes [ FAIL 4 | WARN 0 | SKIP 21 | PASS 546 ] ══ Skipped tests (21) ══════════════════════════════════════════════════════════ • On CRAN (21): 'test-manip_as.R:86:3', 'test-manip_split.R:49:3', 'test-map_autographr.R:2:3', 'test-map_autographr.R:17:3', 'test-map_autographr.R:31:3', 'test-map_autographr.R:47:3', 'test-map_autographr.R:65:3', 'test-map_autographr.R:90:3', 'test-map_autographr.R:102:3', 'test-map_autographr.R:111:3', 'test-map_autographr.R:117:3', 'test-map_autographr.R:124:3', 'test-map_autographr.R:137:3', 'test-map_autographr.R:154:3', 'test-map_autographr.R:167:3', 'test-map_autographr.R:176:3', 'test-mark_nodes.R:13:3', 'test-mark_nodes.R:22:3', 'test-mark_nodes.R:62:3', 'test-mark_ties.R:24:3', 'test-mark_ties.R:33:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-make_read.R:4:3'): read_edgelist works ───────────────────────── Error in `loadNamespace(x)`: there is no package called 'readxl' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-make_read.R:4:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─manynet::read_edgelist(testthat::test_path("sheets", "test.xlsx")) 5. └─base::loadNamespace(x) 6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7. └─base (local) withOneRestart(expr, restarts[[1L]]) 8. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-make_read.R:43:3'): read_nodelist works ──────────────────────── Error in `loadNamespace(x)`: there is no package called 'readxl' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-make_read.R:43:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─manynet::read_nodelist(testthat::test_path("sheets", "test.xlsx")) 5. └─base::loadNamespace(x) 6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7. └─base (local) withOneRestart(expr, restarts[[1L]]) 8. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-member_equivalence.R:5:3'): equivalence clustering returns the right class ── Error in `loadNamespace(x)`: there is no package called 'sna' Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-member_equivalence.R:5:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─manynet::node_in_structural(ison_adolescents, "elbow", "hier") 5. │ └─manynet::node_in_equivalence(...) 6. │ └─manynet::k_elbow(hc, .data, census, range) 7. └─base::loadNamespace(x) 8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 9. └─base (local) withOneRestart(expr, restarts[[1L]]) 10. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-member_equivalence.R:18:3'): equivalence clustering works ────── Error in `loadNamespace(x)`: there is no package called 'sna' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-member_equivalence.R:18:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─manynet::node_in_regular(ison_adolescents, "elbow") 5. │ └─manynet::node_in_equivalence(...) 6. │ └─manynet::k_elbow(hc, .data, census, range) 7. └─base::loadNamespace(x) 8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 9. └─base (local) withOneRestart(expr, restarts[[1L]]) 10. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 4 | WARN 0 | SKIP 21 | PASS 546 ] Error: Test failures Execution halted