* using log directory 'd:/RCompile/CRANincoming/R-devel/GroupComparison.Rcheck' * using R Under development (unstable) (2024-09-04 r87094 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'GroupComparison/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'GroupComparison' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Timur Rizvanov ' New submission No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: c(person(given = "Your", family = "Name", role = "aut"), person(given = "Timur", family = "Rizvanov", role = "cre", email = "tirizvanov@gmail.com")) as necessary. DESCRIPTION fields with placeholder content: Title: what the package does (title case) Description: more about what it does (maybe more than one line). * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'GroupComparison' can be installed ... WARNING Found the following significant warnings: Warning: replacing previous import 'dplyr::combine' by 'gridExtra::combine' when loading 'GroupComparison' See 'd:/RCompile/CRANincoming/R-devel/GroupComparison.Rcheck/00install.out' for details. * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE create_violin_plot : calc_ci: no visible global function definition for 'quantile' create_violin_plot: no visible binding for global variable 'group_label' create_violin_plot: no visible binding for global variable 'delta' create_violin_plot: no visible binding for global variable 'lower_ci' create_violin_plot: no visible binding for global variable 'upper_ci' create_violin_plot: no visible global function definition for 'combn' create_violin_plot : : no visible binding for global variable 'group_label' create_violin_plot : : no visible global function definition for 'wilcox.test' create_violin_plot: no visible binding for global variable '.' split_violin_plot: no visible binding for global variable 'group' split_violin_plot: no visible binding for global variable 'value' split_violin_plot: no visible global function definition for 'quantile' split_violin_plot: no visible binding for global variable 'lower_ci' split_violin_plot: no visible binding for global variable 'upper_ci' split_violin_plot: no visible binding for global variable 'Q1' split_violin_plot: no visible binding for global variable 'Q3' split_violin_plot: no visible global function definition for 'setNames' violin_plots_with_comparison_group : : no visible binding for global variable 'group_label' violin_plots_with_comparison_group : : no visible global function definition for 'wilcox.test' violin_plots_with_comparison_group: no visible binding for global variable '.' violin_plots_with_comparison_group : calc_ci: no visible global function definition for 'quantile' violin_plots_with_comparison_group: no visible binding for global variable 'group_label' violin_plots_with_comparison_group: no visible binding for global variable 'delta' violin_plots_with_comparison_group: no visible binding for global variable 'lower_ci' violin_plots_with_comparison_group: no visible binding for global variable 'upper_ci' Undefined global functions or variables: . Q1 Q3 combn delta group group_label lower_ci quantile setNames upper_ci value wilcox.test Consider adding importFrom("stats", "quantile", "setNames", "wilcox.test") importFrom("utils", "combn") to your NAMESPACE file. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'create_violin_plot.Rd': \examples lines wider than 100 characters: p <- create_violin_plot(data, "group", "value", group_colors = group_colors, y_lab = bquote(bold(Delta ~ Log(activity)))) Rd file 'split_violin_plot.Rd': \examples lines wider than 100 characters: x_lab = "Groups", y_lab = bquote(bold(Delta ~ Log(activity))), outliers = TRUE, CI = TRUE, median = TRUE, n_obs ... [TRUNCATED] These lines will be truncated in the PDF manual. * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ERROR Running examples in 'GroupComparison-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: split_violin_plot > ### Title: Create a Split Violin Plot with Custom Elements and Options > ### Aliases: split_violin_plot > > ### ** Examples > > # Example data > data <- data.frame( + group = rep(c("A", "B", "C"), each = 100), + value = c(rnorm(100, mean = 0), rnorm(100, mean = 1), rnorm(100, mean = 2)), + split_criteria = sample(c(TRUE, FALSE), 300, replace = TRUE) + ) > > colors <- c("TRUE" = "#FF9999", "FALSE" = "#99CCFF") > labels <- c("TRUE" = "first group", "FALSE" = "second group") > > # Generate the split violin plot with custom labels > p <- split_violin_plot(data, "group", "value", "split_criteria", colors, labels = labels, + x_lab = "Groups", y_lab = bquote(bold(Delta ~ Log(activity))), outliers = TRUE, CI = TRUE, median = TRUE, n_obs = TRUE) Error in `geom_split_violin()`: ! Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `loadNamespace()`: ! there is no package called 'plyr' Backtrace: ▆ 1. ├─GroupComparison::split_violin_plot(...) 2. │ └─gridExtra::grid.arrange(p, legend, ncol = 2, widths = c(3, 1)) 3. │ └─gridExtra::arrangeGrob(...) 4. │ └─base::lapply(grobs[toconv], ggplot2::ggplotGrob) 5. │ └─ggplot2 (local) FUN(X[[i]], ...) 6. │ ├─ggplot2::ggplot_gtable(ggplot_build(x)) 7. │ └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x)) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$draw_geom(d, layout) 17. │ └─ggplot2 (local) draw_geom(..., self = self) 18. │ └─self$geom$draw_layer(...) 19. │ └─ggplot2 (local) draw_layer(..., self = self) 20. │ └─base::lapply(...) 21. │ └─ggplot2 (local) FUN(X[[i]], ...) 22. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 23. │ └─self$draw_panel(data, panel_params, coord, draw_quantiles = NULL) 24. │ └─ggplot2 (local) draw_panel(..., self = self) 25. │ └─base::lapply(...) 26. │ └─ggplot2 (local) FUN(X[[i]], ...) 27. │ └─self$draw_group(group, panel_params, coord, ...) 28. │ └─GroupComparison (local) draw_group(..., self = self) 29. ├─base::loadNamespace(x) 30. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 31. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 32. │ │ └─base (local) doWithOneRestart(return(expr), restart) 33. │ └─base::stop(cond) 34. └─rlang (local) ``(``) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [15s] ERROR Running 'testthat.R' [15s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(GroupComparison) Warning message: replacing previous import 'dplyr::combine' by 'gridExtra::combine' when loading 'GroupComparison' > > test_check("GroupComparison") [ FAIL 8 | WARN 2 | SKIP 0 | PASS 17 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-split_violin_plot.R:17:3'): split_violin_plot works with valid input ── Error in `geom_split_violin(trim = FALSE, size = 0.5, show.legend = FALSE, adjust = 2.2)`: Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `loadNamespace()`: ! there is no package called 'plyr' Backtrace: ▆ 1. ├─GroupComparison::split_violin_plot(...) at test-split_violin_plot.R:17:3 2. │ └─gridExtra::grid.arrange(p, legend, ncol = 2, widths = c(3, 1)) 3. │ └─gridExtra::arrangeGrob(...) 4. │ └─base::lapply(grobs[toconv], ggplot2::ggplotGrob) 5. │ └─ggplot2 (local) FUN(X[[i]], ...) 6. │ ├─ggplot2::ggplot_gtable(ggplot_build(x)) 7. │ └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x)) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$draw_geom(d, layout) 17. │ └─ggplot2 (local) draw_geom(..., self = self) 18. │ └─self$geom$draw_layer(...) 19. │ └─ggplot2 (local) draw_layer(..., self = self) 20. │ └─base::lapply(...) 21. │ └─ggplot2 (local) FUN(X[[i]], ...) 22. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 23. │ └─self$draw_panel(data, panel_params, coord, draw_quantiles = NULL) 24. │ └─ggplot2 (local) draw_panel(..., self = self) 25. │ └─base::lapply(...) 26. │ └─ggplot2 (local) FUN(X[[i]], ...) 27. │ └─self$draw_group(group, panel_params, coord, ...) 28. │ └─GroupComparison (local) draw_group(..., self = self) 29. ├─base::loadNamespace(x) 30. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 31. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 32. │ │ └─base (local) doWithOneRestart(return(expr), restart) 33. │ └─base::stop(cond) 34. └─rlang (local) ``(``) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) ── Error ('test-split_violin_plot.R:31:3'): axis labels are customizable ─────── Error in `geom_split_violin(trim = FALSE, size = 0.5, show.legend = FALSE, adjust = 2.2)`: Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `loadNamespace()`: ! there is no package called 'plyr' Backtrace: ▆ 1. ├─GroupComparison::split_violin_plot(...) at test-split_violin_plot.R:31:3 2. │ └─gridExtra::grid.arrange(p, legend, ncol = 2, widths = c(3, 1)) 3. │ └─gridExtra::arrangeGrob(...) 4. │ └─base::lapply(grobs[toconv], ggplot2::ggplotGrob) 5. │ └─ggplot2 (local) FUN(X[[i]], ...) 6. │ ├─ggplot2::ggplot_gtable(ggplot_build(x)) 7. │ └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x)) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$draw_geom(d, layout) 17. │ └─ggplot2 (local) draw_geom(..., self = self) 18. │ └─self$geom$draw_layer(...) 19. │ └─ggplot2 (local) draw_layer(..., self = self) 20. │ └─base::lapply(...) 21. │ └─ggplot2 (local) FUN(X[[i]], ...) 22. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 23. │ └─self$draw_panel(data, panel_params, coord, draw_quantiles = NULL) 24. │ └─ggplot2 (local) draw_panel(..., self = self) 25. │ └─base::lapply(...) 26. │ └─ggplot2 (local) FUN(X[[i]], ...) 27. │ └─self$draw_group(group, panel_params, coord, ...) 28. │ └─GroupComparison (local) draw_group(..., self = self) 29. ├─base::loadNamespace(x) 30. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 31. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 32. │ │ └─base (local) doWithOneRestart(return(expr), restart) 33. │ └─base::stop(cond) 34. └─rlang (local) ``(``) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) ── Error ('test-split_violin_plot.R:46:3'): y-axis breaks and limits can be customized ── Error in `geom_split_violin(trim = FALSE, size = 0.5, show.legend = FALSE, adjust = 2.2)`: Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `loadNamespace()`: ! there is no package called 'plyr' Backtrace: ▆ 1. ├─GroupComparison::split_violin_plot(...) at test-split_violin_plot.R:46:3 2. │ └─gridExtra::grid.arrange(p, legend, ncol = 2, widths = c(3, 1)) 3. │ └─gridExtra::arrangeGrob(...) 4. │ └─base::lapply(grobs[toconv], ggplot2::ggplotGrob) 5. │ └─ggplot2 (local) FUN(X[[i]], ...) 6. │ ├─ggplot2::ggplot_gtable(ggplot_build(x)) 7. │ └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x)) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$draw_geom(d, layout) 17. │ └─ggplot2 (local) draw_geom(..., self = self) 18. │ └─self$geom$draw_layer(...) 19. │ └─ggplot2 (local) draw_layer(..., self = self) 20. │ └─base::lapply(...) 21. │ └─ggplot2 (local) FUN(X[[i]], ...) 22. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 23. │ └─self$draw_panel(data, panel_params, coord, draw_quantiles = NULL) 24. │ └─ggplot2 (local) draw_panel(..., self = self) 25. │ └─base::lapply(...) 26. │ └─ggplot2 (local) FUN(X[[i]], ...) 27. │ └─self$draw_group(group, panel_params, coord, ...) 28. │ └─GroupComparison (local) draw_group(..., self = self) 29. ├─base::loadNamespace(x) 30. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 31. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 32. │ │ └─base (local) doWithOneRestart(return(expr), restart) 33. │ └─base::stop(cond) 34. └─rlang (local) ``(``) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) ── Error ('test-split_violin_plot.R:61:3'): outliers can be included or excluded ── Error in `geom_split_violin(trim = FALSE, size = 0.5, show.legend = FALSE, adjust = 2.2)`: Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `loadNamespace()`: ! there is no package called 'plyr' Backtrace: ▆ 1. ├─GroupComparison::split_violin_plot(...) at test-split_violin_plot.R:61:3 2. │ └─gridExtra::grid.arrange(p, legend, ncol = 2, widths = c(3, 1)) 3. │ └─gridExtra::arrangeGrob(...) 4. │ └─base::lapply(grobs[toconv], ggplot2::ggplotGrob) 5. │ └─ggplot2 (local) FUN(X[[i]], ...) 6. │ ├─ggplot2::ggplot_gtable(ggplot_build(x)) 7. │ └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x)) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$draw_geom(d, layout) 17. │ └─ggplot2 (local) draw_geom(..., self = self) 18. │ └─self$geom$draw_layer(...) 19. │ └─ggplot2 (local) draw_layer(..., self = self) 20. │ └─base::lapply(...) 21. │ └─ggplot2 (local) FUN(X[[i]], ...) 22. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 23. │ └─self$draw_panel(data, panel_params, coord, draw_quantiles = NULL) 24. │ └─ggplot2 (local) draw_panel(..., self = self) 25. │ └─base::lapply(...) 26. │ └─ggplot2 (local) FUN(X[[i]], ...) 27. │ └─self$draw_group(group, panel_params, coord, ...) 28. │ └─GroupComparison (local) draw_group(..., self = self) 29. ├─base::loadNamespace(x) 30. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 31. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 32. │ │ └─base (local) doWithOneRestart(return(expr), restart) 33. │ └─base::stop(cond) 34. └─rlang (local) ``(``) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) ── Error ('test-split_violin_plot.R:75:3'): confidence intervals (CI) can be toggled ── Error in `geom_split_violin(trim = FALSE, size = 0.5, show.legend = FALSE, adjust = 2.2)`: Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `loadNamespace()`: ! there is no package called 'plyr' Backtrace: ▆ 1. ├─GroupComparison::split_violin_plot(...) at test-split_violin_plot.R:75:3 2. │ └─gridExtra::grid.arrange(p, legend, ncol = 2, widths = c(3, 1)) 3. │ └─gridExtra::arrangeGrob(...) 4. │ └─base::lapply(grobs[toconv], ggplot2::ggplotGrob) 5. │ └─ggplot2 (local) FUN(X[[i]], ...) 6. │ ├─ggplot2::ggplot_gtable(ggplot_build(x)) 7. │ └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x)) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$draw_geom(d, layout) 17. │ └─ggplot2 (local) draw_geom(..., self = self) 18. │ └─self$geom$draw_layer(...) 19. │ └─ggplot2 (local) draw_layer(..., self = self) 20. │ └─base::lapply(...) 21. │ └─ggplot2 (local) FUN(X[[i]], ...) 22. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 23. │ └─self$draw_panel(data, panel_params, coord, draw_quantiles = NULL) 24. │ └─ggplot2 (local) draw_panel(..., self = self) 25. │ └─base::lapply(...) 26. │ └─ggplot2 (local) FUN(X[[i]], ...) 27. │ └─self$draw_group(group, panel_params, coord, ...) 28. │ └─GroupComparison (local) draw_group(..., self = self) 29. ├─base::loadNamespace(x) 30. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 31. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 32. │ │ └─base (local) doWithOneRestart(return(expr), restart) 33. │ └─base::stop(cond) 34. └─rlang (local) ``(``) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) ── Error ('test-split_violin_plot.R:89:3'): medians can be included or excluded ── Error in `geom_split_violin(trim = FALSE, size = 0.5, show.legend = FALSE, adjust = 2.2)`: Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `loadNamespace()`: ! there is no package called 'plyr' Backtrace: ▆ 1. ├─GroupComparison::split_violin_plot(...) at test-split_violin_plot.R:89:3 2. │ └─gridExtra::grid.arrange(p, legend, ncol = 2, widths = c(3, 1)) 3. │ └─gridExtra::arrangeGrob(...) 4. │ └─base::lapply(grobs[toconv], ggplot2::ggplotGrob) 5. │ └─ggplot2 (local) FUN(X[[i]], ...) 6. │ ├─ggplot2::ggplot_gtable(ggplot_build(x)) 7. │ └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x)) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$draw_geom(d, layout) 17. │ └─ggplot2 (local) draw_geom(..., self = self) 18. │ └─self$geom$draw_layer(...) 19. │ └─ggplot2 (local) draw_layer(..., self = self) 20. │ └─base::lapply(...) 21. │ └─ggplot2 (local) FUN(X[[i]], ...) 22. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 23. │ └─self$draw_panel(data, panel_params, coord, draw_quantiles = NULL) 24. │ └─ggplot2 (local) draw_panel(..., self = self) 25. │ └─base::lapply(...) 26. │ └─ggplot2 (local) FUN(X[[i]], ...) 27. │ └─self$draw_group(group, panel_params, coord, ...) 28. │ └─GroupComparison (local) draw_group(..., self = self) 29. ├─base::loadNamespace(x) 30. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 31. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 32. │ │ └─base (local) doWithOneRestart(return(expr), restart) 33. │ └─base::stop(cond) 34. └─rlang (local) ``(``) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) ── Error ('test-split_violin_plot.R:103:3'): number of observations (n) can be toggled ── Error in `geom_split_violin(trim = FALSE, size = 0.5, show.legend = FALSE, adjust = 2.2)`: Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `loadNamespace()`: ! there is no package called 'plyr' Backtrace: ▆ 1. ├─GroupComparison::split_violin_plot(...) at test-split_violin_plot.R:103:3 2. │ └─gridExtra::grid.arrange(p, legend, ncol = 2, widths = c(3, 1)) 3. │ └─gridExtra::arrangeGrob(...) 4. │ └─base::lapply(grobs[toconv], ggplot2::ggplotGrob) 5. │ └─ggplot2 (local) FUN(X[[i]], ...) 6. │ ├─ggplot2::ggplot_gtable(ggplot_build(x)) 7. │ └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x)) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$draw_geom(d, layout) 17. │ └─ggplot2 (local) draw_geom(..., self = self) 18. │ └─self$geom$draw_layer(...) 19. │ └─ggplot2 (local) draw_layer(..., self = self) 20. │ └─base::lapply(...) 21. │ └─ggplot2 (local) FUN(X[[i]], ...) 22. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 23. │ └─self$draw_panel(data, panel_params, coord, draw_quantiles = NULL) 24. │ └─ggplot2 (local) draw_panel(..., self = self) 25. │ └─base::lapply(...) 26. │ └─ggplot2 (local) FUN(X[[i]], ...) 27. │ └─self$draw_group(group, panel_params, coord, ...) 28. │ └─GroupComparison (local) draw_group(..., self = self) 29. ├─base::loadNamespace(x) 30. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 31. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 32. │ │ └─base (local) doWithOneRestart(return(expr), restart) 33. │ └─base::stop(cond) 34. └─rlang (local) ``(``) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) ── Error ('test-split_violin_plot.R:118:3'): custom legend labels are applied ── Error in `geom_split_violin(trim = FALSE, size = 0.5, show.legend = FALSE, adjust = 2.2)`: Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `loadNamespace()`: ! there is no package called 'plyr' Backtrace: ▆ 1. ├─GroupComparison::split_violin_plot(...) at test-split_violin_plot.R:118:3 2. │ └─gridExtra::grid.arrange(p, legend, ncol = 2, widths = c(3, 1)) 3. │ └─gridExtra::arrangeGrob(...) 4. │ └─base::lapply(grobs[toconv], ggplot2::ggplotGrob) 5. │ └─ggplot2 (local) FUN(X[[i]], ...) 6. │ ├─ggplot2::ggplot_gtable(ggplot_build(x)) 7. │ └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x)) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$draw_geom(d, layout) 17. │ └─ggplot2 (local) draw_geom(..., self = self) 18. │ └─self$geom$draw_layer(...) 19. │ └─ggplot2 (local) draw_layer(..., self = self) 20. │ └─base::lapply(...) 21. │ └─ggplot2 (local) FUN(X[[i]], ...) 22. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 23. │ └─self$draw_panel(data, panel_params, coord, draw_quantiles = NULL) 24. │ └─ggplot2 (local) draw_panel(..., self = self) 25. │ └─base::lapply(...) 26. │ └─ggplot2 (local) FUN(X[[i]], ...) 27. │ └─self$draw_group(group, panel_params, coord, ...) 28. │ └─GroupComparison (local) draw_group(..., self = self) 29. ├─base::loadNamespace(x) 30. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 31. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 32. │ │ └─base (local) doWithOneRestart(return(expr), restart) 33. │ └─base::stop(cond) 34. └─rlang (local) ``(``) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) [ FAIL 8 | WARN 2 | SKIP 0 | PASS 17 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... ERROR Error(s) in re-building vignettes: --- re-building 'GroupComparison-vignette.Rmd' using rmarkdown Quitting from lines 101-132 [split-violin-plot] (GroupComparison-vignette.Rmd) Error: processing vignette 'GroupComparison-vignette.Rmd' failed with diagnostics: Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `loadNamespace()`: ! there is no package called 'plyr' --- failed re-building 'GroupComparison-vignette.Rmd' SUMMARY: processing the following file failed: 'GroupComparison-vignette.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 3 ERRORs, 1 WARNING, 3 NOTEs