CRAN Package Check Results for Package ggalluvial

Last updated on 2020-03-30 07:51:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.11.1 9.49 120.53 130.02 OK
r-devel-linux-x86_64-debian-gcc 0.11.1 6.63 89.58 96.21 OK
r-devel-linux-x86_64-fedora-clang 0.11.1 81.91 ERROR
r-devel-linux-x86_64-fedora-gcc 0.11.1 94.86 OK
r-devel-windows-ix86+x86_64 0.11.1 20.00 71.00 91.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.11.1 15.00 72.00 87.00 ERROR
r-patched-linux-x86_64 0.11.1 9.21 114.39 123.60 OK
r-patched-solaris-x86 0.11.1 123.70 ERROR
r-release-linux-x86_64 0.11.1 7.64 112.44 120.08 OK
r-release-windows-ix86+x86_64 0.11.1 32.00 109.00 141.00 ERROR
r-release-osx-x86_64 0.11.1 OK
r-oldrel-windows-ix86+x86_64 0.11.1 17.00 104.00 121.00 ERROR
r-oldrel-osx-x86_64 0.11.1 OK

Check Details

Version: 0.11.1
Check: examples
Result: ERROR
    Running examples in ‘ggalluvial-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: alluvial-data
    > ### Title: Check for alluvial structure and convert between alluvial
    > ### formats
    > ### Aliases: alluvial-data is_lodes_form is_alluvia_form to_lodes_form
    > ### to_alluvia_form
    >
    > ### ** Examples
    >
    > # Titanic data in alluvia format
    > titanic_alluvia <- as.data.frame(Titanic)
    > head(titanic_alluvia)
     Class Sex Age Survived Freq
    1 1st Male Child No 0
    2 2nd Male Child No 0
    3 3rd Male Child No 35
    4 Crew Male Child No 0
    5 1st Female Child No 0
    6 2nd Female Child No 0
    > is_alluvia_form(titanic_alluvia,
    + weight = "Freq")
    [1] TRUE
    > # Titanic data in lodes format
    > titanic_lodes <- to_lodes_form(titanic_alluvia,
    + key = "x", value = "stratum", id = "alluvium",
    + axes = 1:4)
    > head(titanic_lodes)
     Freq alluvium x stratum
    1 0 1 Class 1st
    2 0 2 Class 2nd
    3 35 3 Class 3rd
    4 0 4 Class Crew
    5 0 5 Class 1st
    6 0 6 Class 2nd
    > is_lodes_form(titanic_lodes,
    + key = "x", value = "stratum", id = "alluvium",
    + weight = "Freq")
    [1] TRUE
    > # again in lodes format, this time diffusing the `Class` variable
    > titanic_lodes2 <- to_lodes_form(titanic_alluvia,
    + key = variable, value = value,
    + id = passenger,
    + 1:3, diffuse = Class)
    > head(titanic_lodes2)
     passenger Class Survived Freq variable value
    1 1 1st No 0 Class 1st
    2 1 1st No 0 Sex Male
    3 1 1st No 0 Age Child
    4 2 2nd No 0 Class 2nd
    5 2 2nd No 0 Sex Male
    6 2 2nd No 0 Age Child
    > is_lodes_form(titanic_lodes2,
    + key = variable, value = value, id = passenger,
    + weight = Freq)
    [1] TRUE
    >
    > # curriculum data in lodes format
    > data(majors)
    > head(majors)
     student semester curriculum
    1 1 CURR1 Painting
    2 2 CURR1 Painting
    3 6 CURR1 Sculpure
    4 8 CURR1 Painting
    5 9 CURR1 Sculpure
    6 10 CURR1 Painting
    > is_lodes_form(majors,
    + key = "semester", value = "curriculum", id = "student")
    [1] TRUE
    > # curriculum data in alluvia format
    > majors_alluvia <- to_alluvia_form(majors,
    + key = "semester", value = "curriculum",
    + id = "student")
    > head(majors_alluvia)
     student CURR1 CURR3 CURR5 CURR7 CURR9 CURR11 CURR13
    1 1 Painting Painting Painting Painting Painting Painting Painting
    2 2 Painting Painting Painting Painting Painting Painting <NA>
    3 6 Sculpure Sculpure Painting Painting Painting Painting Painting
    4 8 Painting Painting Painting Painting <NA> Painting Painting
    5 9 Sculpure Art History Art History Painting Painting Painting Painting
    6 10 Painting Painting Painting Painting Painting Painting <NA>
     CURR15
    1 Painting
    2 <NA>
    3 Painting
    4 Painting
    5 Painting
    6 <NA>
    > is_alluvia_form(majors_alluvia, tidyselect::starts_with("CURR"))
    Missing alluvia for some stratum combinations.
    [1] TRUE
    >
    > # distill variables that vary within `id` values
    > set.seed(1)
    > majors$hypo_grade <- LETTERS[sample(5, size = nrow(majors), replace = TRUE)]
    > majors_alluvia2 <- to_alluvia_form(majors,
    + key = "semester", value = "curriculum",
    + id = "student",
    + distill = "most")
    Distilled variables: hypo_grade
    > head(majors_alluvia2)
     student hypo_grade CURR1 CURR3 CURR5 CURR7 CURR9
    1 1 A Painting Painting Painting Painting Painting
    2 2 D Painting Painting Painting Painting Painting
    3 6 B Sculpure Sculpure Painting Painting Painting
    4 8 B Painting Painting Painting Painting <NA>
    5 9 E Sculpure Art History Art History Painting Painting
    6 10 A Painting Painting Painting Painting Painting
     CURR11 CURR13 CURR15
    1 Painting Painting Painting
    2 Painting <NA> <NA>
    3 Painting Painting Painting
    4 Painting Painting Painting
    5 Painting Painting Painting
    6 Painting <NA> <NA>
    >
    > # options to distinguish strata at different axes
    > gg <- ggplot(majors_alluvia,
    + aes(axis1 = CURR1, axis2 = CURR7, axis3 = CURR13))
    > gg +
    + geom_alluvium(aes(fill = as.factor(student)), width = 2/5, discern = TRUE) +
    + geom_stratum(width = 2/5, discern = TRUE) +
    + geom_text(stat = "stratum", discern = TRUE, infer.label = TRUE)
    Error in loadNamespace(name) : there is no package called ‘plyr’
    Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-solaris-x86, r-release-windows-ix86+x86_64

Version: 0.11.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [9s/11s]
    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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     ── 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     ── 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     ── 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     ══ 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
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.11.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘ggalluvial.rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
    Loading required package: ggplot2
    Quitting from lines 36-46 (ggalluvial.rmd)
    Error: processing vignette 'ggalluvial.rmd' failed with diagnostics:
    there is no package called 'plyr'
    --- failed re-building ‘ggalluvial.rmd’
    
    --- re-building ‘labels.rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
    Quitting from lines 31-40 (labels.rmd)
    Error: processing vignette 'labels.rmd' failed with diagnostics:
    there is no package called 'plyr'
    --- failed re-building ‘labels.rmd’
    
    --- re-building ‘order-rectangles.rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
    Quitting from lines 43-46 (order-rectangles.rmd)
    Error: processing vignette 'order-rectangles.rmd' failed with diagnostics:
    there is no package called 'plyr'
    --- failed re-building ‘order-rectangles.rmd’
    
    SUMMARY: processing the following files failed:
     ‘ggalluvial.rmd’ ‘labels.rmd’ ‘order-rectangles.rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-release-windows-ix86+x86_64

Version: 0.11.1
Check: tests
Result: ERROR
     Running 'testthat.R' [8s]
    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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     -- 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     -- 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     -- 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     == 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
Flavor: r-devel-windows-ix86+x86_64

Version: 0.11.1
Check: tests
Result: ERROR
     Running 'testthat.R' [9s]
    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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     -- 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     -- 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     -- 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     == 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
Flavor: r-devel-windows-ix86+x86_64-gcc8

Version: 0.11.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [12s/15s]
    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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     ── 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     ── 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     ── 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     ══ 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
Flavor: r-patched-solaris-x86

Version: 0.11.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘ggalluvial.rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
    Loading required package: ggplot2
    Quitting from lines 36-46 (ggalluvial.rmd)
    Error: processing vignette 'ggalluvial.rmd' failed with diagnostics:
    there is no package called 'plyr'
    --- failed re-building ‘ggalluvial.rmd’
    
    --- re-building ‘labels.rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
    Quitting from lines 31-40 (labels.rmd)
    Error: processing vignette 'labels.rmd' failed with diagnostics:
    there is no package called 'plyr'
    --- failed re-building ‘labels.rmd’
    
    --- re-building ‘order-rectangles.rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
    Quitting from lines 43-46 (order-rectangles.rmd)
    Error: processing vignette 'order-rectangles.rmd' failed with diagnostics:
    there is no package called 'plyr'
    --- failed re-building ‘order-rectangles.rmd’
    
    SUMMARY: processing the following files failed:
     ‘ggalluvial.rmd’ ‘labels.rmd’ ‘order-rectangles.rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.11.1
Check: tests
Result: ERROR
     Running 'testthat.R' [13s]
    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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     -- 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     -- 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     -- 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::loadNamespace(name)
     26. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     27. base:::withOneRestart(expr, restarts[[1L]])
     28. base:::doWithOneRestart(return(expr), restart)
    
     == 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
Flavor: r-release-windows-ix86+x86_64

Version: 0.11.1
Check: examples
Result: ERROR
    Running examples in 'ggalluvial-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: alluvial-data
    > ### Title: Check for alluvial structure and convert between alluvial
    > ### formats
    > ### Aliases: alluvial-data is_lodes_form is_alluvia_form to_lodes_form
    > ### to_alluvia_form
    >
    > ### ** Examples
    >
    > # Titanic data in alluvia format
    > titanic_alluvia <- as.data.frame(Titanic)
    > head(titanic_alluvia)
     Class Sex Age Survived Freq
    1 1st Male Child No 0
    2 2nd Male Child No 0
    3 3rd Male Child No 35
    4 Crew Male Child No 0
    5 1st Female Child No 0
    6 2nd Female Child No 0
    > is_alluvia_form(titanic_alluvia,
    + weight = "Freq")
    [1] TRUE
    > # Titanic data in lodes format
    > titanic_lodes <- to_lodes_form(titanic_alluvia,
    + key = "x", value = "stratum", id = "alluvium",
    + axes = 1:4)
    > head(titanic_lodes)
     Freq alluvium x stratum
    1 0 1 Class 1st
    2 0 2 Class 2nd
    3 35 3 Class 3rd
    4 0 4 Class Crew
    5 0 5 Class 1st
    6 0 6 Class 2nd
    > is_lodes_form(titanic_lodes,
    + key = "x", value = "stratum", id = "alluvium",
    + weight = "Freq")
    [1] TRUE
    > # again in lodes format, this time diffusing the `Class` variable
    > titanic_lodes2 <- to_lodes_form(titanic_alluvia,
    + key = variable, value = value,
    + id = passenger,
    + 1:3, diffuse = Class)
    > head(titanic_lodes2)
     passenger Class Survived Freq variable value
    1 1 1st No 0 Class 1st
    2 1 1st No 0 Sex Male
    3 1 1st No 0 Age Child
    4 2 2nd No 0 Class 2nd
    5 2 2nd No 0 Sex Male
    6 2 2nd No 0 Age Child
    > is_lodes_form(titanic_lodes2,
    + key = variable, value = value, id = passenger,
    + weight = Freq)
    [1] TRUE
    >
    > # curriculum data in lodes format
    > data(majors)
    > head(majors)
     student semester curriculum
    1 1 CURR1 Painting
    2 2 CURR1 Painting
    3 6 CURR1 Sculpure
    4 8 CURR1 Painting
    5 9 CURR1 Sculpure
    6 10 CURR1 Painting
    > is_lodes_form(majors,
    + key = "semester", value = "curriculum", id = "student")
    [1] TRUE
    > # curriculum data in alluvia format
    > majors_alluvia <- to_alluvia_form(majors,
    + key = "semester", value = "curriculum",
    + id = "student")
    > head(majors_alluvia)
     student CURR1 CURR3 CURR5 CURR7 CURR9 CURR11 CURR13
    1 1 Painting Painting Painting Painting Painting Painting Painting
    2 2 Painting Painting Painting Painting Painting Painting <NA>
    3 6 Sculpure Sculpure Painting Painting Painting Painting Painting
    4 8 Painting Painting Painting Painting <NA> Painting Painting
    5 9 Sculpure Art History Art History Painting Painting Painting Painting
    6 10 Painting Painting Painting Painting Painting Painting <NA>
     CURR15
    1 Painting
    2 <NA>
    3 Painting
    4 Painting
    5 Painting
    6 <NA>
    > is_alluvia_form(majors_alluvia, tidyselect::starts_with("CURR"))
    Missing alluvia for some stratum combinations.
    [1] TRUE
    >
    > # distill variables that vary within `id` values
    > set.seed(1)
    > majors$hypo_grade <- LETTERS[sample(5, size = nrow(majors), replace = TRUE)]
    > majors_alluvia2 <- to_alluvia_form(majors,
    + key = "semester", value = "curriculum",
    + id = "student",
    + distill = "most")
    Distilled variables: hypo_grade
    > head(majors_alluvia2)
     student hypo_grade CURR1 CURR3 CURR5 CURR7 CURR9
    1 1 B Painting Painting Painting Painting Painting
    2 2 B Painting Painting Painting Painting Painting
    3 6 C Sculpure Sculpure Painting Painting Painting
    4 8 B Painting Painting Painting Painting <NA>
    5 9 B Sculpure Art History Art History Painting Painting
    6 10 B Painting Painting Painting Painting Painting
     CURR11 CURR13 CURR15
    1 Painting Painting Painting
    2 Painting <NA> <NA>
    3 Painting Painting Painting
    4 Painting Painting Painting
    5 Painting Painting Painting
    6 Painting <NA> <NA>
    >
    > # options to distinguish strata at different axes
    > gg <- ggplot(majors_alluvia,
    + aes(axis1 = CURR1, axis2 = CURR7, axis3 = CURR13))
    > gg +
    + geom_alluvium(aes(fill = as.factor(student)), width = 2/5, discern = TRUE) +
    + geom_stratum(width = 2/5, discern = TRUE) +
    + geom_text(stat = "stratum", discern = TRUE, infer.label = TRUE)
    Error in loadNamespace(name) : there is no package called 'plyr'
    Calls: <Anonymous> ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.11.1
Check: tests
Result: ERROR
     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
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.11.1
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
    Loading required package: ggplot2
    Quitting from lines 36-46 (ggalluvial.rmd)
    Error: processing vignette 'ggalluvial.rmd' failed with diagnostics:
    there is no package called 'plyr'
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64