Package: autograph Check: examples New result: ERROR Running examples in ‘autograph-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: layout_valence > ### Title: Valence-based layout > ### Aliases: layout_valence layout_tbl_graph_valence > > ### ** Examples > > edges <- data.frame( + from = c("A", "B", "C", "D"), + to = c("B", "C", "D", "A"), + weight = c(2, 3, 1, 4), + sign = c(1, -1, 1, -1) # 1 = positive, -1 = negative + ) > graphr(as_igraph(edges), layout="valence") ℹ `node_is_isolate()` was moved since manynet 2.0.0 to netrics. Install netrics with: `install.packages('netrics')` Error: Please update your code to use the new function. Execution halted Package: autograph Check: tests New result: ERROR Running ‘testthat.R’ [13s/8s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(autograph) Loading required package: manynet > > stocnet_theme("default") > test_check("autograph") Starting 2 test processes. > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` > test-graphr.R: i `node_is_isolate()` was moved since manynet 2.0.0 to netrics. > test-graphr.R: Install netrics with: `install.packages('netrics')` Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R Saving _problems/test-graphr-8.R > test-plot_manynet.R: i `node_deg()` was moved since manynet 2.0.0 to netrics. > test-plot_manynet.R: Install netrics with: `install.packages('netrics')` Saving _problems/test-plot_manynet-1.R [ FAIL 27 | WARN 0 | SKIP 26 | PASS 34 ] ══ Skipped tests (26) ══════════════════════════════════════════════════════════ • On CRAN (20): 'test-layout_partition.R:3:3', 'test-layout_partition.R:15:3', 'test-layout_partition.R:24:3', 'test-layout_partition.R:54:3', 'test-layout_partition.R:63:3', 'test-layout_partition.R:72:3', 'test-layout_partition.R:79:3', 'test-graphr.R:14:3', 'test-graphr.R:29:3', 'test-graphr.R:43:3', 'test-graphr.R:59:3', 'test-graphr.R:77:3', 'test-graphr.R:101:3', 'test-graphr.R:113:3', 'test-graphr.R:123:3', 'test-graphr.R:129:3', 'test-graphr.R:136:3', 'test-graphr.R:148:3', 'test-graphr.R:162:3', 'test-graphr.R:171:3' • On Linux (2): 'test-plot_convergence.R:2:3', 'test-plot_convergence.R:8:3' • grepl("starwars|physicians|potter|marvel", nm) is TRUE (4): 'test-graphr.R:7:5', 'test-graphr.R:7:5', 'test-graphr.R:7:5', 'test-graphr.R:7:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-graphr.R:8:5'): graphr() works on fict_actually ────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on fict_friends ─────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on fict_greys ───────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on fict_lotr ────────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on fict_thrones ─────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on irps_911 ─────────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on irps_blogs ───────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on irps_books ───────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on irps_nuclear ─────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on irps_revere ──────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on irps_usgeo ───────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on irps_wwi ─────────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_adolescents ─────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_algebra ─────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_brandes ─────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_dolphins ────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_emotions ────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_hightech ────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_judo_moves ──────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_karateka ────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_koenigsberg ─────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_laterals ────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph::graphs(...) 9. └─base::lapply(...) 10. └─autograph (local) FUN(X[[i]], ...) 11. └─autograph::graphr(netlist[[i]], ...) 12. └─autograph:::.infer_isolates(g, match.arg(isolates)) 13. └─manynet::node_is_isolate(g) 14. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_lawfirm ─────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_monks ───────────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_networkers ──────────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Failure ('test-graphr.R:8:5'): graphr() works on ison_southern_women ──────── Expected `graphr(data_objs[[nm]])` not to throw any errors. Actually got a with message: Please update your code to use the new function. Backtrace: ▆ 1. ├─testthat::expect_error(graphr(data_objs[[nm]]), NA) at test-graphr.R:8:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─autograph::graphr(data_objs[[nm]]) 8. └─autograph:::.infer_isolates(g, match.arg(isolates)) 9. └─manynet::node_is_isolate(g) 10. └─manynet:::fn_moved("node_is_isolate", "node_is_isolate", version = "2.0.0") ── Error ('test-plot_manynet.R:1:1'): (code run outside of `test_that()`) ────── Error: Please update your code to use the new function. Backtrace: ▆ 1. └─manynet::node_deg(ison_dolphins) at test-plot_manynet.R:1:1 2. └─manynet:::fn_moved("node_deg", "node_by_deg", version = "2.0.0") [ FAIL 27 | WARN 0 | SKIP 26 | PASS 34 ] Error: ! Test failures. Execution halted Package: migraph Check: dependencies in R code New result: WARNING Missing or unexported object: ‘manynet::generate_permutation’ Package: migraph Check: examples New result: ERROR Running examples in ‘migraph-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: predict > ### Title: Predict methods for network regression > ### Aliases: predict predict.netlm predict.netlogit > > ### ** Examples > > networkers <- ison_networkers %>% to_subgraph(Discipline == "Sociology") > model1 <- net_regression(weight ~ ego(Citations) + alter(Citations) + sim(Citations), + networkers, times = 20) Error: ! 'generate_permutation' is not an exported object from 'namespace:manynet' Backtrace: ▆ 1. └─migraph::net_regression(...) 2. └─furrr::future_map_dbl(...) 3. └─furrr:::furrr_map_template(...) 4. └─furrr:::furrr_template(...) 5. └─furrr:::furrr_try_catch(...) 6. └─base::tryCatch(expr = expr, purrr_error_indexed = rethrow_purrr_error_indexed) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─rlang::cnd_signal(cnd) Execution halted Package: migraph Check: tests New result: ERROR Running ‘testthat.R’ [10s/6s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(manynet) > library(migraph) Loading required package: autograph > > test_check("migraph") Starting 2 test processes. > test-measure_over.R: i `net_components()` was moved since manynet 2.0.0 to netrics.Install netrics with: `install.packages('netrics')` > test-measure_over.R: i `node_in_regular()` was moved since manynet 2.0.0 to netrics. > test-measure_over.R: Install netrics with: `install.packages('netrics')` Saving _problems/test-measure_over-2.R Saving _problems/test-measure_over-8.R Saving _problems/test-model_regression-6.R > test-model_tests.R: i `net_heterophily()` was moved since manynet 2.0.0 to netrics. > test-model_tests.R: Install netrics with: `install.packages('netrics')` Saving _problems/test-model_tests-8.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 1 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-measure_over.R:2:3'): over_waves works ───────────────────────── Error: Please update your code to use the new function. Backtrace: ▆ 1. └─migraph::over_waves(manynet::fict_potter, manynet::net_components) at test-measure_over.R:2:3 2. └─furrr::future_map(...) 3. └─furrr:::furrr_map_template(...) 4. └─furrr:::furrr_template(...) 5. └─furrr:::furrr_try_catch(...) 6. └─base::tryCatch(expr = expr, purrr_error_indexed = rethrow_purrr_error_indexed) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─rlang::cnd_signal(cnd) ── Error ('test-measure_over.R:7:3'): over_membership works ──────────────────── Error: Please update your code to use the new function. Backtrace: ▆ 1. ├─migraph::over_membership(...) at test-measure_over.R:7:3 2. └─manynet::node_in_regular(fict_potter) 3. └─manynet:::fn_moved("node_in_regular", "node_in_regular", version = "2.0.0") ── Error ('test-model_regression.R:5:1'): (code run outside of `test_that()`) ── Error: 'generate_permutation' is not an exported object from 'namespace:manynet' Backtrace: ▆ 1. └─migraph::net_regression(...) at test-model_regression.R:5:1 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) ── Error ('test-model_tests.R:5:1'): (code run outside of `test_that()`) ─────── Error: Please update your code to use the new function. Backtrace: ▆ 1. └─migraph::test_random(...) at test-model_tests.R:5:1 2. └─manynet (local) FUN(.data, args) 3. └─manynet:::fn_moved("net_heterophily", "net_by_heterophily", version = "2.0.0") [ FAIL 4 | WARN 0 | SKIP 0 | PASS 1 ] Error: ! Test failures. Execution halted Package: netrics Check: Rd cross-references New result: WARNING Missing link(s) in Rd file 'mark_core.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'mark_degree.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'mark_diff.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'mark_dyads.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'mark_nodes.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'mark_select_node.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'mark_select_tie.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'mark_ties.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'mark_triangles.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_assort_net.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_assort_node.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_breadth.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_broker_node.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_broker_tie.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_brokerage.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_central_between.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_central_close.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_central_degree.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_central_eigen.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_centralisation_between.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_centralisation_close.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_centralisation_degree.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_centralisation_eigen.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_centralities_between.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_centralities_close.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_centralities_degree.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_centralities_eigen.Rd': ‘[manynet:manip_direction]{manynet::to_undirected()}’ ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_closure.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_closure_node.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_cohesion.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_core.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_diffusion_node.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_diverse_net.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_diverse_node.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_features.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_fragmentation.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_hierarchy.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'measure_periods.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'member_brokerage.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'member_cliques.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'member_community.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'member_community_hier.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'member_community_non.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'member_components.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'member_core.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'member_diffusion.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'member_equivalence.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'method_cluster.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'method_kselect.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'motif_brokerage_net.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'motif_brokerage_node.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'motif_exposure.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'motif_hazard.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'motif_hierarchy.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'motif_net.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'motif_node.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'motif_path.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ Missing link(s) in Rd file 'motif_periods.Rd': ‘[manynet:manip_as]{manynet::as_tidygraph()}’ See section 'Cross-references' in the 'Writing R Extensions' manual.