- using R Under development (unstable) (2025-12-04 r89100)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-9) 15.2.0
GNU Fortran (Debian 15.2.0-9) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘geomtextpath/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘geomtextpath’ version ‘0.2.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- checking package namespace information ... OK
- checking package dependencies ... WARNING
Cannot process vignettes
Packages suggested but not available for checking:
'covr', 'knitr', 'rmarkdown', 'roxygen2', 'sf'
VignetteBuilder package required for checking but not installed: ‘knitr’
- 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 ‘geomtextpath’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [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 whether startup messages can be suppressed ... [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 ... [11s/11s] OK
- checking Rd files ... [0s/0s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [14s/15s] ERROR
Running examples in ‘geomtextpath-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: geom_textdensity2d
> ### Title: Produce labelled contour lines of 2D density in 'ggplot2'
> ### Aliases: geom_textdensity2d geom_labeldensity2d
>
> ### ** Examples
>
> set.seed(1)
>
> df <- data.frame(x = rnorm(100), y = rnorm(100))
>
> ggplot(df, aes(x, y)) +
+ geom_textdensity2d() +
+ theme_classic()
Error in `geom_textdensity2d()`:
! Problem while computing stat.
ℹ Error occurred in the 1st layer.
Caused by error in `compute_layer()`:
! The package "MASS" is required for calculating 2D density.
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. │ └─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$compute_statistic(d, layout)
14. │ └─ggplot2 (local) compute_statistic(..., self = self)
15. │ └─self$stat$compute_layer(data, self$computed_stat_params, layout)
16. │ └─ggplot2 (local) compute_layer(..., self = self)
17. │ └─rlang::check_installed("MASS", reason = "for calculating 2D density.")
18. │ └─base::stop(cnd)
19. └─rlang (local) `<fn>`(`<S3: rlib_error_package_not_found>`)
20. └─handlers[[1L]](cnd)
21. └─cli::cli_abort(...)
22. └─rlang::abort(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
coord_curvedpolar 10.746 0.559 11.307
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [20s/21s] OK
Running ‘testthat.R’ [20s/20s]
- checking package vignettes ... NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
- checking PDF version of manual ... [5s/5s] OK
- checking HTML version of manual ... [3s/3s] NOTE
Skipping checking math rendering: package 'V8' unavailable
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 WARNING, 2 NOTEs