Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(simmer.plot)
  Loading required package: simmer
  Loading required package: ggplot2
  
  Attaching package: 'simmer.plot'
  
  The following objects are masked from 'package:simmer':
  
      get_mon_arrivals, get_mon_attributes, get_mon_resources
  
  > 
  > test_check("simmer.plot")
  -- 1. Error: single replication plots (@test-plot-arrivals.R#31)  --------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(arrivals, "flow_time"), "ggplot")
    5. simmer.plot:::plot.arrivals(arrivals, "flow_time")
   11. dplyr::mutate(...)
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: multiple replication plots (@test-plot-arrivals.R#48)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(arrivals, "flow_time"), "ggplot")
    5. simmer.plot:::plot.arrivals(arrivals, "flow_time")
   11. dplyr::mutate(...)
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: single replication plots (@test-plot-attributes.R#23)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(attributes, keys = "my_attr1"), "ggplot")
    5. simmer.plot:::plot.attributes(attributes, keys = "my_attr1")
   10. dplyr::filter(., .data$key %in% keys)
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: multiple replication plots (@test-plot-attributes.R#37)  ----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(attributes, keys = "my_attr1"), "ggplot")
    5. simmer.plot:::plot.attributes(attributes, keys = "my_attr1")
   10. dplyr::filter(., .data$key %in% keys)
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::library.dynam(lib, package, package.lib)
  
  -- 5. Error: single replication plots (@test-plot-resources.R#31)  -------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(resources, "usage", "doctor"), "ggplot")
    5. simmer.plot:::plot.resources(resources, "usage", "doctor")
   10. dplyr::filter(., .data$resource %in% names)
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::library.dynam(lib, package, package.lib)
  
  -- 6. Error: multiple replication plots (@test-plot-resources.R#51)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(resources, "usage", "doctor"), "ggplot")
    5. simmer.plot:::plot.resources(resources, "usage", "doctor")
   10. dplyr::filter(., .data$resource %in% names)
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::library.dynam(lib, package, package.lib)
  
  -- 7. Error: resources and items are filtered and plotted in the specified order
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::plot(resources, "utilization", fct)
    2. simmer.plot:::plot.resources(resources, "utilization", fct)
   10. dplyr::filter(., .data$resource %in% names)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  -- 8. Error: a single-node trajectory is correctly converted to graph (@test-plo
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. simmer.plot:::test_graph(x, c("Timeout"), integer(0), integer(0))
    7. simmer.plot:::plot.trajectory(x)
   11. simmer.plot:::trajectory_graph(x, fill, verbose)
   12. dplyr::left_join
   13. base::getExportedValue(pkg, name)
   14. base::asNamespace(ns)
   15. base::getNamespace(ns)
   16. base::loadNamespace(name)
   17. base::library.dynam(lib, package, package.lib)
  
  -- 9. Error: a simple trajectory is correctly converted to graph (@test-plot-tra
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. simmer.plot:::test_graph(x, c("Seize", "Release"), 1, 2)
    7. simmer.plot:::plot.trajectory(x)
   11. simmer.plot:::trajectory_graph(x, fill, verbose)
   12. dplyr::left_join
   13. base::getExportedValue(pkg, name)
   14. base::asNamespace(ns)
   15. base::getNamespace(ns)
   16. base::loadNamespace(name)
   17. base::library.dynam(lib, package, package.lib)
  
  -- 10. Error: a rollback with variable amount is correctly converted to graph (@
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. simmer.plot:::test_graph(...)
    7. simmer.plot:::plot.trajectory(x)
   11. simmer.plot:::trajectory_graph(x, fill, verbose)
   12. dplyr::left_join
   13. base::getExportedValue(pkg, name)
   14. base::asNamespace(ns)
   15. base::getNamespace(ns)
   16. base::loadNamespace(name)
   17. base::library.dynam(lib, package, package.lib)
  
  -- 11. Error: a complex trajectory is correctly converted to graph (@test-plot-t
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. simmer.plot:::test_graph(x, activities, from, to)
    7. simmer.plot:::plot.trajectory(x)
   11. simmer.plot:::trajectory_graph(x, fill, verbose)
   12. dplyr::left_join
   13. base::getExportedValue(pkg, name)
   14. base::asNamespace(ns)
   15. base::getNamespace(ns)
   16. base::loadNamespace(name)
   17. base::library.dynam(lib, package, package.lib)
  
  -- 12. Error: edges are removed for ignored subtrajectories in Clone (@test-plot
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. simmer.plot:::test_graph(...)
    7. simmer.plot:::plot.trajectory(x)
   11. simmer.plot:::trajectory_graph(x, fill, verbose)
   12. dplyr::left_join
   13. base::getExportedValue(pkg, name)
   14. base::asNamespace(ns)
   15. base::getNamespace(ns)
   16. base::loadNamespace(name)
   17. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 24 | SKIPPED: 0 | WARNINGS: 6 | FAILED: 12 ]
  1. Error: single replication plots (@test-plot-arrivals.R#31) 
  2. Error: multiple replication plots (@test-plot-arrivals.R#48) 
  3. Error: single replication plots (@test-plot-attributes.R#23) 
  4. Error: multiple replication plots (@test-plot-attributes.R#37) 
  5. Error: single replication plots (@test-plot-resources.R#31) 
  6. Error: multiple replication plots (@test-plot-resources.R#51) 
  7. Error: resources and items are filtered and plotted in the specified order (@test-plot-resources.R#69) 
  8. Error: a single-node trajectory is correctly converted to graph (@test-plot-trajectory.R#23) 
  9. Error: a simple trajectory is correctly converted to graph (@test-plot-trajectory.R#31) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted