Skip to content

Commit 4c4d777

Browse files
committed
CRAN NOTEs
1 parent 7ac7328 commit 4c4d777

5 files changed

Lines changed: 63 additions & 51 deletions

File tree

inst/CITATION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bibentry(bibtype="Article",
2020
volume = 8,
2121
issue = 1,
2222
pages = "204-218",
23-
url = "https://journal.r-project.org/archive/2016/RJ-2016-014/index.html",
23+
url = "https://journal.r-project.org/articles/RJ-2016-014/index.html",
2424
textVersion =
2525
paste("Benedikt Gräler, Edzer Pebesma and Gerard Heuvelink, 2016.",
2626
"Spatio-Temporal Interpolation using gstat. The R Journal 8(1), 204-218")

inst/ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2026-02-13 edzer <edzer.pebesma@uni-muenster.de>
2+
3+
* inst/ChangeLog, man/fit.lmc.Rd, man/fit.variogram.Rd,
4+
man/get.contr.Rd, man/gstat.Rd, man/hscat.Rd, man/krige.Rd,
5+
man/krige.cv.Rd, man/krigeST.Rd, man/krigeTg.Rd, man/meuse.all.Rd,
6+
man/meuse.alt.Rd, man/plot.gstatVariogram.Rd,
7+
man/plot.pointPairs.Rd, man/plot.variogramCloud.Rd,
8+
man/show.vgms.Rd, man/variogram.Rd, man/variogramST.Rd, man/vgm.Rd,
9+
man/vgm.panel.Rd, vignettes/spatio-temporal-kriging.Rnw,
10+
vignettes/spatio-temporal-kriging.bib, vignettes/st.Rnw: address
11+
CRAN NOTEs
12+
113
2026-02-12 edzer <edzer.pebesma@uni-muenster.de>
214

315
* tests/stars.Rout.save: NA's -> NAs CRAN NOTE

tests/stars.Rout.save

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
2-
R version 4.5.1 (2025-06-13) -- "Great Square Root"
3-
Copyright (C) 2025 The R Foundation for Statistical Computing
4-
Platform: x86_64-pc-linux-gnu
5-
6-
R is free software and comes with ABSOLUTELY NO WARRANTY.
7-
You are welcome to redistribute it under certain conditions.
8-
Type 'license()' or 'licence()' for distribution details.
9-
10-
R is a collaborative project with many contributors.
11-
Type 'contributors()' for more information and
12-
'citation()' on how to cite R or R packages in publications.
13-
14-
Type 'demo()' for some demos, 'help()' for on-line help, or
15-
'help.start()' for an HTML browser interface to help.
16-
Type 'q()' to quit R.
17-
18-
> Sys.setenv(TZ = "UTC")
19-
>
20-
> Sys.unsetenv("KMP_DEVICE_THREAD_LIMIT")
21-
> Sys.unsetenv("KMP_ALL_THREADS")
22-
> Sys.unsetenv("KMP_TEAMS_THREAD_LIMIT")
23-
> Sys.unsetenv("OMP_THREAD_LIMIT")
24-
>
25-
> # 0. using sp:
26-
>
27-
> suppressPackageStartupMessages(library(sp))
28-
> demo(meuse, ask = FALSE)
29-
30-
31-
demo(meuse)
32-
---- ~~~~~
33-
34-
> require(sp)
35-
36-
> crs = CRS("EPSG:28992")
1+
2+
R Under development (unstable) (2026-02-12 r89409 ucrt) -- "Unsuffered Consequences"
3+
Copyright (C) 2026 The R Foundation for Statistical Computing
4+
Platform: x86_64-w64-mingw32/x64
5+
6+
R is free software and comes with ABSOLUTELY NO WARRANTY.
7+
You are welcome to redistribute it under certain conditions.
8+
Type 'license()' or 'licence()' for distribution details.
9+
10+
R is a collaborative project with many contributors.
11+
Type 'contributors()' for more information and
12+
'citation()' on how to cite R or R packages in publications.
13+
14+
Type 'demo()' for some demos, 'help()' for on-line help, or
15+
'help.start()' for an HTML browser interface to help.
16+
Type 'q()' to quit R.
17+
18+
> Sys.setenv(TZ = "UTC")
19+
>
20+
> Sys.unsetenv("KMP_DEVICE_THREAD_LIMIT")
21+
> Sys.unsetenv("KMP_ALL_THREADS")
22+
> Sys.unsetenv("KMP_TEAMS_THREAD_LIMIT")
23+
> Sys.unsetenv("OMP_THREAD_LIMIT")
24+
>
25+
> # 0. using sp:
26+
>
27+
> suppressPackageStartupMessages(library(sp))
28+
> demo(meuse, ask = FALSE)
29+
30+
31+
demo(meuse)
32+
---- ~~~~~
33+
34+
> require(sp)
35+
36+
> crs = CRS("EPSG:28992")
3737

3838
> data("meuse")
3939

@@ -212,14 +212,14 @@ y 1 104 333760 -40 [y]
212212
> st_as_stars(k_sp_grd)
213213
stars object with 2 dimensions and 3 attributes
214214
attribute(s):
215-
var1.pred var1.var cls
216-
Min. :4.777 Min. :0.0855 (0,5]: 316
217-
1st Qu.:5.238 1st Qu.:0.1373 (5,6]:1778
218-
Median :5.573 Median :0.1622 (6,7]: 962
219-
Mean :5.707 Mean :0.1853 (7,8]: 47
220-
3rd Qu.:6.172 3rd Qu.:0.2116 (8,9]: 0
221-
Max. :7.440 Max. :0.5003 NAs :5009
222-
NAs :5009 NAs :5009
215+
var1.pred var1.var cls
216+
Min. :4.777 Min. :0.08549 (0,5]: 316
217+
1st Qu.:5.238 1st Qu.:0.13729 (5,6]:1778
218+
Median :5.573 Median :0.16218 (6,7]: 962
219+
Mean :5.707 Mean :0.18533 (7,8]: 47
220+
3rd Qu.:6.172 3rd Qu.:0.21162 (8,9]: 0
221+
Max. :7.440 Max. :0.50028 NAs :5009
222+
NAs :5009 NAs :5009
223223
dimension(s):
224224
from to offset delta refsys x/y
225225
x 1 78 178440 40 Amersfoort / RD New [x]
@@ -471,8 +471,8 @@ drawing 5 multivariate GLS realisations of beta...
471471
stars object with 3 dimensions and 2 attributes
472472
attribute(s):
473473
Min. 1st Qu. Median Mean 3rd Qu. Max. NAs
474-
zinc 101.7643 199.59256 300.2140 399.8017 544.0327 1817.2057 25045
475-
lead 32.7799 73.03151 107.9339 133.1725 178.8162 638.9396 25045
474+
zinc 101.7643 199.48523 300.2140 399.7954 544.0229 1817.2057 25045
475+
lead 32.7799 73.01782 107.9339 133.1702 178.8162 638.9396 25045
476476
dimension(s):
477477
from to offset delta values x/y
478478
x 1 78 178440 40 NULL [x]
@@ -482,4 +482,4 @@ sample 1 5 NA NA sim1,...,sim5
482482
>
483483
> proc.time()
484484
user system elapsed
485-
6.205 8.037 5.303
485+
11.04 0.64 11.70

vignettes/spatio-temporal-kriging.Rnw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ We present new spatio-temporal geostatistical modelling and interpolation capabi
7474
The collection and processing of spatio-temporal data is rapidly increasing due to technological advances and the societal need for analysis of variables that vary in space and time, such as weather and air quality variables, and crop yields. Analysis of spatial and temporal correlations is useful in itself to get insight into the character and causes of variability, but they are also important to predict values at points from neighbouring observations. Spatio-temporal interpolation can potentially provide more accurate predictions than spatial interpolation because observations taken at other times can be included. In addition, spatio-temporal interpolation allows predictions to be made at single locations or entire fields in between and beyond observation times. However, adding the temporal domain implies that variability in space and time must be modelled, which is more complicated than modelling purely spatial or purely temporal variability. The spatial, temporal and spatio-temporal dependence structures, for instance represented as variograms, do not necessarily coincide with each other in terms of their parameters nor in terms of their family. In the simplest case, a spatio-temporal anisotropy parameter might be enough to deal with the different dependence structures, but this poses strong assumptions on the process.
7575

7676
Interpolation of spatial random fields is a common task in geostatistics. Simple approaches like inverse distance weighted predictions or the well known kriging procedures have routinely been applied for many years. Nowadays, modern sensors allow to monitor different variables at an increasing temporal resolution producing rich spatio-temporal data sets.
77-
This calls as well for theory and methods to deal with these data sets to gain a better understanding of the observed spatio-temporal processes. While the theoretical aspects of spatio-temporal geostatistics show good progress \citep{Cressie2011}, implementations lack behind. This hinders a wide application of spatio-temporal modelling, as typically extensive scripting and thorough understanding is necessary to build spatio-temporal models. Handling of spatio-temporal data in R is provided by the \CRANpkg{spacetime} package \citep{Pebesma2012}. In this paper, we present an extension of the \CRANpkg{gstat} package \citep{Pebesma2004} (version 1.1-3) that reuses the \pkg{spacetime} classes for the estimation of spatio-temporal covariance/variogram models and to perform spatio-temporal interpolation. Our implementation handles various types of spatio-temporal covariance structures and facilitates spatio-temporal interpolation. The notation of functions in \pkg{gstat} are extended in a way closely following the purely spatial design. This allows a researcher acquainted with \pkg{gstat} to readily use spatio-temporal tools. The use of the newly implemented functions is presented and illustrated by mapping spatio-temporal air-quality data. Another package that offers extensive spatio-temporal geostatistical functionality is \CRANpkg{RandomFields} \citep{Schlather2014}; further packages are mentioned in the SpatioTemporal CRAN task view\footnote{\url{https://cran.r-project.org/web/views/SpatioTemporal.html}}.
77+
This calls as well for theory and methods to deal with these data sets to gain a better understanding of the observed spatio-temporal processes. While the theoretical aspects of spatio-temporal geostatistics show good progress \citep{Cressie2011}, implementations lack behind. This hinders a wide application of spatio-temporal modelling, as typically extensive scripting and thorough understanding is necessary to build spatio-temporal models. Handling of spatio-temporal data in R is provided by the \CRANpkg{spacetime} package \citep{Pebesma2012}. In this paper, we present an extension of the \CRANpkg{gstat} package \citep{Pebesma2004} (version 1.1-3) that reuses the \pkg{spacetime} classes for the estimation of spatio-temporal covariance/variogram models and to perform spatio-temporal interpolation. Our implementation handles various types of spatio-temporal covariance structures and facilitates spatio-temporal interpolation. The notation of functions in \pkg{gstat} are extended in a way closely following the purely spatial design. This allows a researcher acquainted with \pkg{gstat} to readily use spatio-temporal tools. The use of the newly implemented functions is presented and illustrated by mapping spatio-temporal air-quality data. Another package that offers extensive spatio-temporal geostatistical functionality is \CRANpkg{RandomFields} \citep{Schlather2014}; further packages are mentioned in the SpatioTemporal CRAN task view.
7878

7979
The paper is organised as follows. The next section introduces the general interpolation routine and describes the different spatio-temporal covariance models, followed by a section introducing the German rural background data set for 2005 and performing the parameter estimation (i.e.\ covariance model fitting). Cross-validation results are presented and discussed in the section thereafter. Conclusions are drawn in the closing section. R scripts reproducing this study are available from within the \pkg{gstat} package as demos. \code{stkrige} re-estimates the variogram models, \code{stkrige-prediction} re-executes the prediction for a time series and a couple of stations, and \code{stkrige-crossvalidation} re-runs the entire leave-one-out cross-validation (note that the latter takes a few hours).
8080

vignettes/st.Rnw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Starting 2003, a group of programmers developed a set of classes
4848
and methods for dealing with spatial data in R (points, lines,
4949
polygons, grids), which was supported by the publications
5050
of the well-known ASDAR book (Bivand et al. 2008; see also
51-
\url{https://www.asdar-book.org/}) and helped convergence in the user
51+
\url{https://asdar-book.org/}) and helped convergence in the user
5252
community, with in 2011 over 2000 subscribers on the {\tt r-sig-geo}
5353
mailing list. Package \code{gstat} was one of the first packages
5454
that adopted and benefited from these classes.
@@ -424,7 +424,7 @@ Data. Wiley.
424424

425425
\item Pebesma, E., 2012. spacetime: Spatio-Temporal Data
426426
in R. Journal of Statistical Software, volume 51, issue 7;
427-
\href{http://www.jstatsoft.org/v51/i07/}{1-30}.
427+
\href{https://www.jstatsoft.org/v51/i07/}{1-30}.
428428

429429
\item Pebesma, E.J., Wesseling, C.G., 1998. Gstat, a program for
430430
geostatistical modelling, prediction and simulation. Computers \&

0 commit comments

Comments
 (0)