- using R Under development (unstable) (2026-03-18 r89649 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-03-19 13:36:00 UTC
- checking for file 'eks/DESCRIPTION' ... OK
- this is package 'eks' version '1.1.2'
- 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 'eks' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... [8s] OK
- checking whether the package can be loaded with stated dependencies ... [8s] OK
- checking whether the package can be unloaded cleanly ... [8s] OK
- checking whether the namespace can be loaded with stated dependencies ... [8s] OK
- checking whether the namespace can be unloaded cleanly ... [9s] OK
- checking loading without being on the library search path ... [4s] 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 ... [26s] 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [38s] ERROR
Running examples in 'eks-Ex.R' failed
The error most likely occurred in:
> ### Name: tidyst_kms
> ### Title: Tidy and geospatial kernel mean shift clustering
> ### Aliases: tidy_kms st_kms
> ### Keywords: smooth
>
> ### ** Examples
>
> ## tidy 2-d mean shift clustering
> library(ggplot2)
> data(crabs, package="MASS")
> crabs2 <- dplyr::select(crabs, FL, CW)
> t1 <- tidy_kms(crabs2)
> ## convex hulls of clusters
> t2 <- dplyr::group_by(t1, label)
> t2 <- dplyr::slice(t2, chull(FL,CW))
>
> gt <- ggplot(t1, aes(x=FL, y=CW))
> gt + geom_point(aes(colour=label)) +
+ geom_polygon(data=t2, aes(fill=label), alpha=0.1, col=1, linetype="dotted")
>
> ## geospatial mean shift clustering
> data(wa)
> data(grevilleasf)
> hakeoides <- dplyr::filter(grevilleasf, species=="hakeoides")
> s1 <- st_kms(hakeoides)
> ## convex hulls of clusters
> s2 <- dplyr::group_by(s1$sf, label)
> s2 <- dplyr::summarise(s2, geometry=sf::st_combine(geometry))
> s2 <- sf::st_convex_hull(s2)
>
> ## base R plot
> xlim <- c(1.2e5, 1.1e6); ylim <- c(6.1e6, 7.2e6)
> plot(wa, xlim=xlim, ylim=ylim)
> plot(s1, add=TRUE, pch=16)
> plot(s2, add=TRUE, lty=3, pal=function(.){
+ colorspace::qualitative_hcl(n=., palette="Set2", alpha=0.15)})
>
> ## geom_sf plot
> gs <- ggplot(s1) + geom_sf(data=wa, fill=NA) + ggthemes::theme_map()
> gs + geom_sf(data=s1$sf, aes(colour=label), alpha=0.5) +
+ geom_sf(data=s2, aes(fill=label), linetype="dotted", alpha=0.15) +
+ coord_sf(xlim=xlim, ylim=ylim)
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [27s] OK
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [8s] OK
- DONE
Status: 1 ERROR