Package check result: OK Changes to worse in reverse depends: Package: Cascade Check: whether package can be installed New result: WARNING Found the following significant warnings: Warning: replacing previous import ‘igraph::circulant’ by ‘magic::circulant’ when loading ‘Cascade’ 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’ [53s/54s] 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 Package: jewel Check: examples New result: ERROR Running examples in ‘jewel-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: constructWeights > ### Title: Construct weights for _jewel_ minimization problem from prior > ### information on vertices degrees. > ### Aliases: constructWeights > > ### ** Examples > > { + K <- 3 + p <- 50 + n <- 20 + data <- generateData_rewire(K = K, p = p, n = n, ncores = 1, verbose = FALSE) + G_list_true <- data$Graphs + true_degrees <- rowSums(G_list_true[[1]]) + cut <- sort(true_degrees, decreasing = TRUE)[ceiling(p * 0.03)] + apriori_hubs <- ifelse(true_degrees >= cut, 10, 1) + W <- constructWeights(apriori_hubs, K = K) + } Error in rewire_impl(rewire = graph, n = niter, mode = mode) : The value 2.4500000000000002 is not representable as an integer. Invalid value Source: rinterface_extra.c:83 Calls: generateData_rewire ... do_call -> eval -> eval -> -> rewire_impl Execution halted Package: rgph Check: examples New result: ERROR Running examples in ‘rgph-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: reeb_graph > ### Title: An S3 class and constructors for Reeb graphs > ### Aliases: reeb_graph print.reeb_graph format.reeb_graph read_reeb_graph > > ### ** Examples > > x <- reeb_graph( + values = c(a = 0, b = .4, c = .6, d = 1), + edgelist = rbind( c(1,2), c(1,3), c(2,4), c(3,4)) + ) > print(x) Reeb graph with 4 vertices and 4 edges on [0,1]: 1[a] (0.0) -- 2[b] (0.4) 1[a] (0.0) -- 3[c] (0.6) 2[b] (0.4) -- 4[d] (1.0) 3[c] (0.6) -- 4[d] (1.0) > > t10 <- system.file("extdata", "10_tree_iterations.txt", package = "rgph") > ( y <- read_reeb_graph(t10) ) Reeb graph with 41 vertices and 40 edges on [0,152.2565]: 1 ( 0.000000) -- 2 ( 1.386294) 1 ( 0.000000) -- 14 (36.946803) 2 ( 1.386294) -- 3 ( 3.295837) 3 ( 3.295837) -- 4 ( 5.545177) 3 ( 3.295837) -- 5 ( 8.047190) 4 ( 5.545177) -- 6 (10.750557) 6 (10.750557) -- 7 (13.621371) 7 (13.621371) -- 9 (19.775021) 7 (13.621371) -- 8 (16.635532) 8 (16.635532) -- 18 (52.026692) 9 (19.775021) -- 10 (23.025851) 10 (23.025851) -- 11 (26.376848) ... > > reeb_graph_pairs(x, method = "multi_pass") Error in .jnew(pairing_java_object) : java.lang.UnsupportedClassVersionError: usf/saav/cmd/MergePairingCLI has been compiled by a more recent version of the Java Runtime (class file version 69.0), this version of the Java Runtime only recognizes class file versions up to 65.0 Calls: reeb_graph_pairs -> reeb_graph_pairs.reeb_graph -> .jnew Execution halted Package: rgph Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘benchmark.Rmd’ using rmarkdown Quitting from benchmark.Rmd:32-38 [example calculation] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `.jnew()`: ! java.lang.UnsupportedClassVersionError: usf/saav/cmd/MergePairingCLI has been compiled by a more recent version of the Java Runtime (class file version 69.0), this version of the Java Runtime only recognizes class file versions up to 65.0 --- Backtrace: ▆ 1. ├─rgph::reeb_graph_pairs(ex_reeb, method = "multi_pass") 2. └─rgph:::reeb_graph_pairs.reeb_graph(ex_reeb, method = "multi_pass") 3. └─rJava::.jnew(pairing_java_object) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'benchmark.Rmd' failed with diagnostics: java.lang.UnsupportedClassVersionError: usf/saav/cmd/MergePairingCLI has been compiled by a more recent version of the Java Runtime (class file version 69.0), this version of the Java Runtime only recognizes class file versions up to 65.0 --- failed re-building ‘benchmark.Rmd’ SUMMARY: processing the following file failed: ‘benchmark.Rmd’ Error: Vignette re-building failed. Execution halted Package: rgph Check: tests New result: ERROR Running ‘tinytest.R’ [1s/1s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > if (requireNamespace("tinytest", quietly = TRUE)) { + tinytest::test_package("rgph") + } Loading required package: rJava Loading required package: phutil test-as-reeb-graph.R.......... 2 tests OK test-as-reeb-graph.R.......... 4 tests OK test-as-reeb-graph.R.......... 6 tests OK test-as-reeb-graph.R.......... 9 tests OK test-as-reeb-graph.R.......... 12 tests OK test-as-reeb-graph.R.......... 12 tests OK test-as-reeb-graph.R.......... 12 tests OK test-as-reeb-graph.R.......... 12 tests OK test-as-reeb-graph.R.......... 16 tests OK test-as-reeb-graph.R.......... 20 tests OK 0.5s Error in .jnew(pairing_java_object) : java.lang.UnsupportedClassVersionError: usf/saav/cmd/PPPairingCLI has been compiled by a more recent version of the Java Runtime (class file version 69.0), this version of the Java Runtime only recognizes class file versions up to 65.0 Calls: ... reeb_graph_pairs -> reeb_graph_pairs.reeb_graph -> .jnew Execution halted Package: rSpectral Check: tests New result: ERROR Running ‘testthat.R’ [2s/3s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rSpectral) > > test_check("rSpectral") Loading required package: BiocGenerics Loading required package: generics Attaching package: 'generics' The following objects are masked from 'package:base': as.difftime, as.factor, as.ordered, intersect, is.element, setdiff, setequal, union Attaching package: 'BiocGenerics' The following objects are masked from 'package:stats': IQR, mad, sd, var, xtabs The following objects are masked from 'package:base': Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval, evalq, get, grep, grepl, is.unsorted, lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind, rownames, sapply, saveRDS, table, tapply, unique, unsplit, which.max, which.min This graph was created by an old(er) igraph version. i Call `igraph::upgrade_graph()` on it to use with the current igraph version. For now we convert it on the fly... Saving _problems/test-igraph-19.R Saving _problems/test-igraph-26.R [ FAIL 2 | WARN 4 | SKIP 0 | PASS 10 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-igraph.R:19:3'): membership fix_neig=0 is correct ──────────── Expected `c$modularity` to equal `exp_mod10`. Differences: `actual`: 0.432 `expected`: 0.408 ── Failure ('test-igraph.R:26:3'): membership fix_neig=1 is correct ──────────── Expected `c$modularity` to equal `exp_mod11`. Differences: `actual`: 0.3758 `expected`: 0.3776 [ FAIL 2 | WARN 4 | SKIP 0 | PASS 10 ] Error: ! Test failures. Execution halted Package: sfnetworks Check: tests New result: ERROR Running ‘testthat.R’ [20s/20s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sfnetworks) > > test_check("sfnetworks") Saving _problems/test_paths-45.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 276 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_paths.R:41:3'): Only the first from argument is used for shortest paths calculations ── Error in `all_shortest_paths(x, from, to, weights = weights, ...)`: `from` must specify exactly one vertex Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test_paths.R:41:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─sfnetworks::st_network_paths(...) 7. └─sfnetworks:::st_network_paths.sfnetwork(...) 8. └─sfnetworks:::get_all_shortest_paths(...) 9. └─igraph::all_shortest_paths(x, from, to, weights = weights, ...) 10. └─igraph:::get_all_shortest_paths_dijkstra_impl(...) 11. └─cli::cli_abort(...) 12. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 276 ] Error: ! Test failures. Execution halted Package: tmap.networks Check: examples New result: ERROR Running examples in ‘tmap.networks-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: tm_edges > ### Title: Map layer: edges of a (sf)network > ### Aliases: tm_edges opt_tm_edges > > ### ** Examples > > library(tmap) > library(sfnetworks) > > sfn = as_sfnetwork(roxel) > > tm_shape(sfn) + + tm_network() Error in tmapGetShapeMeta1.sfnetwork(shp, layer, c(o, tmg$tmf)) : unused argument (c(o, tmg$tmf)) Calls: ... step1_rearrange_facets -> lapply -> FUN -> tmapGetShapeMeta1 Execution halted Package: tmap.networks Check: S3 generic/method consistency New result: WARNING tmapGetShapeMeta1: function(shp, layer, o) tmapGetShapeMeta1.sfnetwork: function(shp, o) tmapShape: function(shp, is.main, crs, bbox, unit, filter, layer, shp_name, smeta, o, tmf) tmapShape.sfnetwork: function(shp, is.main, crs, bbox, unit, filter, shp_name, smeta, o, tmf) See section ‘Generic functions and methods’ in the ‘Writing R Extensions’ manual.