Last updated on 2025-04-22 19:52:28 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
diseasemapping | 2 | 11 | |
geostatsp | 1 | 3 | 9 |
mapmisc | 13 |
Current CRAN status: NOTE: 2, OK: 11
Version: 2.0.6
Check: package dependencies
Result: NOTE
Package which this enhances but not available for checking: ‘INLA’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: ERROR: 1, NOTE: 3, OK: 9
Version: 2.0.8
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
>
> 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)
install the RandomFields package for faster simulations
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 2.0.8
Check: tests
Result: ERROR
Running ‘RFsimulate.R’ [95m/69m]
Running ‘krige.R’ [27s/32s]
Running ‘lgcp.R’ [90s/97s]
Running ‘lgm.R’ [84s/101s]
Running ‘lgmRaster.R’ [0m/18m]
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.8.42
>
> model <- c(var=5, range=20,shape=0.5)
>
> # any old crs
> theCrs = "+proj=utm +zone=17 +datum=NAD27 +units=m +no_defs"
>
> # don't test using the randomFields package, it's currently broken on some R builds
> options(useRandomFields = FALSE)
>
> 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
+ )
Running the tests in ‘tests/lgmRaster.R’ failed.
Complete output:
> #+ setup
> library('geostatsp')
Loading required package: Matrix
Loading required package: terra
terra 1.8.42
> #'
>
> #' # 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)
install the RandomFields package for faster simulations
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 2.0.8
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘RandomFields’
Package which this enhances but not available for checking: ‘INLA’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 2.0.8
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: 'RandomFields'
Flavor: r-oldrel-windows-x86_64
Current CRAN status: OK: 13