* using log directory 'd:/Rcompile/CRANpkg/local/4.4/duke.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'duke/DESCRIPTION' ... OK * this is package 'duke' version '0.0.3' * 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 'duke' 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] 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 ... [6s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [10s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [8s] ERROR Running 'testthat.R' [7s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(duke) > > test_check("duke") New names: * `colour` -> `colour...1` * `colour` -> `colour...4` [ FAIL 1 | WARN 10 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-scale_duke_fill_discrete.R:36:3'): appropriate fill for factors over 8-levels ── ggplot2::layer_data(p3)$fill[9] (`actual`) not equal to "#B5B5B5" (`expected`). `actual`: NA `expected`: "#B5B5B5" Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-scale_duke_fill_discrete.R:36:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─testthat::expect_equal(ggplot2::layer_data(p3)$fill[9], "#B5B5B5") [ FAIL 1 | WARN 10 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [48s] ERROR Error(s) in re-building vignettes: --- re-building 'duke.Rmd' using rmarkdown Quitting from duke.Rmd:269-281 [mosaic plot] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `make_title()`: ! unused arguments (list(), "Island") --- Backtrace: ▆ 1. └─tools:::.buildOneVignette(...) 2. ├─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─engine$weave(file, quiet = quiet, encoding = enc) 7. └─knitr:::vweave_rmarkdown(...) 8. └─rmarkdown::render(...) 9. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 10. └─knitr:::process_file(text, output) 11. ├─xfun:::handle_error(...) 12. ├─base::withCallingHandlers(...) 13. └─knitr:::process_group(group) 14. └─knitr:::call_block(x) 15. └─knitr:::block_exec(params) 16. └─knitr:::eng_r(options) 17. ├─knitr:::in_input_dir(...) 18. │ └─knitr:::in_dir(input_dir(), expr) 19. └─knitr (local) evaluate(...) 20. └─evaluate::evaluate(...) 21. ├─base::withRestarts(...) 22. │ └─base (local) withRestartList(expr, restarts) 23. │ ├─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 24. │ │ └─base (local) doWithOneRestart(return(expr), restart) 25. │ └─base (local) withRestartList(expr, restarts[-nr]) 26. │ └─base (local) withOneRestart(expr, restarts[[1L]]) 27. │ └─base (local) doWithOneRestart(return(expr), restart) 28. ├─evaluate:::with_handlers(...) 29. │ ├─base::eval(call) 30. │ │ └─base::eval(call) 31. │ └─base::withCallingHandlers(...) 32. └─watcher$print_value(ev$value, ev$visible, envir) 33. ├─base::withVisible(handle_value(handler, value, visible, envir)) 34. └─evaluate:::handle_value(handler, value, visible, envir) 35. └─handler$value(value, visible) 36. └─knitr (local) fun(x, options = options) 37. ├─base::withVisible(knit_print(x, ...)) 38. ├─knitr::knit_print(x, ...) 39. └─knitr:::knit_print.default(x, ...) 40. └─knitr::normal_print(x) 41. ├─base::print(x) 42. └─ggplot2 (local) `print.ggplot2::ggplot`(x) 43. ├─ggplot2::ggplot_gtable(data) 44. └─ggplot2 (local) `ggplot_gtable.ggplot2::ggplot_built`(data) 45. └─layout$render(geom_grobs, data, theme, plot@labels) 46. └─ggplot2 (local) render(..., self = self) 47. ├─self$coord$labels(...) 48. │ └─ggplot2 (local) labels(..., self = self) 49. └─self$resolve_label(self$panel_scales_x[[1]], labels) 50. └─ggplot2 (local) resolve_label(..., self = self) 51. └─scale$make_title(prim_guide, prim_scale, prim_label) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'duke.Rmd' failed with diagnostics: unused arguments (list(), "Island") --- failed re-building 'duke.Rmd' --- re-building 'scale_duke_color_discrete.Rmd' using rmarkdown --- finished re-building 'scale_duke_color_discrete.Rmd' --- re-building 'scale_duke_continuous.Rmd' using rmarkdown --- finished re-building 'scale_duke_continuous.Rmd' --- re-building 'scale_duke_fill_discrete.Rmd' using rmarkdown --- finished re-building 'scale_duke_fill_discrete.Rmd' --- re-building 'theme_duke_vignette.Rmd' using rmarkdown --- finished re-building 'theme_duke_vignette.Rmd' SUMMARY: processing the following file failed: 'duke.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 2 ERRORs