- 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 'atpolR/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'atpolR' version '0.1.1'
- 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 'atpolR' can be installed ... OK
See the install log for details.
- 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 ... [9s] OK
- checking whether the package can be loaded with stated dependencies ... [9s] OK
- checking whether the package can be unloaded cleanly ... [9s] OK
- checking whether the namespace can be loaded with stated dependencies ... [9s] OK
- checking whether the namespace can be unloaded cleanly ... [8s] OK
- checking loading without being on the library search path ... [9s] OK
- checking whether startup messages can be suppressed ... [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 ... [9s] 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 'atpolR-Ex.R' failed
The error most likely occurred in:
> ### Name: atpol1k
> ### Title: atpol1k creates ATPOL grid 1km x 1km and returns it as sf object
> ### Aliases: atpol1k
>
> ### ** Examples
>
> atpol1k("BE23")
Generating grid for BE230...
Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Warning: [crs<-] Cannot set SRS to vector: empty srs
Error: [project] input crs is not valid
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [17s] ERROR
Error(s) in re-building vignettes:
--- re-building 'atpolR.Rmd' using rmarkdown
Quitting from atpolR.Rmd:74-80 [eriacr-reverse]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/dplyr:::mutate_error>
Error in `stopifnot()`:
ℹ In argument: `a = mapply(function(x) check_atpol_square(x, rc),
centroid)`.
Caused by error in `check_atpol_square()`:
---
Backtrace:
▆
1. ├─dplyr::filter(...)
2. ├─dplyr::mutate(...)
3. ├─sf:::mutate.sf(...)
4. │ └─sf:::.re_sf(NextMethod(), sf_column_name = sf_column_name, agr)
5. │ └─base::stopifnot(...)
6. ├─base::NextMethod()
7. ├─dplyr:::mutate.data.frame(...)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
9. │ ├─base::withCallingHandlers(...)
10. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
11. │ └─mask$eval_all_mutate(quo)
12. │ └─dplyr (local) eval()
13. └─base::mapply(function(x) check_atpol_square(x, rc), centroid)
14. └─`<fn>`(dots[[1L]][[1L]])
15. └─atpolR::check_atpol_square(x, rc)
16. └─base::stop()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'atpolR.Rmd' failed with diagnostics:
ℹ In argument: `a = mapply(function(x) check_atpol_square(x, rc),
centroid)`.
Caused by error in `check_atpol_square()`:
--- failed re-building 'atpolR.Rmd'
SUMMARY: processing the following file failed:
'atpolR.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