R Under development (unstable) (2024-09-28 r87201 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(manynet) > > test_check("manynet") Starting 2 test processes [ FAIL 11 | WARN 18603 | SKIP 21 | PASS 525 ] ══ 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:174:3', 'test-map_autographr.R:183: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-mark_is.R:12:3'): is_ tests return correct values ────────────── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. ├─testthat::expect_false(is_perfect_matching(ison_southern_women)) at test-mark_is.R:12:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─manynet::is_perfect_matching(ison_southern_women) 5. ├─manynet::to_matching(.data, mark = mark) 6. └─manynet:::to_matching.igraph(.data, mark = mark) 7. ├─manynet::to_twomode(out, node_attribute(.data, mark)) 8. └─manynet:::to_twomode.igraph(out, node_attribute(.data, mark)) 9. ├─manynet::to_undirected(.data) 10. └─manynet:::to_undirected.igraph(.data) ── Error ('test-make_create.R:2:3'): create empty graph works ────────────────── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. ├─testthat::expect_true(is_twomode(create_empty(c(5, 5)))) at test-make_create.R:2:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─manynet::is_twomode(create_empty(c(5, 5))) 5. └─manynet::create_empty(c(5, 5)) 6. ├─manynet::to_undirected(out) 7. └─manynet:::to_undirected.igraph(out) ── Error ('test-manip_add.R:68:3'): summarise_ties works ─────────────────────── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. └─manynet::summarise_ties(orig, mean = mean(year)) at test-manip_add.R:68:3 2. ├─manynet::to_undirected(out) 3. └─manynet:::to_undirected.tbl_graph(out) 4. └─manynet::as_tidygraph(igraph::as.undirected(.data, edge.attr.comb = "first")) ── Error ('test-manip_split.R:69:3'): to_ and from_ slices works ─────────────── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. ├─testthat::expect_length(to_slices(slice, slice = 7), length(ison_adolescents)) at test-manip_split.R:69:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─manynet::to_slices(slice, slice = 7) 5. └─manynet:::to_slices.tbl_graph(slice, slice = 7) 6. └─manynet::summarise_ties(out, sum(increment)) 7. ├─manynet::to_undirected(out) 8. └─manynet:::to_undirected.tbl_graph(out) 9. └─manynet::as_tidygraph(igraph::as.undirected(.data, edge.attr.comb = "first")) ── Error ('test-manip_transform.R:43:3'): to matching works ──────────────────── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. ├─manynet::as_edgelist(to_matching(ison_southern_women)) at test-manip_transform.R:43:3 2. ├─manynet::to_matching(ison_southern_women) 3. └─manynet:::to_matching.tbl_graph(ison_southern_women) 4. ├─manynet::as_tidygraph(to_matching.igraph(.data), mark) 5. └─manynet:::to_matching.igraph(.data) 6. ├─manynet::to_twomode(out, node_attribute(.data, mark)) 7. └─manynet:::to_twomode.igraph(out, node_attribute(.data, mark)) 8. ├─manynet::to_undirected(.data) 9. └─manynet:::to_undirected.igraph(.data) ── Error ('test-manip_transform.R:80:3'): to and from slices work ────────────── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. ├─manynet::to_slices(orig, slice = 7) at test-manip_transform.R:80:3 2. └─manynet:::to_slices.tbl_graph(orig, slice = 7) 3. └─manynet::summarise_ties(out, sum(increment)) 4. ├─manynet::to_undirected(out) 5. └─manynet:::to_undirected.tbl_graph(out) 6. └─manynet::as_tidygraph(igraph::as.undirected(.data, edge.attr.comb = "first")) ── Error ('test-manip_reformat.R:24:3'): to_undirected works ─────────────────── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. ├─testthat::expect_false(is_directed(to_undirected(ison_southern_women))) at test-manip_reformat.R:24:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─manynet::is_directed(to_undirected(ison_southern_women)) 5. ├─manynet::to_undirected(ison_southern_women) 6. └─manynet:::to_undirected.tbl_graph(ison_southern_women) 7. └─manynet::as_tidygraph(igraph::as.undirected(.data, edge.attr.comb = "first")) ── Error ('test-manip_reformat.R:127:3'): to_twomode works ───────────────────── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. ├─testthat::expect_true(is_twomode(to_twomode(ison_algebra, "type"))) at test-manip_reformat.R:127:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─manynet::is_twomode(to_twomode(ison_algebra, "type")) 5. ├─manynet::to_twomode(ison_algebra, "type") 6. └─manynet:::to_twomode.tbl_graph(ison_algebra, "type") 7. ├─manynet::as_tidygraph(to_twomode.igraph(.data, mark)) 8. └─manynet:::to_twomode.igraph(.data, mark) 9. ├─manynet::to_undirected(.data) 10. └─manynet:::to_undirected.tbl_graph(.data) 11. └─manynet::as_tidygraph(igraph::as.undirected(.data, edge.attr.comb = "first")) ── Error ('test-mark_nodes.R:32:3'): additional node mark functions work ─────── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-mark_nodes.R:32:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─manynet::node_is_independent(ison_adolescents) 5. ├─igraph::largest_ivs(to_undirected(as_igraph(.data))) 6. │ └─igraph:::ensure_igraph(graph) 7. ├─manynet::to_undirected(as_igraph(.data)) 8. └─manynet:::to_undirected.igraph(as_igraph(.data)) ── Error ('test-measure_closure.R:3:3'): network density works ───────────────── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-measure_closure.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─manynet::net_density(create_empty(10)) 5. │ └─manynet::is_twomode(.data) 6. └─manynet::create_empty(10) 7. ├─manynet::to_undirected(out) 8. └─manynet:::to_undirected.igraph(out) ── Error ('test-member_community.R:15:3'): node_fast_greedy algorithm works ──── Error in `igraph::as.undirected(.data, edge.attr.comb = "first")`: unused argument (edge.attr.comb = "first") Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-member_community.R:15:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─manynet::node_in_greedy(ison_southern_women) 5. ├─igraph::cluster_fast_greedy(to_undirected(as_igraph(.data))) 6. │ └─igraph:::ensure_igraph(graph) 7. ├─manynet::to_undirected(as_igraph(.data)) 8. └─manynet:::to_undirected.igraph(as_igraph(.data)) [ FAIL 11 | WARN 18603 | SKIP 21 | PASS 525 ] Error: Test failures Execution halted