* using log directory 'd:/Rcompile/CRANpkg/local/4.4/adw.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'adw' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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] OK * checking whether the package can be loaded with stated dependencies ... [8s] OK * checking whether the package can be unloaded cleanly ... [8s] OK * checking whether the namespace can be loaded with stated dependencies ... [9s] OK * checking whether the namespace can be unloaded cleanly ... [10s] OK * checking loading without being on the library search path ... [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 ... [20s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [9s] 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. Error in process_cpl_read_ogr(x, quiet, check_ring_dir = check_ring_dir, : package tibble not available: install first? Calls: ... 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 ... [11s] ERROR Error(s) in re-building vignettes: --- re-building 'Introduction.Rmd' using rmarkdown Quitting from Introduction.Rmd:47-74 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ... [17s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 2 ERRORs