CRAN Package Check Results for Package duke

Last updated on 2025-09-12 01:52:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.3 4.50 131.76 136.26 NOTE
r-devel-linux-x86_64-debian-gcc 0.0.3 3.96 65.60 69.56 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.3 193.16 ERROR
r-devel-linux-x86_64-fedora-gcc 0.0.3 195.24 ERROR
r-devel-windows-x86_64 0.0.3 7.00 109.00 116.00 NOTE
r-patched-linux-x86_64 0.0.3 4.57 124.14 128.71 NOTE
r-release-linux-x86_64 0.0.3 4.40 123.55 127.95 NOTE
r-release-macos-arm64 0.0.3 79.00 NOTE
r-release-macos-x86_64 0.0.3 109.00 NOTE
r-release-windows-x86_64 0.0.3 8.00 107.00 115.00 NOTE
r-oldrel-macos-arm64 0.0.3 55.00 OK
r-oldrel-macos-x86_64 0.0.3 86.00 OK
r-oldrel-windows-x86_64 0.0.3 10.00 141.00 151.00 OK

Check Details

Version: 0.0.3
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘scale_duke_color_discrete.Rd’ ‘scale_duke_fill_discrete.Rd’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

Version: 0.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/5s] 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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.0.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘duke.Rmd’ using rmarkdown Quitting from duke.Rmd:21-28 [setup] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `library()`: ! there is no package called 'ggmosaic' --- Backtrace: ▆ 1. └─base::library(ggmosaic) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'duke.Rmd' failed with diagnostics: there is no package called 'ggmosaic' --- failed re-building ‘duke.Rmd’ --- re-building ‘scale_duke_color_discrete.Rmd’ using rmarkdown Quitting from scale_duke_color_discrete.Rmd:26-31 [penguins] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `library()`: ! there is no package called 'ggmosaic' --- Backtrace: ▆ 1. └─base::library(ggmosaic) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'scale_duke_color_discrete.Rmd' failed with diagnostics: there is no package called 'ggmosaic' --- failed re-building ‘scale_duke_color_discrete.Rmd’ --- re-building ‘scale_duke_continuous.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘scale_duke_continuous.Rmd’ --- re-building ‘scale_duke_fill_discrete.Rmd’ using rmarkdown Quitting from scale_duke_fill_discrete.Rmd:24-29 [penguins] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `library()`: ! there is no package called 'ggmosaic' --- Backtrace: ▆ 1. └─base::library(ggmosaic) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'scale_duke_fill_discrete.Rmd' failed with diagnostics: there is no package called 'ggmosaic' --- failed re-building ‘scale_duke_fill_discrete.Rmd’ --- re-building ‘theme_duke_vignette.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘theme_duke_vignette.Rmd’ SUMMARY: processing the following files failed: ‘duke.Rmd’ ‘scale_duke_color_discrete.Rmd’ ‘scale_duke_fill_discrete.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [11s/14s] 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.0.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘duke.Rmd’ using rmarkdown Quitting from duke.Rmd:269-281 [mosaic plot] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> 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 [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘scale_duke_color_discrete.Rmd’ --- re-building ‘scale_duke_continuous.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘scale_duke_continuous.Rmd’ --- re-building ‘scale_duke_fill_discrete.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘scale_duke_fill_discrete.Rmd’ --- re-building ‘theme_duke_vignette.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘theme_duke_vignette.Rmd’ SUMMARY: processing the following file failed: ‘duke.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/14s] 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 Flavor: r-devel-linux-x86_64-fedora-gcc