CRAN Package Check Results for Package geostatsp

Last updated on 2026-09-12 00:50:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.11 38.48 584.19 622.67 NOTE
r-devel-linux-x86_64-debian-gcc 2.2.0 23.18 421.13 444.31 OK
r-devel-linux-x86_64-fedora-clang 2.2.0 28.00 198.29 226.29 ERROR
r-devel-linux-x86_64-fedora-gcc 2.2.0 31.00 309.18 340.18 ERROR
r-devel-windows-x86_64 2.2.0 39.00 638.00 677.00 OK
r-patched-linux-x86_64 2.0.11 35.37 564.23 599.60 OK
r-release-linux-x86_64 2.0.11 40.63 560.96 601.59 OK
r-release-macos-arm64 2.0.11 9.00 206.00 215.00 OK
r-release-macos-x86_64 2.2.0 30.00 879.00 909.00 OK
r-release-windows-x86_64 2.0.11 42.00 466.00 508.00 OK
r-oldrel-macos-arm64 2.2.0 OK
r-oldrel-macos-x86_64 2.2.0 28.00 787.00 815.00 OK
r-oldrel-windows-x86_64 2.0.11 59.00 682.00 741.00 OK

Check Details

Version: 2.0.11
Check: R code for possible problems
Result: NOTE Found calls to structure() using deprecated special names: geostatsp/R/maternGmrfPrec.R (.Names: 2, .Dim: 1, .Dimnames: 1) '.Names' should be changed to 'names'. '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'. Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.2.0
Check: examples
Result: ERROR Running examples in ‘geostatsp-Ex.R’ failed The error most likely occurred in: > ### Name: RFsimulate > ### Title: Simulation of Random Fields > ### Aliases: RFsimulate modelRandomFields RFsimulate RFsimulate-methods > ### RFsimulate,ANY,SpatRaster-method RFsimulate,numeric,SpatRaster-method > ### RFsimulate,numeric,SpatVector-method > ### RFsimulate,RMmodel,SpatVector-method > ### RFsimulate,RMmodel,SpatRaster-method > ### RFsimulate,matrix,SpatRaster-method > ### RFsimulate,matrix,SpatVector-method RFsimulate,data.frame,ANY-method > ### Keywords: spatial > > ### ** Examples > > # the following prevents some errors on the cran check > Sys.unsetenv(c("OMP_THREAD_LIMIT", "KMP_DEVICE_THREAD_LIMIT", "KMP_TEAMS_THREAD_LIMIT")) > Sys.setenv( + OMP_NUM_THREADS = "2", + OMP_DYNAMIC = "FALSE", + OPENBLAS_NUM_THREADS = "2", + MKL_NUM_THREADS = "2", + MKL_DYNAMIC = "FALSE", + BLIS_NUM_THREADS = "2", + VECLIB_MAXIMUM_THREADS = "2" + ) > options(mc.cores = 2) > > > library('geostatsp') > > # exclude this line to use the RandomFields package > options(useRandomFields = FALSE) > > model1 <- c(var=5, range=1,shape=0.5) > > > myraster = rast(nrows=20,ncols=30,extent = ext(0,6,0,4), + crs="+proj=utm +zone=17 +datum=NAD27 +units=m +no_defs") > > set.seed(0) > > simu <- RFsimulate(model1, x=myraster, n=3) OMP: Warning #96: Cannot form a team with 28 threads, using 2 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.2.0
Check: tests
Result: ERROR Running ‘RFsimulate.R’ [90m/45m] Running ‘geostatData.R’ Running ‘krige.R’ Running ‘lgcp.R’ Running ‘lgm.R’ [23s/23s] Running ‘lgmRaster.R’ [0m/44m] Running ‘likfitLgm.R’ Running the tests in ‘tests/RFsimulate.R’ failed. Complete output: > library("geostatsp") Loading required package: Matrix Loading required package: terra terra 1.9.50 > > Sys.unsetenv(c("OMP_THREAD_LIMIT", "KMP_DEVICE_THREAD_LIMIT", "KMP_TEAMS_THREAD_LIMIT")) > Sys.setenv( + OMP_NUM_THREADS = "2", + OMP_DYNAMIC = "FALSE", + OPENBLAS_NUM_THREADS = "2", + MKL_NUM_THREADS = "2", + MKL_DYNAMIC = "FALSE", + BLIS_NUM_THREADS = "2", + VECLIB_MAXIMUM_THREADS = "2" + ) > > options(mc.cores = if (.Platform$OS.type == "windows") 1L else 2L) > > # don't test using the randomFields package, it's currently unavailable > options(useRandomFields = FALSE) > > model <- c(var=5, range=20,shape=0.5) > > # any old crs > theCrs = "+proj=utm +zone=17 +datum=NAD27 +units=m +no_defs" > > > myraster = rast(nrows=20,ncols=20,extent = ext(100,110,100,110), + crs=theCrs) > > set.seed(0) > simu = RFsimulate(model = rbind(a=model, b=model+0.1), + x=myraster, n=4 + ) OMP: Warning #96: Cannot form a team with 28 threads, using 2 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). Running the tests in ‘tests/lgmRaster.R’ failed. Complete output: > #+ setup > library('geostatsp') Loading required package: Matrix Loading required package: terra terra 1.9.50 > #' > > #' # simulated data > > # exclude this line to use the RandomFields package > options(useRandomFields = FALSE) > > Ncell = 40 > > myRaster = squareRaster(ext(0,6000,0,6000), Ncell) > > myParam=c(oneminusar=0.1, conditionalVariance=2.5^2,shape=2) > myQ = maternGmrfPrec(myRaster, param=myParam) > attributes(myQ)$info$optimalShape shape variance range cellSize 4.092496 110.524266 900.000000 150.000000 > set.seed(0) > mySim = RFsimulate(attributes(myQ)$info$optimalShape, myRaster) OMP: Warning #96: Cannot form a team with 28 threads, using 2 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.2.0
Check: examples
Result: ERROR Running examples in ‘geostatsp-Ex.R’ failed The error most likely occurred in: > ### Name: RFsimulate > ### Title: Simulation of Random Fields > ### Aliases: RFsimulate modelRandomFields RFsimulate RFsimulate-methods > ### RFsimulate,ANY,SpatRaster-method RFsimulate,numeric,SpatRaster-method > ### RFsimulate,numeric,SpatVector-method > ### RFsimulate,RMmodel,SpatVector-method > ### RFsimulate,RMmodel,SpatRaster-method > ### RFsimulate,matrix,SpatRaster-method > ### RFsimulate,matrix,SpatVector-method RFsimulate,data.frame,ANY-method > ### Keywords: spatial > > ### ** Examples > > # the following prevents some errors on the cran check > Sys.unsetenv(c("OMP_THREAD_LIMIT", "KMP_DEVICE_THREAD_LIMIT", "KMP_TEAMS_THREAD_LIMIT")) > Sys.setenv( + OMP_NUM_THREADS = "2", + OMP_DYNAMIC = "FALSE", + OPENBLAS_NUM_THREADS = "2", + MKL_NUM_THREADS = "2", + MKL_DYNAMIC = "FALSE", + BLIS_NUM_THREADS = "2", + VECLIB_MAXIMUM_THREADS = "2" + ) > options(mc.cores = 2) > > > library('geostatsp') > > # exclude this line to use the RandomFields package > options(useRandomFields = FALSE) > > model1 <- c(var=5, range=1,shape=0.5) > > > myraster = rast(nrows=20,ncols=30,extent = ext(0,6,0,4), + crs="+proj=utm +zone=17 +datum=NAD27 +units=m +no_defs") > > set.seed(0) > > simu <- RFsimulate(model1, x=myraster, n=3) Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2.2.0
Check: tests
Result: ERROR Running ‘RFsimulate.R’ [90m/45m] Running ‘geostatData.R’ Running ‘krige.R’ Running ‘lgcp.R’ [25s/20s] Running ‘lgm.R’ [25s/25s] Running ‘lgmRaster.R’ Running the tests in ‘tests/RFsimulate.R’ failed. Complete output: > library("geostatsp") Loading required package: Matrix Loading required package: terra terra 1.9.50 > > Sys.unsetenv(c("OMP_THREAD_LIMIT", "KMP_DEVICE_THREAD_LIMIT", "KMP_TEAMS_THREAD_LIMIT")) > Sys.setenv( + OMP_NUM_THREADS = "2", + OMP_DYNAMIC = "FALSE", + OPENBLAS_NUM_THREADS = "2", + MKL_NUM_THREADS = "2", + MKL_DYNAMIC = "FALSE", + BLIS_NUM_THREADS = "2", + VECLIB_MAXIMUM_THREADS = "2" + ) > > options(mc.cores = if (.Platform$OS.type == "windows") 1L else 2L) > > # don't test using the randomFields package, it's currently unavailable > options(useRandomFields = FALSE) > > model <- c(var=5, range=20,shape=0.5) > > # any old crs > theCrs = "+proj=utm +zone=17 +datum=NAD27 +units=m +no_defs" > > > myraster = rast(nrows=20,ncols=20,extent = ext(100,110,100,110), + crs=theCrs) > > set.seed(0) > simu = RFsimulate(model = rbind(a=model, b=model+0.1), + x=myraster, n=4 + ) Flavor: r-devel-linux-x86_64-fedora-gcc