* using log directory 'd:/Rcompile/CRANpkg/local/4.4/ebirdst.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 'ebirdst/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'ebirdst' version '3.2023.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 'ebirdst' 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [1s] 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 ... [6s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [9s] ERROR Running examples in 'ebirdst-Ex.R' failed The error most likely occurred in: > ### Name: assign_to_grid > ### Title: Assign points to a spacetime grid > ### Aliases: assign_to_grid > > ### ** Examples > > set.seed(1) > > # generate some example points > points_xyt <- data.frame(x = runif(100), y = runif(100), t = rnorm(100)) > # assign to grid > cells <- assign_to_grid(points_xyt, res = c(0.1, 0.1, 0.5)) > > # assign a second set of points to the same grid > assign_to_grid(points_xyt, grid_definition = attr(cells, "grid_definition")) # A tibble: 100 × 2 cell_xy cell_xyt 1 4-7 4-7-4 2 5-4 5-4-5 3 7-3 7-3-3 4 10-10 10-10-6 5 3-7 3-7-4 6 10-3 10-3-9 7 10-2 10-2-7 8 8-5 8-5-7 9 7-10 7-10-6 10 2-7 2-7-9 # ℹ 90 more rows > > # assign lon-lat points to a 10km space-only grid > points_ll <- data.frame(longitude = runif(100, min = -180, max = 180), + latitude = runif(100, min = -90, max = 90)) > assign_to_grid(points_ll, res = c(10000, 10000), is_lonlat = TRUE) Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Warning: [vect] Cannot set SRS to vector: empty srs Error: [project] input crs is not valid Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [2s] OK Running 'testthat.R' [2s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [20s] OK * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR