- 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 'ggpol/DESCRIPTION' ... OK
- this is package 'ggpol' version '0.0.7'
- 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 'ggpol' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [3s] 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 ... [3s] OK
- checking loading without being on the library search path ... [3s] 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 ... [7s] 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 LazyData ... NOTE
'LazyData' is specified without a 'data' directory
- checking examples ... [3s] ERROR
Running examples in 'ggpol-Ex.R' failed
The error most likely occurred in:
> ### Name: GeomConfmat
> ### Title: Confusion Matrix
> ### Aliases: GeomConfmat geom_confmat stat_confmat
>
> ### ** Examples
>
> x <- sample(LETTERS[seq(4)], 50, replace = TRUE)
> y <- sample(LETTERS[seq(4)], 50, replace = TRUE)
>
> ggplot() +
+ geom_confmat(aes(x = x, y = y), normalize = TRUE, text.perc = TRUE)
Warning: Using the `size` aesthetic in this geom was deprecated in ggplot2 3.4.0.
ℹ Please use `linewidth` in the `default_aes` field and elsewhere instead.
Error in `geom_confmat()`:
! Problem while converting geom to grob.
ℹ Error occurred in the 1st layer.
Caused by error:
! object 'fontsize' not found
Backtrace:
▆
1. ├─base (local) `<fn>`(x)
2. ├─ggplot2 (local) `print.ggplot2::ggplot`(x)
3. │ ├─ggplot2::ggplot_gtable(data)
4. │ └─ggplot2 (local) `ggplot_gtable.ggplot2::ggplot_built`(data)
5. │ └─ggplot2:::by_layer(...)
6. │ ├─rlang::try_fetch(...)
7. │ │ ├─base::tryCatch(...)
8. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. │ │ └─base::withCallingHandlers(...)
12. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]])
13. │ └─l$draw_geom(d, layout)
14. │ └─ggplot2 (local) draw_geom(..., self = self)
15. │ └─self$geom$draw_layer(...)
16. │ └─ggplot2 (local) draw_layer(..., self = self)
17. │ └─base::lapply(...)
18. │ └─ggplot2 (local) FUN(X[[i]], ...)
19. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params))
20. │ └─self$draw_panel(...)
21. │ └─ggpol (local) draw_panel(...)
22. │ └─base::lapply(GeomText$default_aes[missing_aes], rlang::eval_tidy)
23. │ └─rlang (local) FUN(X[[i]], ...)
24. ├─ggplot2::from_theme(fontsize)
25. └─base::.handleSimpleError(...)
26. └─rlang (local) h(simpleError(msg, call))
27. └─handlers[[1L]](cnd)
28. └─cli::cli_abort(...)
29. └─rlang::abort(...)
Execution halted
- checking PDF version of manual ... [17s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR, 1 NOTE