- using R version 4.5.1 (2025-06-13)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-5) 14.3.0
GNU Fortran (Debian 14.3.0-5) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘ggredist/DESCRIPTION’ ... OK
- this is package ‘ggredist’ 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 serialization versions ... OK
- checking whether package ‘ggredist’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/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 ... [10s/13s] OK
- checking Rd files ... [0s/1s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [1s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking examples ... [17s/20s] ERROR
Running examples in ‘ggredist-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: scale_fill_538
> ### Title: FiveThirtyEight scales for 'ggplot2'
> ### Aliases: scale_fill_538 scale_color_538
>
> ### ** Examples
>
> library(ggplot2)
> data(oregon)
>
> ggplot(oregon, aes(fill = ndv / (ndv + nrv))) +
+ geom_sf(size = 0) +
+ scale_fill_538(name = '') +
+ theme_map()
Error in `vec_slice()`:
! Can't subset elements past the end.
ℹ Location 6 doesn't exist.
ℹ There are only 5 elements.
Backtrace:
▆
1. ├─base (local) `<fn>`(x)
2. ├─ggplot2 (local) `print.ggplot2::ggplot`(x)
3. │ ├─ggplot2::ggplot_build(x)
4. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x)
5. │ └─plot@guides$build(npscales, plot@layers, plot@labels, data, plot@theme)
6. │ └─ggplot2 (local) build(..., self = self)
7. │ └─guides$train(scales, labels)
8. │ └─ggplot2 (local) train(..., self = self)
9. │ └─base::Map(...)
10. │ └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
11. │ └─ggplot2 (local) `<fn>`(...)
12. │ └─guide$train(param, scale, aes, title = labels[[aes]])
13. │ └─ggplot2 (local) train(..., self = self)
14. │ ├─rlang::inject(self$extract_key(scale, !!!params))
15. │ └─self$extract_key(...)
16. │ └─ggplot2 (local) extract_key(...)
17. │ └─Guide$extract_key(scale, aesthetic, ...)
18. │ └─ggplot2 (local) extract_key(...)
19. │ └─scale$map(breaks)
20. │ └─ggplot2 (local) map(..., self = self)
21. │ ├─pal[x_binned]
22. │ └─vctrs:::`[.vctrs_vctr`(pal, x_binned)
23. │ └─vctrs:::vec_index(x, i, ...)
24. │ └─vctrs::vec_slice(x, i)
25. └─vctrs (local) `<fn>`()
26. └─vctrs:::stop_subscript_oob(...)
27. └─vctrs:::stop_subscript(...)
28. └─rlang::abort(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
ggredist 4.608 0.031 5.922
- checking PDF version of manual ... [6s/9s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR