- using R version 4.5.1 (2025-06-13)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-5) 14.3.0
GNU Fortran (Debian 14.3.0-5) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘adw/DESCRIPTION’ ... OK
- this is package ‘adw’ version ‘0.4.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘adw’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [8s/10s] OK
- checking whether the package can be loaded with stated dependencies ... [7s/9s] OK
- checking whether the package can be unloaded cleanly ... [7s/9s] OK
- checking whether the namespace can be loaded with stated dependencies ... [7s/9s] OK
- checking whether the namespace can be unloaded cleanly ... [8s/11s] OK
- checking loading without being on the library search path ... [7s/9s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [32s/39s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [7s/9s] ERROR
Running examples in ‘adw-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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.
Error in process_cpl_read_ogr(x, quiet, check_ring_dir = check_ring_dir, :
package tibble not available: install first?
Calls: <Anonymous> ... st_read -> st_read.character -> process_cpl_read_ogr
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [9s/12s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘Introduction.Rmd’ using rmarkdown
Quitting from Introduction.Rmd:47-74 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `process_cpl_read_ogr()`:
! package tibble not available: install first?
---
Backtrace:
▆
1. └─cnmap::getMap(name = "河南省", returnClass = "sf")
2. └─sf::read_sf(urlmap)
3. ├─sf::st_read(...)
4. └─sf:::st_read.character(...)
5. └─sf:::process_cpl_read_ogr(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Introduction.Rmd' failed with diagnostics:
package tibble not available: install first?
--- failed re-building ‘Introduction.Rmd’
SUMMARY: processing the following file failed:
‘Introduction.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [5s/8s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs