- using R Under development (unstable) (2025-09-11 r88810)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘duke’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... 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’
- 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 ... [12s/16s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... [14s/15s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [11s/15s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [91s/123s] 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
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE