Running 'spelling.R' [0s]
  Running 'testthat.R' [125s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(deepdep)
  > 
  > test_check("deepdep")
  [ FAIL 9 | WARN 0 | SKIP 2 | PASS 25 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot.R:30'): The only origin with level == 0 is equal to queried package ──
  Error in ``vertex.attributes<-`(graph, index = index, value = value)`: Invalid attribute value length, must match number of vertices
  Backtrace:
       ▆
    1. ├─deepdep::plot_dependencies(dd_R6) at test-plot.R:30:2
    2. └─deepdep:::plot_dependencies.deepdep(dd_R6)
    3.   └─ggraph::ggraph(graph = G, layout = "focus", focus = 1)
    4.     ├─ggplot2::ggplot(data = create_layout(graph, layout, ...), environment = envir)
    5.     ├─ggraph::create_layout(graph, layout, ...)
    6.     └─ggraph:::create_layout.default(graph, layout, ...)
    7.       ├─ggraph::create_layout(graph, layout, ...)
    8.       └─ggraph:::create_layout.tbl_graph(graph, layout, ...)
    9.         ├─dplyr::mutate(ungroup(activate(graph, "nodes")), .ggraph.orig_index = seq_len(graph_order()))
   10.         └─tidygraph:::mutate.tbl_graph(...)
   11.           └─tidygraph::mutate_as_tbl(.data, !!!dot)
   12.             ├─tidygraph:::set_graph_data(.data, d_tmp)
   13.             └─tidygraph:::set_graph_data.tbl_graph(.data, d_tmp)
   14.               └─tidygraph:::set_node_attributes(x, value)
   15.                 └─igraph::`vertex_attr<-`(`*tmp*`, value = as.list(value))
   16.                   └─igraph::`vertex.attributes<-`(graph, index = index, value = value)
  ── Error ('test-plot.R:39'): There are dependencies between central package and layer 1 packages ──
  Error in ``vertex.attributes<-`(graph, index = index, value = value)`: Invalid attribute value length, must match number of vertices
  Backtrace:
       ▆
    1. ├─deepdep::plot_dependencies(dd_R6) at test-plot.R:39:2
    2. └─deepdep:::plot_dependencies.deepdep(dd_R6)
    3.   └─ggraph::ggraph(graph = G, layout = "focus", focus = 1)
    4.     ├─ggplot2::ggplot(data = create_layout(graph, layout, ...), environment = envir)
    5.     ├─ggraph::create_layout(graph, layout, ...)
    6.     └─ggraph:::create_layout.default(graph, layout, ...)
    7.       ├─ggraph::create_layout(graph, layout, ...)
    8.       └─ggraph:::create_layout.tbl_graph(graph, layout, ...)
    9.         ├─dplyr::mutate(ungroup(activate(graph, "nodes")), .ggraph.orig_index = seq_len(graph_order()))
   10.         └─tidygraph:::mutate.tbl_graph(...)
   11.           └─tidygraph::mutate_as_tbl(.data, !!!dot)
   12.             ├─tidygraph:::set_graph_data(.data, d_tmp)
   13.             └─tidygraph:::set_graph_data.tbl_graph(.data, d_tmp)
   14.               └─tidygraph:::set_node_attributes(x, value)
   15.                 └─igraph::`vertex_attr<-`(`*tmp*`, value = as.list(value))
   16.                   └─igraph::`vertex.attributes<-`(graph, index = index, value = value)
  ── Error ('test-plot.R:51'): deepdep plot has correct layers and objects ───────
  Error in ``vertex.attributes<-`(graph, index = index, value = value)`: Invalid attribute value length, must match number of vertices
  Backtrace:
       ▆
    1. ├─deepdep::plot_dependencies(dd_shiny) at test-plot.R:51:2
    2. └─deepdep:::plot_dependencies.deepdep(dd_shiny)
    3.   └─ggraph::ggraph(graph = G, layout = "focus", focus = 1)
    4.     ├─ggplot2::ggplot(data = create_layout(graph, layout, ...), environment = envir)
    5.     ├─ggraph::create_layout(graph, layout, ...)
    6.     └─ggraph:::create_layout.default(graph, layout, ...)
    7.       ├─ggraph::create_layout(graph, layout, ...)
    8.       └─ggraph:::create_layout.tbl_graph(graph, layout, ...)
    9.         ├─dplyr::mutate(ungroup(activate(graph, "nodes")), .ggraph.orig_index = seq_len(graph_order()))
   10.         └─tidygraph:::mutate.tbl_graph(...)
   11.           └─tidygraph::mutate_as_tbl(.data, !!!dot)
   12.             ├─tidygraph:::set_graph_data(.data, d_tmp)
   13.             └─tidygraph:::set_graph_data.tbl_graph(.data, d_tmp)
   14.               └─tidygraph:::set_node_attributes(x, value)
   15.                 └─igraph::`vertex_attr<-`(`*tmp*`, value = as.list(value))
   16.                   └─igraph::`vertex.attributes<-`(graph, index = index, value = value)
  ── Error ('test-plot.R:70'): deepdep plot omits same level and reverse dependencies ──
  Error in ``vertex.attributes<-`(graph, index = index, value = value)`: Invalid attribute value length, must match number of vertices
  Backtrace:
       ▆
    1. ├─deepdep::plot_dependencies(dd_dt) at test-plot.R:70:2
    2. └─deepdep:::plot_dependencies.deepdep(dd_dt)
    3.   └─ggraph::ggraph(graph = G, layout = "focus", focus = 1)
    4.     ├─ggplot2::ggplot(data = create_layout(graph, layout, ...), environment = envir)
    5.     ├─ggraph::create_layout(graph, layout, ...)
    6.     └─ggraph:::create_layout.default(graph, layout, ...)
    7.       ├─ggraph::create_layout(graph, layout, ...)
    8.       └─ggraph:::create_layout.tbl_graph(graph, layout, ...)
    9.         ├─dplyr::mutate(ungroup(activate(graph, "nodes")), .ggraph.orig_index = seq_len(graph_order()))
   10.         └─tidygraph:::mutate.tbl_graph(...)
   11.           └─tidygraph::mutate_as_tbl(.data, !!!dot)
   12.             ├─tidygraph:::set_graph_data(.data, d_tmp)
   13.             └─tidygraph:::set_graph_data.tbl_graph(.data, d_tmp)
   14.               └─tidygraph:::set_node_attributes(x, value)
   15.                 └─igraph::`vertex_attr<-`(`*tmp*`, value = as.list(value))
   16.                   └─igraph::`vertex.attributes<-`(graph, index = index, value = value)
  ── Error ('test-plot.R:80'): deepdep plot can keep same level dependencies ─────
  Error in ``vertex.attributes<-`(graph, index = index, value = value)`: Invalid attribute value length, must match number of vertices
  Backtrace:
       ▆
    1. ├─deepdep::plot_dependencies(dd_dt, same_level = TRUE) at test-plot.R:80:2
    2. └─deepdep:::plot_dependencies.deepdep(dd_dt, same_level = TRUE)
    3.   └─ggraph::ggraph(graph = G, layout = "focus", focus = 1)
    4.     ├─ggplot2::ggplot(data = create_layout(graph, layout, ...), environment = envir)
    5.     ├─ggraph::create_layout(graph, layout, ...)
    6.     └─ggraph:::create_layout.default(graph, layout, ...)
    7.       ├─ggraph::create_layout(graph, layout, ...)
    8.       └─ggraph:::create_layout.tbl_graph(graph, layout, ...)
    9.         ├─dplyr::mutate(ungroup(activate(graph, "nodes")), .ggraph.orig_index = seq_len(graph_order()))
   10.         └─tidygraph:::mutate.tbl_graph(...)
   11.           └─tidygraph::mutate_as_tbl(.data, !!!dot)
   12.             ├─tidygraph:::set_graph_data(.data, d_tmp)
   13.             └─tidygraph:::set_graph_data.tbl_graph(.data, d_tmp)
   14.               └─tidygraph:::set_node_attributes(x, value)
   15.                 └─igraph::`vertex_attr<-`(`*tmp*`, value = as.list(value))
   16.                   └─igraph::`vertex.attributes<-`(graph, index = index, value = value)
  ── Error ('test-plot.R:90'): deepdep plot can keep reverse dependencies ────────
  Error in ``vertex.attributes<-`(graph, index = index, value = value)`: Invalid attribute value length, must match number of vertices
  Backtrace:
       ▆
    1. ├─deepdep::plot_dependencies(dd_dt, reverse = TRUE) at test-plot.R:90:2
    2. └─deepdep:::plot_dependencies.deepdep(dd_dt, reverse = TRUE)
    3.   └─ggraph::ggraph(graph = G, layout = "focus", focus = 1)
    4.     ├─ggplot2::ggplot(data = create_layout(graph, layout, ...), environment = envir)
    5.     ├─ggraph::create_layout(graph, layout, ...)
    6.     └─ggraph:::create_layout.default(graph, layout, ...)
    7.       ├─ggraph::create_layout(graph, layout, ...)
    8.       └─ggraph:::create_layout.tbl_graph(graph, layout, ...)
    9.         ├─dplyr::mutate(ungroup(activate(graph, "nodes")), .ggraph.orig_index = seq_len(graph_order()))
   10.         └─tidygraph:::mutate.tbl_graph(...)
   11.           └─tidygraph::mutate_as_tbl(.data, !!!dot)
   12.             ├─tidygraph:::set_graph_data(.data, d_tmp)
   13.             └─tidygraph:::set_graph_data.tbl_graph(.data, d_tmp)
   14.               └─tidygraph:::set_node_attributes(x, value)
   15.                 └─igraph::`vertex_attr<-`(`*tmp*`, value = as.list(value))
   16.                   └─igraph::`vertex.attributes<-`(graph, index = index, value = value)
  ── Error ('test-plot.R:100'): deepdep plot can keep all dependencies ───────────
  Error in ``vertex.attributes<-`(graph, index = index, value = value)`: Invalid attribute value length, must match number of vertices
  Backtrace:
       ▆
    1. ├─deepdep::plot_dependencies(dd_dt, same_level = TRUE, reverse = TRUE) at test-plot.R:100:2
    2. └─deepdep:::plot_dependencies.deepdep(...)
    3.   └─ggraph::ggraph(graph = G, layout = "focus", focus = 1)
    4.     ├─ggplot2::ggplot(data = create_layout(graph, layout, ...), environment = envir)
    5.     ├─ggraph::create_layout(graph, layout, ...)
    6.     └─ggraph:::create_layout.default(graph, layout, ...)
    7.       ├─ggraph::create_layout(graph, layout, ...)
    8.       └─ggraph:::create_layout.tbl_graph(graph, layout, ...)
    9.         ├─dplyr::mutate(ungroup(activate(graph, "nodes")), .ggraph.orig_index = seq_len(graph_order()))
   10.         └─tidygraph:::mutate.tbl_graph(...)
   11.           └─tidygraph::mutate_as_tbl(.data, !!!dot)
   12.             ├─tidygraph:::set_graph_data(.data, d_tmp)
   13.             └─tidygraph:::set_graph_data.tbl_graph(.data, d_tmp)
   14.               └─tidygraph:::set_node_attributes(x, value)
   15.                 └─igraph::`vertex_attr<-`(`*tmp*`, value = as.list(value))
   16.                   └─igraph::`vertex.attributes<-`(graph, index = index, value = value)
  ── Error ('test-plot.R:108'): deepdep plot has a caption by default ────────────
  Error in ``vertex.attributes<-`(graph, index = index, value = value)`: Invalid attribute value length, must match number of vertices
  Backtrace:
       ▆
    1. ├─deepdep::plot_dependencies(dd_shiny) at test-plot.R:108:2
    2. └─deepdep:::plot_dependencies.deepdep(dd_shiny)
    3.   └─ggraph::ggraph(graph = G, layout = "focus", focus = 1)
    4.     ├─ggplot2::ggplot(data = create_layout(graph, layout, ...), environment = envir)
    5.     ├─ggraph::create_layout(graph, layout, ...)
    6.     └─ggraph:::create_layout.default(graph, layout, ...)
    7.       ├─ggraph::create_layout(graph, layout, ...)
    8.       └─ggraph:::create_layout.tbl_graph(graph, layout, ...)
    9.         ├─dplyr::mutate(ungroup(activate(graph, "nodes")), .ggraph.orig_index = seq_len(graph_order()))
   10.         └─tidygraph:::mutate.tbl_graph(...)
   11.           └─tidygraph::mutate_as_tbl(.data, !!!dot)
   12.             ├─tidygraph:::set_graph_data(.data, d_tmp)
   13.             └─tidygraph:::set_graph_data.tbl_graph(.data, d_tmp)
   14.               └─tidygraph:::set_node_attributes(x, value)
   15.                 └─igraph::`vertex_attr<-`(`*tmp*`, value = as.list(value))
   16.                   └─igraph::`vertex.attributes<-`(graph, index = index, value = value)
  ── Error ('test-plot.R:126'): deepdep plot has no caption when specified ───────
  Error in ``vertex.attributes<-`(graph, index = index, value = value)`: Invalid attribute value length, must match number of vertices
  Backtrace:
       ▆
    1. ├─deepdep::plot_dependencies(dd_shiny, show_stamp = FALSE) at test-plot.R:126:2
    2. └─deepdep:::plot_dependencies.deepdep(dd_shiny, show_stamp = FALSE)
    3.   └─ggraph::ggraph(graph = G, layout = "focus", focus = 1)
    4.     ├─ggplot2::ggplot(data = create_layout(graph, layout, ...), environment = envir)
    5.     ├─ggraph::create_layout(graph, layout, ...)
    6.     └─ggraph:::create_layout.default(graph, layout, ...)
    7.       ├─ggraph::create_layout(graph, layout, ...)
    8.       └─ggraph:::create_layout.tbl_graph(graph, layout, ...)
    9.         ├─dplyr::mutate(ungroup(activate(graph, "nodes")), .ggraph.orig_index = seq_len(graph_order()))
   10.         └─tidygraph:::mutate.tbl_graph(...)
   11.           └─tidygraph::mutate_as_tbl(.data, !!!dot)
   12.             ├─tidygraph:::set_graph_data(.data, d_tmp)
   13.             └─tidygraph:::set_graph_data.tbl_graph(.data, d_tmp)
   14.               └─tidygraph:::set_node_attributes(x, value)
   15.                 └─igraph::`vertex_attr<-`(`*tmp*`, value = as.list(value))
   16.                   └─igraph::`vertex.attributes<-`(graph, index = index, value = value)
  
  [ FAIL 9 | WARN 0 | SKIP 2 | PASS 25 ]
  Error: Test failures
  Execution halted