Running ‘testthat.R’ [53s/81s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(DiagrammeR)
  > 
  > suppressWarnings(RNGversion("3.5.0"))
  > test_check("DiagrammeR")
  Modularity is implemented for undirected graphs only.
  Modularity is implemented for undirected graphs only.
  Modularity is implemented for undirected graphs only.
  Modularity is implemented for undirected graphs only.
  Modularity is implemented for undirected graphs only.
  Modularity is implemented for undirected graphs only.
  Modularity is implemented for undirected graphs only.
  Modularity is implemented for undirected graphs only.
  Modularity is implemented for undirected graphs only.
  ── 1. Error: the display of the metagraph works (@test-metagraph.R#51)  ────────
  'where' must be an environment
  Backtrace:
    1. DiagrammeR::display_metagraph(property_graph)
   30. tidyr::replace_na(., "")
   31. ellipsis::check_dots_used()
   33. ellipsis:::exit_handler(action)
   34. base::bquote(...)
  
  ── 2. Error: rendering a graph is indeed possible (@test-render_graph_series.R#3
  'where' must be an environment
  Backtrace:
    1. DiagrammeR::render_graph(graph)
   21. tidyr::replace_na(., "")
   22. ellipsis::check_dots_used()
   24. ellipsis:::exit_handler(action)
   25. base::bquote(...)
  
  ── 3. Error: rendering a graph from a series is also possible (@test-render_grap
  'where' must be an environment
  Backtrace:
    1. DiagrammeR::render_graph_from_graph_series(...)
   22. tidyr::replace_na(., "")
   23. ellipsis::check_dots_used()
   25. ellipsis:::exit_handler(action)
   26. base::bquote(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 2136 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: the display of the metagraph works (@test-metagraph.R#51) 
  2. Error: rendering a graph is indeed possible (@test-render_graph_series.R#35) 
  3. Error: rendering a graph from a series is also possible (@test-render_graph_series.R#74) 
  
  Error: testthat unit tests failed
  Execution halted