Package check result: OK Changes to worse in reverse depends: Package: datawizard Check: tests New result: ERROR Running ‘testthat.R’ [336s/169s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(datawizard) > > test_check("datawizard") Starting 2 test processes. Saving _problems/test-data_match-165.R Saving _problems/test-data_match-174.R Saving _problems/test-data_match-178.R > test-describe_distribution.R: Bootstrapping confidence intervals using 100 iterations, please be > test-describe_distribution.R: patient... > test-describe_distribution.R: For more stable intervals, increase the number of `iterations`, but note > test-describe_distribution.R: that this can also increase the computation time significantly. > test-describe_distribution.R: Bootstrapping confidence intervals using 100 iterations, please be > test-describe_distribution.R: patient... > test-describe_distribution.R: For more stable intervals, increase the number of `iterations`, but note > test-describe_distribution.R: that this can also increase the computation time significantly. > test-describe_distribution.R: Bootstrapping confidence intervals using 100 iterations, please be > test-describe_distribution.R: patient... > test-describe_distribution.R: For more stable intervals, increase the number of `iterations`, but note > test-describe_distribution.R: that this can also increase the computation time significantly. [ FAIL 3 | WARN 0 | SKIP 92 | PASS 2046 ] ══ Skipped tests (92) ══════════════════════════════════════════════════════════ • On CRAN (91): 'test-categorize.R:664:1', 'test-categorize.R:681:1', 'test-contr.deviation.R:10:1', 'test-data_codebook.R:4:1', 'test-data_codebook.R:9:1', 'test-data_codebook.R:14:1', 'test-data_codebook.R:30:1', 'test-data_codebook.R:53:1', 'test-data_codebook.R:58:1', 'test-data_codebook.R:63:1', 'test-data_codebook.R:78:1', 'test-data_codebook.R:86:1', 'test-data_codebook.R:94:1', 'test-data_codebook.R:105:1', 'test-data_codebook.R:115:1', 'test-data_codebook.R:126:1', 'test-data_codebook.R:138:1', 'test-data_codebook.R:156:1', 'test-data_codebook.R:173:1', 'test-data_codebook.R:182:1', 'test-data_codebook.R:191:1', 'test-data_codebook.R:237:1', 'test-data_partition.R:1:1', 'test-data_modify.R:488:1', 'test-data_modify.R:497:1', 'test-data_modify.R:717:1', 'test-data_read.R:8:1', 'test-data_peek.R:31:1', 'test-data_rescale.R:1:1', 'test-data_seek.R:85:1', 'test-data_separate.R:190:1', 'test-data_separate.R:285:1', 'test-data_separate.R:381:1', 'test-data_separate.R:402:1', 'test-data_summary.R:196:1', 'test-data_summary.R:208:1', 'test-data_to_factor.R:124:1', 'test-data_to_long.R:61:1', 'test-data_to_long.R:498:1', 'test-data_to_numeric.R:1:1', 'test-data_to_numeric.R:51:1', 'test-data_to_numeric.R:215:3', 'test-data_tabulate.R:57:1', 'test-data_tabulate.R:65:1', 'test-data_tabulate.R:215:1', 'test-data_tabulate.R:221:1', 'test-data_tabulate.R:227:1', 'test-data_tabulate.R:236:1', 'test-data_tabulate.R:305:1', 'test-data_tabulate.R:311:1', 'test-data_tabulate.R:319:1', 'test-data_tabulate.R:374:1', 'test-data_tabulate.R:547:1', 'test-data_tabulate.R:603:1', 'test-data_tabulate.R:636:1', 'test-data_tabulate.R:722:1', 'test-data_tabulate.R:816:1', 'test-data_tabulate.R:927:1', 'test-data_write.R:5:1', 'test-demean.R:1:1', 'test-demean.R:85:1', 'test-empty-dataframe.R:1:1', 'test-describe_distribution.R:76:1', 'test-describe_distribution.R:87:1', 'test-describe_distribution.R:195:1', 'test-describe_distribution.R:209:1', 'test-describe_distribution.R:282:1', 'test-describe_distribution.R:412:1', 'test-describe_distribution.R:519:1', 'test-describe_distribution.R:528:1', 'test-means_by_group.R:1:1', 'test-means_by_group.R:24:1', 'test-print.dw_transformer.R:1:1', 'test-ranktransform.R:65:1', 'test-normalize.R:1:1', 'test-reshape_ci.R:1:1', 'test-reshape_ci.R:16:1', 'test-rescale_weights.R:1:1', 'test-rescale_weights.R:35:1', 'test-rescale_weights.R:49:1', 'test-smoothness.R:33:1', 'test-skewness-kurtosis.R:47:1', 'test-skewness-kurtosis.R:57:1', 'test-skewness-kurtosis.R:68:1', 'test-skewness-kurtosis.R:78:1', 'test-text_format.R:1:1', 'test-text_format.R:77:1', 'test-standardize_models.R:336:3', 'test-standardize_models.R:383:3', 'test-standardize_models.R:473:3', 'test-winsorization.R:5:1' • {bayestesR} is not installed (1): 'test-data_summary.R:285:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-data_match.R:162:3'): data_filter gives informative message on errors ── Expected `data_filter(mtcars, `?`(mgp > 10, cyl == 4))` to throw a error. ── Failure ('test-data_match.R:171:3'): data_filter gives informative message on errors ── Expected `data_filter(mtcars, cxl == 6)` to throw a error. ── Failure ('test-data_match.R:175:3'): data_filter gives informative message on errors ── Expected `data_filter(mtcars, "cxl == 6")` to throw a error. [ FAIL 3 | WARN 0 | SKIP 92 | PASS 2046 ] Error: ! Test failures. Execution halted Package: DiagrammeR Check: examples New 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 Package: DiagrammeR Check: tests New result: ERROR Running ‘testthat.R’ [37s/37s] 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 ── 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