Last updated on 2025-12-03 05:50:46 CET.
| Package | ERROR | OK |
|---|---|---|
| divvy | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.1
Check: examples
Result: 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
Flavor: r-oldrel-windows-x86_64
Version: 1.0.1
Check: tests
Result: ERROR
Running 'testthat.R' [98s]
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
Flavor: r-oldrel-windows-x86_64
Version: 1.0.1
Check: re-building of vignette outputs
Result: 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/rlang_error>
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
Flavor: r-oldrel-windows-x86_64