Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > testthat::test_check("rock");
  Loading required package: rock
  -- 1. Error: a code tree is printed correctly (@test-rock-general.R#43)  -------
  `()` REASON:
  * The graph object is not valid
  Backtrace:
    1. testthat::expect_output(print(testres), "This source contained inductive coding trees.")
   11. rock:::print.rockParsedSource(testres)
   13. DiagrammeR::render_graph(x$inductiveDiagrammeRs[[i]])
   14. DiagrammeR:::emit_error(fcn_name = fcn_name, reasons = "The graph object is not valid")
    5. glue::glue("`{fcn_name}()` {header_text}{message_body}")
    5. base::as.character(.)
   13. base::stop(., call. = FALSE)
  
  -- 2. Error: Multiple sources are read correctly (@test-rock-general.R#70)  ----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. rock::parse_sources(examplePath, extension = "rock", silent = TRUE)
   2. dplyr::bind_rows
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: multiple sources without deductive code trees are read correctly (i
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. rock::parse_sources(examplePath, regex = "ipsum")
   2. dplyr::bind_rows
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: A deductive code tree is read correctly from multiple DCT files (@t
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. rock::parse_sources(examplePath, extension = "dct", silent = TRUE)
   2. dplyr::bind_rows
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 5. Error: Sources are exported to html properly (@test-rock-general.R#113)  -
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. rock::parse_sources(examplePath, extension = "rock", silent = TRUE)
   2. dplyr::bind_rows
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 6. Error: Coded fragments are collected properly (@test-rock-general.R#132)  
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. rock::parse_sources(examplePath, extension = "rock", silent = TRUE)
   2. dplyr::bind_rows
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 3 | SKIPPED: 0 | WARNINGS: 12 | FAILED: 6 ]
  1. Error: a code tree is printed correctly (@test-rock-general.R#43) 
  2. Error: Multiple sources are read correctly (@test-rock-general.R#70) 
  3. Error: multiple sources without deductive code trees are read correctly (i.e. as NA) (@test-rock-general.R#85) 
  4. Error: A deductive code tree is read correctly from multiple DCT files (@test-rock-general.R#98) 
  5. Error: Sources are exported to html properly (@test-rock-general.R#113) 
  6. Error: Coded fragments are collected properly (@test-rock-general.R#132) 
  
  Error: testthat unit tests failed
  Execution halted