CRAN Package Check Results for Package DiagrammeR

Last updated on 2026-04-23 00:51:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.11 19.31 212.39 231.70 OK
r-devel-linux-x86_64-debian-gcc 1.0.11 11.04 135.76 146.80 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.11 33.00 333.65 366.65 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.11 32.00 326.38 358.38 ERROR
r-devel-macos-arm64 1.0.11 4.00 43.00 47.00 OK
r-devel-windows-x86_64 1.0.11 21.00 281.00 302.00 OK
r-patched-linux-x86_64 1.0.11 24.77 198.29 223.06 ERROR
r-release-linux-x86_64 1.0.11 14.32 185.85 200.17 OK
r-release-macos-arm64 1.0.11 OK
r-release-macos-x86_64 1.0.11 11.00 167.00 178.00 OK
r-release-windows-x86_64 1.0.11 22.00 274.00 296.00 OK
r-oldrel-macos-arm64 1.0.11 NOTE
r-oldrel-macos-x86_64 1.0.11 11.00 118.00 129.00 OK
r-oldrel-windows-x86_64 1.0.11 29.00 342.00 371.00 OK

Check Details

Version: 1.0.11
Check: examples
Result: ERROR Running examples in ‘DiagrammeR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: get_leverage_centrality > ### Title: Get leverage centrality > ### Aliases: get_leverage_centrality > > ### ** Examples > > # Create a random graph using the > # `add_gnm_graph()` function > graph <- + create_graph( + directed = FALSE) %>% + add_gnm_graph( + n = 10, + m = 15, + set_seed = 23) > > # Get leverage centrality values > # for all nodes in the graph > graph %>% + get_leverage_centrality() Error in `purrr::map()`: ℹ In index: 1. Caused by error in `igraph::neighbors()`: ! `vid` must specify exactly one vertex Backtrace: ▆ 1. ├─graph %>% get_leverage_centrality() 2. ├─DiagrammeR::get_leverage_centrality(.) 3. │ ├─... %>% unlist() 4. │ └─purrr::map(...) 5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 6. │ ├─purrr:::with_indexed_errors(...) 7. │ │ └─base::withCallingHandlers(...) 8. │ ├─purrr:::call_with_cleanup(...) 9. │ └─DiagrammeR (local) .f(.x[[i]], ...) 10. │ ├─base::mean(...) 11. │ └─igraph::neighbors(ig_graph, degree_vals) 12. │ └─igraph:::neighbors_impl(graph = graph, vid = v, mode = mode) 13. │ └─cli::cli_abort(...) 14. │ └─rlang::abort(...) 15. └─base::unlist(.) Execution halted Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 1.0.11
Check: tests
Result: ERROR Running ‘testthat.R’ [38s/46s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(DiagrammeR) > > test_check("DiagrammeR") Saving _problems/test-get_node_calculations-256.R [ FAIL 1 | WARN 3 | SKIP 24 | PASS 1796 ] ══ Skipped tests (24) ══════════════════════════════════════════════════════════ • On CRAN (24): 'test-add_forward_reverse_edges.R:48:1', 'test-add_graphs.R:3:1', 'test-add_graphs.R:223:1', 'test-add_graphs.R:1706:1', 'test-add_nodes_edges_from_table.R:268:1', 'test-cache_attrs.R:3:1', 'test-colorize_nodes_edges.R:219:1', 'test-create_combine_nodes.R:3:1', 'test-create_subgraph.R:3:1', 'test-delete_node_edge.R:255:1', 'test-get_select_last_nodes_edges_created.R:75:1', 'test-graph_series.R:323:1', 'test-graph_validation.R:3:1', 'test-graph_validation.R:234:1', 'test-graph_validation.R:292:1', 'test-render_graph.R:3:3', 'test-selections.R:1:1', 'test-set_get_node_edge_attrs.R:236:1', 'test-similarity_measures.R:1:1', 'test-similarity_measures.R:113:1', 'test-transform_graph.R:98:1', 'test-transform_graph.R:262:1', 'test-trav_out_until.R:1:1', 'test-traversals.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_node_calculations.R:255:3'): Getting leverage centrality is possible ── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map(seq_along(degree_vals), function(x) { mean((degree_vals[x] - degree_vals[igraph::neighbors(ig_graph, degree_vals)])/(degree_vals[x] + degree_vals[igraph::neighbors(ig_graph, degree_vals)])) })`: i In index: 1. Caused by error in `igraph::neighbors()`: ! `vid` must specify exactly one vertex [ FAIL 1 | WARN 3 | SKIP 24 | PASS 1796 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.11
Check: examples
Result: ERROR Running examples in ‘DiagrammeR-Ex.R’ failed The error most likely occurred in: > ### Name: get_leverage_centrality > ### Title: Get leverage centrality > ### Aliases: get_leverage_centrality > > ### ** Examples > > # Create a random graph using the > # `add_gnm_graph()` function > graph <- + create_graph( + directed = FALSE) %>% + add_gnm_graph( + n = 10, + m = 15, + set_seed = 23) > > # Get leverage centrality values > # for all nodes in the graph > graph %>% + get_leverage_centrality() Error in `purrr::map()`: ℹ In index: 1. Caused by error in `igraph::neighbors()`: ! `vid` must specify exactly one vertex Backtrace: ▆ 1. ├─graph %>% get_leverage_centrality() 2. ├─DiagrammeR::get_leverage_centrality(.) 3. │ ├─... %>% unlist() 4. │ └─purrr::map(...) 5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 6. │ ├─purrr:::with_indexed_errors(...) 7. │ │ └─base::withCallingHandlers(...) 8. │ ├─purrr:::call_with_cleanup(...) 9. │ └─DiagrammeR (local) .f(.x[[i]], ...) 10. │ ├─base::mean(...) 11. │ └─igraph::neighbors(ig_graph, degree_vals) 12. │ └─igraph:::neighbors_impl(graph = graph, vid = v, mode = mode) 13. │ └─cli::cli_abort(...) 14. │ └─rlang::abort(...) 15. └─base::unlist(.) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.11
Check: tests
Result: ERROR Running ‘testthat.R’ [97s/134s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(DiagrammeR) > > test_check("DiagrammeR") Saving _problems/test-get_node_calculations-256.R [ FAIL 1 | WARN 3 | SKIP 24 | PASS 1796 ] ══ Skipped tests (24) ══════════════════════════════════════════════════════════ • On CRAN (24): 'test-add_forward_reverse_edges.R:48:1', 'test-add_graphs.R:3:1', 'test-add_graphs.R:223:1', 'test-add_graphs.R:1706:1', 'test-add_nodes_edges_from_table.R:268:1', 'test-cache_attrs.R:3:1', 'test-colorize_nodes_edges.R:219:1', 'test-create_combine_nodes.R:3:1', 'test-create_subgraph.R:3:1', 'test-delete_node_edge.R:255:1', 'test-get_select_last_nodes_edges_created.R:75:1', 'test-graph_series.R:323:1', 'test-graph_validation.R:3:1', 'test-graph_validation.R:234:1', 'test-graph_validation.R:292:1', 'test-render_graph.R:3:3', 'test-selections.R:1:1', 'test-set_get_node_edge_attrs.R:236:1', 'test-similarity_measures.R:1:1', 'test-similarity_measures.R:113:1', 'test-transform_graph.R:98:1', 'test-transform_graph.R:262:1', 'test-trav_out_until.R:1:1', 'test-traversals.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_node_calculations.R:255:3'): Getting leverage centrality is possible ── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map(seq_along(degree_vals), function(x) { mean((degree_vals[x] - degree_vals[igraph::neighbors(ig_graph, degree_vals)])/(degree_vals[x] + degree_vals[igraph::neighbors(ig_graph, degree_vals)])) })`: i In index: 1. Caused by error in `igraph::neighbors()`: ! `vid` must specify exactly one vertex [ FAIL 1 | WARN 3 | SKIP 24 | PASS 1796 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.11
Check: tests
Result: ERROR Running ‘testthat.R’ [96s/127s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(DiagrammeR) > > test_check("DiagrammeR") Saving _problems/test-get_node_calculations-256.R [ FAIL 1 | WARN 3 | SKIP 24 | PASS 1796 ] ══ Skipped tests (24) ══════════════════════════════════════════════════════════ • On CRAN (24): 'test-add_forward_reverse_edges.R:48:1', 'test-add_graphs.R:3:1', 'test-add_graphs.R:223:1', 'test-add_graphs.R:1706:1', 'test-add_nodes_edges_from_table.R:268:1', 'test-cache_attrs.R:3:1', 'test-colorize_nodes_edges.R:219:1', 'test-create_combine_nodes.R:3:1', 'test-create_subgraph.R:3:1', 'test-delete_node_edge.R:255:1', 'test-get_select_last_nodes_edges_created.R:75:1', 'test-graph_series.R:323:1', 'test-graph_validation.R:3:1', 'test-graph_validation.R:234:1', 'test-graph_validation.R:292:1', 'test-render_graph.R:3:3', 'test-selections.R:1:1', 'test-set_get_node_edge_attrs.R:236:1', 'test-similarity_measures.R:1:1', 'test-similarity_measures.R:113:1', 'test-transform_graph.R:98:1', 'test-transform_graph.R:262:1', 'test-trav_out_until.R:1:1', 'test-traversals.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_node_calculations.R:255:3'): Getting leverage centrality is possible ── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map(seq_along(degree_vals), function(x) { mean((degree_vals[x] - degree_vals[igraph::neighbors(ig_graph, degree_vals)])/(degree_vals[x] + degree_vals[igraph::neighbors(ig_graph, degree_vals)])) })`: i In index: 1. Caused by error in `igraph::neighbors()`: ! `vid` must specify exactly one vertex [ FAIL 1 | WARN 3 | SKIP 24 | PASS 1796 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.11
Check: tests
Result: ERROR Running ‘testthat.R’ [59s/67s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(DiagrammeR) > > test_check("DiagrammeR") Saving _problems/test-get_node_calculations-256.R [ FAIL 1 | WARN 3 | SKIP 24 | PASS 1796 ] ══ Skipped tests (24) ══════════════════════════════════════════════════════════ • On CRAN (24): 'test-add_forward_reverse_edges.R:48:1', 'test-add_graphs.R:3:1', 'test-add_graphs.R:223:1', 'test-add_graphs.R:1706:1', 'test-add_nodes_edges_from_table.R:268:1', 'test-cache_attrs.R:3:1', 'test-colorize_nodes_edges.R:219:1', 'test-create_combine_nodes.R:3:1', 'test-create_subgraph.R:3:1', 'test-delete_node_edge.R:255:1', 'test-get_select_last_nodes_edges_created.R:75:1', 'test-graph_series.R:323:1', 'test-graph_validation.R:3:1', 'test-graph_validation.R:234:1', 'test-graph_validation.R:292:1', 'test-render_graph.R:3:3', 'test-selections.R:1:1', 'test-set_get_node_edge_attrs.R:236:1', 'test-similarity_measures.R:1:1', 'test-similarity_measures.R:113:1', 'test-transform_graph.R:98:1', 'test-transform_graph.R:262:1', 'test-trav_out_until.R:1:1', 'test-traversals.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_node_calculations.R:255:3'): Getting leverage centrality is possible ── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map(seq_along(degree_vals), function(x) { mean((degree_vals[x] - degree_vals[igraph::neighbors(ig_graph, degree_vals)])/(degree_vals[x] + degree_vals[igraph::neighbors(ig_graph, degree_vals)])) })`: i In index: 1. Caused by error in `igraph::neighbors()`: ! `vid` must specify exactly one vertex [ FAIL 1 | WARN 3 | SKIP 24 | PASS 1796 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64

Version: 1.0.11
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘testthat’ Flavor: r-oldrel-macos-arm64