* using log directory 'd:/Rcompile/CRANpkg/local/4.4/divvy.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 'divvy/DESCRIPTION' ... OK * this is package 'divvy' version '1.0.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 'divvy' 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 ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [0s] 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 ... [4s] 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 ... [7s] ERROR Running examples in 'divvy-Ex.R' failed The error most likely occurred in: > ### Name: bandit > ### Title: Rarefy localities within latitudinal bands > ### Aliases: bandit > > ### ** Examples > > # load bivalve occurrences to rasterise > library(terra) terra 1.8.86 > data(bivalves) > > # initialise Equal Earth projected coordinates > rWorld <- rast() > prj <- 'EPSG:8857' > rPrj <- project(rWorld, prj, res = 200000) # 200,000m is approximately 2 degrees Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Warning: [project] Cannot set raster SRS: empty srs Error: [project] cannot get output boundaries for the target crs Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [98s] ERROR Running 'testthat.R' [97s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(divvy) > > test_check("divvy") Saving _problems/test_calc_eco_variables-32.R Saving _problems/test_subsample-50.R [ FAIL 2 | WARN 6 | SKIP 0 | PASS 28 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_calc_eco_variables.R:32:1'): (code run outside of `test_that()`) ── Error: [project] cannot get output boundaries for the target crs Backtrace: ▆ 1. ├─terra::project(rWorld, prj, res = 2e+05) at test_calc_eco_variables.R:32:1 2. └─terra::project(rWorld, prj, res = 2e+05) 3. └─terra (local) .local(x, ...) 4. ├─terra::project(rast(x), y) 5. └─terra::project(rast(x), y) 6. └─terra (local) .local(x, ...) 7. └─terra:::messages(x, "project") 8. └─terra:::error(f, x@pntr$getError()) ── Error ('test_subsample.R:50:1'): (code run outside of `test_that()`) ──────── Error: [project] cannot get output boundaries for the target crs Backtrace: ▆ 1. ├─terra::project(rWorld, prj, res = 2e+05) at test_subsample.R:50:1 2. └─terra::project(rWorld, prj, res = 2e+05) 3. └─terra (local) .local(x, ...) 4. ├─terra::project(rast(x), y) 5. └─terra::project(rast(x), y) 6. └─terra (local) .local(x, ...) 7. └─terra:::messages(x, "project") 8. └─terra:::error(f, x@pntr$getError()) [ FAIL 2 | WARN 6 | SKIP 0 | PASS 28 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [16s] ERROR Error(s) in re-building vignettes: --- re-building 'habitat-rangesize-case-study.Rmd' using rmarkdown --- finished re-building 'habitat-rangesize-case-study.Rmd' --- re-building 'subsampling-vignette.Rmd' using rmarkdown Quitting from subsampling-vignette.Rmd:84-100 [rasterise] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! [project] cannot get output boundaries for the target crs --- Backtrace: ▆ 1. ├─terra::project(rWorld, prj, res = 2e+05) 2. └─terra::project(rWorld, prj, res = 2e+05) 3. └─terra (local) .local(x, ...) 4. ├─terra::project(rast(x), y) 5. └─terra::project(rast(x), y) 6. └─terra (local) .local(x, ...) 7. └─terra:::messages(x, "project") 8. └─terra:::error(f, x@pntr$getError()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'subsampling-vignette.Rmd' failed with diagnostics: [project] cannot get output boundaries for the target crs --- failed re-building 'subsampling-vignette.Rmd' SUMMARY: processing the following file failed: 'subsampling-vignette.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 3 ERRORs