NEWS
geostatsp 2.2.0 (2026-09-10)
- Exported geostatData(), an S3 generic that prepares observations and
covariates for glgm() and lgm(). Methods dispatch on SpatVector and
SpatRaster (replacing the unexported gm.dataSpatial / gm.dataRaster
helpers).
- Formulas with namespaced INLA::f(...) are treated like f(...): allVarsP()
no longer splits "::" as an interaction, geostatData() skips missing
covariates instead of calling terra::crs() on NULL, and glgm() rewrites
INLA::f to f before calling INLA.
geostatsp 2.1.1
- Fixed remaining deprecated structure(.Dim=) usage for R-devel checks.
- Added inlaAvailable() / inlaSetThreads() so examples and tests skip
gracefully when INLA is installed but its binaries are missing/broken.
- glgm() returns a structured failure object with parameters=NULL when
INLA fails, so callers such as spatialRoc() are not reached with a
malformed fit.
- Test plot PDFs now write to tempdir(); packaged build artifacts cleaned.
- Packaging hygiene: .Rbuildignore, Encoding, versioned License,
URL/BugReports fields.
geostatsp 2.1.0
- Continued terra / SpatRaster / SpatVector support.
- profLlgm() uses a PSOCK cluster instead of forked mcmapply (avoids
macOS segfaults under R CMD check).
- OpenMP thread caps during R CMD check to avoid oversubscription hangs.