Running 'spelling.R' [0s]
  Running 'testthat.R' [171s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(deepdep)
  > 
  > test_check("deepdep")
  [ FAIL 10 | WARN 0 | SKIP 2 | PASS 24 ]
  
  == Skipped tests ===============================================================
  * On CRAN (2)
  
  == Failed tests ================================================================
  -- Error ('test-deepdep.R:32'): obtaining Bioc dependencies returns objects of correct types --
  Error in `value[[3L]](cond)`: les is not available neither on CRAN nor on Bioconductor
  Backtrace:
      x
   1. +-vcr::use_cassette(...) at test-deepdep.R:32:2
   2. | \-cassette$call_block(...)
   3. \-deepdep (local) deepdep_wrapped(...) at test-deepdep.R:33:4
   4.   \-base::tryCatch(...) at test-deepdep.R:3:2
   5.     \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   6.       \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7.         \-value[[3L]](cond)
  -- 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:
       x
    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:
       x
    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:
       x
    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:
       x
    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:
       x
    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:
       x
    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:
       x
    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:
       x
    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:
       x
    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 10 | WARN 0 | SKIP 2 | PASS 24 ]
  Error: Test failures
  Execution halted