Running ‘testthat.R’ [138s/162s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dabestr)
  Loading required package: boot
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  > 
  > test_check("dabestr")
  ── 1. Error: Gardner-Altman custom aesthetics (@test-aesthetics.R#24)  ─────────
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(...)
    2. dabestr:::plot.dabest(...)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 2. Error: Cumming custom aesthetics (@test-aesthetics.R#135)  ───────────────
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(...)
    2. dabestr:::plot.dabest(...)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 3. Error: Cumming two-groups unpaired (@test-cumming-plots.R#14)  ───────────
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(unpaired, color.column = Gender, float.contrast = FALSE)
    2. dabestr:::plot.dabest(unpaired, color.column = Gender, float.contrast = FALSE)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 4. Error: Cumming two-groups paired (@test-cumming-plots.R#33)  ─────────────
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(paired, color.column = Gender, float.contrast = FALSE)
    2. dabestr:::plot.dabest(paired, color.column = Gender, float.contrast = FALSE)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 5. Error: Cumming multi two-groups unpaired (@test-cumming-plots.R#53)  ─────
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(multi.two.group.unpaired, color.column = Gender)
    2. dabestr:::plot.dabest(multi.two.group.unpaired, color.column = Gender)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 6. Error: Cumming multi two-groups paired (@test-cumming-plots.R#73)  ───────
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(multi.two.group.paired, color.column = Gender, slopegraph = TRUE)
    2. dabestr:::plot.dabest(...)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 7. Error: Cumming shared control (@test-cumming-plots.R#102)  ───────────────
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(shared.control, color.column = Gender)
    2. dabestr:::plot.dabest(shared.control, color.column = Gender)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 8. Error: Cumming multi-group shared control (@test-cumming-plots.R#123)  ───
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(multi.group.shared.control, color.column = Gender)
    2. dabestr:::plot.dabest(multi.group.shared.control, color.column = Gender)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 9. Error: Gardner-Altman unpaired (@test-gardner-altman-plots.R#14)  ────────
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(unpaired, color.column = Gender)
    2. dabestr:::plot.dabest(unpaired, color.column = Gender)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 10. Error: Gardner-Altman unpaired reverse (@test-gardner-altman-plots.R#30) 
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(unpaired, color.column = Gender)
    2. dabestr:::plot.dabest(unpaired, color.column = Gender)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 11. Error: Gardner-Altman paired (@test-gardner-altman-plots.R#46)  ─────────
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(paired, color.column = Gender)
    2. dabestr:::plot.dabest(paired, color.column = Gender)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 12. Error: Gardner-Altman paired reverse (@test-gardner-altman-plots.R#63)  ─
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(paired, color.column = Gender)
    2. dabestr:::plot.dabest(paired, color.column = Gender)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ── 13. Error: Using `grp` as x column is kosher (@test-unquoting.R#57)  ────────
  there is no package called 'plyr'
  Backtrace:
    1. base::plot(df_analysed)
    2. dabestr:::plot.dabest(df_analysed)
    3. cowplot::plot_grid(...)
    4. cowplot::align_plots(...)
    5. base::lapply(...)
    6. cowplot:::FUN(X[[i]], ...)
    8. cowplot:::as_gtable.default(x)
   10. cowplot:::as_grob.ggplot(plot)
   11. ggplot2::ggplotGrob(plot)
   13. ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
       ...
   28. self$draw_group(group, panel_params, coord, ...)
   29. dabestr:::f(...)
   31. plyr::arrange
   32. base::getExportedValue(pkg, name)
   33. base::asNamespace(ns)
   34. base::getNamespace(ns)
   35. base::loadNamespace(name)
   36. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   37. base:::withOneRestart(expr, restarts[[1L]])
   38. base:::doWithOneRestart(return(expr), restart)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 22 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 13 ]
  1. Error: Gardner-Altman custom aesthetics (@test-aesthetics.R#24) 
  2. Error: Cumming custom aesthetics (@test-aesthetics.R#135) 
  3. Error: Cumming two-groups unpaired (@test-cumming-plots.R#14) 
  4. Error: Cumming two-groups paired (@test-cumming-plots.R#33) 
  5. Error: Cumming multi two-groups unpaired (@test-cumming-plots.R#53) 
  6. Error: Cumming multi two-groups paired (@test-cumming-plots.R#73) 
  7. Error: Cumming shared control (@test-cumming-plots.R#102) 
  8. Error: Cumming multi-group shared control (@test-cumming-plots.R#123) 
  9. Error: Gardner-Altman unpaired (@test-gardner-altman-plots.R#14) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted