Last updated on 2024-12-23 12:49:44 CET.
Package | ERROR | OK |
---|---|---|
climatol | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 4.1.0
Check: examples
Result: ERROR
Running examples in ‘climatol-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: dahgrid
> ### Title: Interpolation of normalized homogeneous data on a predefined
> ### grid
> ### Aliases: dahgrid
> ### Keywords: datagen
>
> ### ** Examples
>
> ## Set a temporal working directory and write input files:
> wd <- tempdir()
> wd0 <- setwd(wd)
>
> ## Copy an example file of homogenization results:
> file.copy(exampleFiles('Temp_1991-2000.rda'),'.')
[1] TRUE
>
> ## Now run the example:
> ## (very coarse grid (3x2 points) to run in less than the 10 seconds CRAN limit)
> grd <- expand.grid(x=seq(-2.8,-2.4,.2),y=seq(38.86,39.06,.2))
> sp::coordinates(grd) <- ~ x+y
> dahgrid('Temp',1991,2000,grid=grd)
Error in dahgrid("Temp", 1991, 2000, grid = grd) :
This function requires packages sp, gstat, raster and ncdf4.
Please, install the lacking packages and re-run the function
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc