Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("data.tree")
  Loading required package: data.tree
  -- 1. Error: grViz (@test-draw.R#44)  ------------------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. data.tree::ToDiagrammeRGraph(...)
   4. dplyr::bind_cols
   5. base::getExportedValue(pkg, name)
   6. base::asNamespace(ns)
   7. base::getNamespace(ns)
   8. base::loadNamespace(name)
   9. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: grViz single attribute (@test-draw.R#57)  -------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. data.tree::ToDiagrammeRGraph(acme)
    2. DiagrammeR::create_graph(nodes, edges, attr_theme = NULL)
    6. dplyr::tibble
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: grViz single attribute names not uniuqe (@test-draw.R#100)  -------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. data.tree::ToDiagrammeRGraph(mytree)
   4. dplyr::bind_cols
   5. base::getExportedValue(pkg, name)
   6. base::asNamespace(ns)
   7. base::getNamespace(ns)
   8. base::loadNamespace(name)
   9. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: grViz names with quotes (@test-draw.R#143)  -----------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. data.tree::ToDiagrammeRGraph(mytree)
    5. DiagrammeR::create_graph(nodes, edges, attr_theme = NULL)
    9. dplyr::tibble
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::library.dynam(lib, package, package.lib)
  
                            levelName    cost
  1  Acme Inc.                             NA
  2   ¦--Accounting                        NA
  3   ¦   ¦--New Software             1000000
  4   ¦   °--New Accounting Standards  500000
  5   ¦--Research                          NA
  6   ¦   ¦--New Product Line         2000000
  7   ¦   °--New Labs                  750000
  8   °--IT                                NA
  9       ¦--Outsource                 400000
  10      ¦--Go agile                  250000
  11      °--Switch to R                50000
    levelName  b             1
  1 Root      NA              
  2  °--a      2              
  3      °--c NA 1, 2, 3, 4, 5
    levelName a
  1     Root   
  2      °--a 2
  == testthat results  ===========================================================
  [ OK: 370 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: grViz (@test-draw.R#44) 
  2. Error: grViz single attribute (@test-draw.R#57) 
  3. Error: grViz single attribute names not uniuqe (@test-draw.R#100) 
  4. Error: grViz names with quotes (@test-draw.R#143) 
  
  Error: testthat unit tests failed
  Execution halted