Last updated on 2026-05-01 09:54:54 CEST.
| Package | ERROR | OK |
|---|---|---|
| GeNetIt | 13 | |
| spatialEco | 1 | 12 |
| yaImpute | 13 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 2.0-4
Check: examples
Result: ERROR
Running examples in 'spatialEco-Ex.R' failed
The error most likely occurred in:
> ### Name: quadrats
> ### Title: Quadrats
> ### Aliases: quadrats
>
> ### ** Examples
>
> library(sf)
Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; sf_use_s2() is TRUE
> library(terra)
terra 1.9.11
Attaching package: 'terra'
The following objects are masked from 'package:spatialEco':
is.empty, shift, sieve
>
> # read meuse data and create convex hull
> if (require(sp, quietly = TRUE)) {
+ data(meuse, package = "sp")
+ meuse <- st_as_sf(meuse, coords = c("x", "y"), crs = 28992, agr = "constant")
+ e <- st_convex_hull(st_union(meuse))
+
+ # Fixed size 250 and no rotation
+ s <- quadrats(e, s = 250, n = 10)
+ plot(st_geometry(s))
+
+
+
+ } else {
+ cat("Please install sp package to run example", "\n")
+ }
Flavor: r-oldrel-windows-x86_64
Current CRAN status: OK: 13