* using log directory 'd:/Rcompile/CRANpkg/local/4.5/saros.Rcheck' * using R version 4.5.1 (2025-06-13 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'saros/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'saros' version '1.5.4' * package encoding: UTF-8 * 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 whether package 'saros' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [0s] OK * checking whether startup messages can be suppressed ... [1s] 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 ... [8s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [4s] ERROR Running examples in 'saros-Ex.R' failed The error most likely occurred in: > ### Name: girafe > ### Title: Pull global plotting settings before displaying plot > ### Aliases: girafe > > ### ** Examples > > plot <- makeme(data = ex_survey, dep = b_1) Warning in fortify(data, ...) : Arguments in `...` must be used. ✖ Problematic argument: • cumulative = TRUE ℹ Did you misspell an argument name? Warning in (function (title = waiver(), theme = NULL, position = NULL, direction = NULL, : Arguments in `...` must be used. ✖ Problematic argument: • data_id = "fill.guide" ℹ Did you misspell an argument name? > girafe(plot) Error: ! Problem while converting geom to grob. ℹ Error occurred in the 1st layer. Caused by error in `draw_panel()`: ! unused arguments (lineend = "butt", linejoin = "mitre") Backtrace: ▆ 1. ├─saros::girafe(plot) 2. │ └─ggiraph::girafe(...) 3. │ ├─base::tryCatch(...) 4. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. │ ├─base::print(ggobj) 6. │ └─ggplot2 (local) `print.ggplot2::ggplot`(ggobj) 7. │ ├─ggplot2::ggplot_gtable(data) 8. │ └─ggplot2 (local) `ggplot_gtable.ggplot2::ggplot_built`(data) 9. │ └─ggplot2:::by_layer(...) 10. │ ├─rlang::try_fetch(...) 11. │ │ ├─base::tryCatch(...) 12. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 15. │ │ └─base::withCallingHandlers(...) 16. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 17. │ └─l$draw_geom(d, layout) 18. │ └─ggplot2 (local) draw_geom(..., self = self) 19. │ └─self$geom$draw_layer(...) 20. │ └─ggplot2 (local) draw_layer(..., self = self) 21. │ └─base::lapply(...) 22. │ └─ggplot2 (local) FUN(X[[i]], ...) 23. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 24. │ └─self$draw_panel(...) 25. └─base::.handleSimpleError(...) 26. └─rlang (local) h(simpleError(msg, call)) 27. └─handlers[[1L]](cnd) 28. └─cli::cli_abort(...) 29. └─rlang::abort(...) Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [14s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [13s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(saros) > > testthat::test_check("saros") Starting 2 test processes [ FAIL 1 | WARN 2 | SKIP 0 | PASS 224 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-make_content.cat_plot_html.R:2:5'): show.legend works with unused categories ── Error in `(function (mapping = NULL, data = NULL, stat = "identity", position = "stack", ..., just = 0.5, lineend = "butt", linejoin = "mitre", na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) { layer(mapping = mapping, data = data, geom = "col", stat = stat, position = position, show.legend = show.legend, inherit.aes = inherit.aes, params = list2(na.rm = na.rm, just = just, lineend = lineend, linejoin = linejoin, ...)) })(mapping = structure(list(), class = c("ggplot2::mapping", "uneval", "gg", "S7_object"), S7_class = structure(function (x = list(), ..., env = globalenv()) { warn_dots_empty() check_object(x, is.list, "a {.cls list}") x <- lapply(x, new_aesthetic, env = env) x <- S7::new_object(x) class(x) <- union(c("ggplot2::mapping", "uneval"), class(x)) x }, name = "mapping", parent = structure(list(class = "gg", constructor = function (.data) { stop(sprintf("S3 class <%s> doesn't have a constructor", class[[1]]), call. = FALSE) }, validator = NULL), class = "S7_S3_class"), package = "ggplot2", properties = list(), abstract = FALSE, constructor = function (x = list(), ..., env = globalenv()) { warn_dots_empty() check_object(x, is.list, "a {.cls list}") x <- lapply(x, new_aesthetic, env = env) x <- S7::new_object(x) class(x) <- union(c("ggplot2::mapping", "uneval"), class(x)) x }, class = c("S7_class", "S7_object")), names = character(0)), position = , na.rm = TRUE, show.legend = TRUE)`: Problem while converting geom to grob. i Error occurred in the 1st layer. Caused by error in `draw_panel()`: ! unused arguments (lineend = "butt", linejoin = "mitre") Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-make_content.cat_plot_html.R:2:5 2. │ └─vdiffr (local) writer(fig, testcase, title) 3. │ ├─vdiffr:::print_plot(plot, title) 4. │ └─vdiffr:::print_plot.ggplot(plot, title) 5. │ ├─base::print(p) 6. │ └─ggplot2 (local) `print.ggplot2::ggplot`(p) 7. │ ├─ggplot2::ggplot_gtable(data) 8. │ └─ggplot2 (local) `ggplot_gtable.ggplot2::ggplot_built`(data) 9. │ └─ggplot2:::by_layer(...) 10. │ ├─rlang::try_fetch(...) 11. │ │ ├─base::tryCatch(...) 12. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 15. │ │ └─base::withCallingHandlers(...) 16. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 17. │ └─l$draw_geom(d, layout) 18. │ └─ggplot2 (local) draw_geom(..., self = self) 19. │ └─self$geom$draw_layer(...) 20. │ └─ggplot2 (local) draw_layer(..., self = self) 21. │ └─base::lapply(...) 22. │ └─ggplot2 (local) FUN(X[[i]], ...) 23. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 24. │ └─self$draw_panel(...) 25. └─base::.handleSimpleError(...) 26. └─rlang (local) h(simpleError(msg, call)) 27. └─handlers[[1L]](cnd) 28. └─cli::cli_abort(...) 29. └─rlang::abort(...) [ FAIL 1 | WARN 2 | SKIP 0 | PASS 224 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [18s] OK * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 2 ERRORs