Last updated on 2024-05-04 13:49:53 CEST.
Package | ERROR | OK |
---|---|---|
adw | 1 | 12 |
cnmap | 13 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.4.0
Check: examples
Result: ERROR
Running examples in 'adw-Ex.R' failed
The error most likely occurred in:
> ### Name: adw
> ### Title: Angular Distance Weighting Interpolation.
> ### Aliases: adw
>
> ### ** Examples
>
> set.seed(2)
> dd <- data.frame(lon = runif(100, min = 110, max = 117),
+ lat = runif(100, min = 31, max = 37),
+ value = runif(100, min = -10, max = 10))
> head(dd)
lon lat value
1 111.2942 32.20561 7.173832
2 114.9166 33.56583 2.903207
3 114.0133 36.88360 2.055973
4 111.1764 35.97353 9.439614
5 116.6069 32.72184 -2.466855
6 116.6043 34.57550 6.382290
>
> # example 1
> grd <- adw(dd, extent = c(110, 117, 31, 37), gridsize = 0.5, cdd = 500)
> head(grd)
lon lat value
1 110.25 31.25 0.09027313
2 110.75 31.25 1.00411953
3 111.25 31.25 -0.35292188
4 111.75 31.25 -0.47570806
5 112.25 31.25 -1.57521787
6 112.75 31.25 -1.10541492
>
> # example 2
> hmap <- cnmap::getMap(code = "410000") |> sf::st_make_valid() # return a 'sf' object.
Warning in CPL_read_ogr(dsn, layer, query, as.character(options), quiet, :
GDAL Error 1: Could not resolve host: geo.datav.aliyun.com
Error: Cannot open "https://geo.datav.aliyun.com/areas_v3/bound/410000.json"; The file doesn't seem to exist.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'Introduction.Rmd' using rmarkdown
Quitting from lines at lines 48-74 [unnamed-chunk-3] (Introduction.Rmd)
Error: processing vignette 'Introduction.Rmd' failed with diagnostics:
Cannot open "https://geo.datav.aliyun.com/areas_v3/bound/410000.json"; The file doesn't seem to exist.
--- failed re-building 'Introduction.Rmd'
SUMMARY: processing the following file failed:
'Introduction.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-windows-x86_64
Current CRAN status: OK: 13