Last updated on 2025-03-12 08:53:34 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
diseasemapping | 7 | 8 | |
geostatsp | 1 | 8 | 6 |
mapmisc | 15 | ||
skellam | 5 | 10 |
Current CRAN status: NOTE: 7, OK: 8
Version: 2.0.6
Check: package dependencies
Result: NOTE
Package which this enhances but not available for checking: ‘INLA’
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 1, NOTE: 8, OK: 6
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’ [62m/41m]
Running ‘krige.R’ [24s/29s]
Running ‘lgcp.R’ [85s/90s]
Running ‘lgm.R’ [73s/89s]
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.8.29
>
> 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
+ )
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-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 2.0.8
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: 'RandomFields'
Flavor: r-release-windows-x86_64
Current CRAN status: OK: 15
Current CRAN status: ERROR: 5, OK: 10
Version: 0.2.3
Check: examples
Result: ERROR
Running examples in ‘skellam-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: skellam.reg
> ### Title: Regression assuming a Skellam distribution
> ### Aliases: skellam.reg
> ### Keywords: Skellam regression
>
> ### ** Examples
>
> require('skellam')
>
> set.seed(0)
>
> x <- rnorm(1000)
> y1 <- rpois(1000, exp(1 + 1 * x) )
> y2 <- rpois(1000 , exp(-1 + 1 * x) )
> y <- y2 - y1
> skellam.reg(y, x)
Error in stats::optim(mod$estimate, skelreg, hessian = TRUE, control = list(maxit = 5000)) :
function cannot be evaluated at initial parameters
Calls: skellam.reg -> <Anonymous>
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.2.3
Check: examples
Result: ERROR
Running examples in ‘skellam-Ex.R’ failed
The error most likely occurred in:
> ### Name: skellam.reg
> ### Title: Regression assuming a Skellam distribution
> ### Aliases: skellam.reg
> ### Keywords: Skellam regression
>
> ### ** Examples
>
> require('skellam')
>
> set.seed(0)
>
> x <- rnorm(1000)
> y1 <- rpois(1000, exp(1 + 1 * x) )
> y2 <- rpois(1000 , exp(-1 + 1 * x) )
> y <- y2 - y1
> skellam.reg(y, x)
Error in stats::optim(mod$estimate, skelreg, hessian = TRUE, control = list(maxit = 5000)) :
function cannot be evaluated at initial parameters
Calls: skellam.reg -> <Anonymous>
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64