Running 'testthat.R' [16s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ggalluvial)
  Loading required package: ggplot2
  > 
  > test_check("ggalluvial")
  -- 1. Error: `geom_flow` draws correctly (@test-geom-flow.r#10)  ---------------
  there is no package called 'plyr'
  Backtrace:
    1. vdiffr::expect_doppelganger(...)
    2. vdiffr:::writer(fig, testcase, title)
    4. vdiffr:::print_plot.ggplot(plot, title)
    6. ggplot2:::print.ggplot(p)
    8. ggplot2:::ggplot_gtable.ggplot_built(data)
    9. base::Map(...)
   10. base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   12. l$draw_geom(d, layout)
   13. ggplot2:::f(..., self = self)
   14. self$geom$draw_layer(data, self$geom_params, layout, layout$coord)
       ...
   17. ggplot2:::FUN(X[[i]], ...)
   20. ggalluvial:::f(..., self = self)
   21. plyr::alply
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::tryCatch(loadNamespace(name), error = function(e) stop(e))
   26. base:::tryCatchList(expr, classes, parentenv, handlers)
   27. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28. value[[3L]](cond)
  
  -- 2. Error: `geom_flow` orients flows correctly (@test-geom-flow.r#29)  -------
  there is no package called 'plyr'
  Backtrace:
    1. vdiffr::expect_doppelganger(...)
    2. vdiffr:::writer(fig, testcase, title)
    4. vdiffr:::print_plot.ggplot(plot, title)
    6. ggplot2:::print.ggplot(p)
    8. ggplot2:::ggplot_gtable.ggplot_built(data)
    9. base::Map(...)
   10. base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   12. l$draw_geom(d, layout)
   13. ggplot2:::f(..., self = self)
   14. self$geom$draw_layer(data, self$geom_params, layout, layout$coord)
       ...
   17. ggplot2:::FUN(X[[i]], ...)
   20. ggalluvial:::f(...)
   21. plyr::alply
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::tryCatch(loadNamespace(name), error = function(e) stop(e))
   26. base:::tryCatchList(expr, classes, parentenv, handlers)
   27. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28. value[[3L]](cond)
  
  -- 3. Error: `geom_lode` draws correctly (@test-geom-lode.r#10)  ---------------
  there is no package called 'plyr'
  Backtrace:
    1. vdiffr::expect_doppelganger(...)
    2. vdiffr:::writer(fig, testcase, title)
    4. vdiffr:::print_plot.ggplot(plot, title)
    6. ggplot2:::print.ggplot(p)
    8. ggplot2:::ggplot_gtable.ggplot_built(data)
    9. base::Map(...)
   10. base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   12. l$draw_geom(d, layout)
   13. ggplot2:::f(..., self = self)
   14. self$geom$draw_layer(data, self$geom_params, layout, layout$coord)
       ...
   17. ggplot2:::FUN(X[[i]], ...)
   20. ggalluvial:::f(...)
   21. plyr::alply
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::tryCatch(loadNamespace(name), error = function(e) stop(e))
   26. base:::tryCatchList(expr, classes, parentenv, handlers)
   27. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28. value[[3L]](cond)
  
  -- 4. Error: `geom_stratum` draws correctly (@test-geom-stratum.r#10)  ---------
  there is no package called 'plyr'
  Backtrace:
    1. vdiffr::expect_doppelganger(...)
    2. vdiffr:::writer(fig, testcase, title)
    4. vdiffr:::print_plot.ggplot(plot, title)
    6. ggplot2:::print.ggplot(p)
    8. ggplot2:::ggplot_gtable.ggplot_built(data)
    9. base::Map(...)
   10. base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   12. l$draw_geom(d, layout)
   13. ggplot2:::f(..., self = self)
   14. self$geom$draw_layer(data, self$geom_params, layout, layout$coord)
       ...
   17. ggplot2:::FUN(X[[i]], ...)
   20. ggalluvial:::f(..., self = self)
   21. plyr::alply
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::tryCatch(loadNamespace(name), error = function(e) stop(e))
   26. base:::tryCatchList(expr, classes, parentenv, handlers)
   27. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28. value[[3L]](cond)
  
  == testthat results  ===========================================================
  [ OK: 37 | SKIPPED: 4 | WARNINGS: 1 | FAILED: 4 ]
  1. Error: `geom_flow` draws correctly (@test-geom-flow.r#10) 
  2. Error: `geom_flow` orients flows correctly (@test-geom-flow.r#29) 
  3. Error: `geom_lode` draws correctly (@test-geom-lode.r#10) 
  4. Error: `geom_stratum` draws correctly (@test-geom-stratum.r#10) 
  
  Error: testthat unit tests failed
  Execution halted