Last updated on 2025-12-04 09:50:20 CET.
| Package | ERROR | OK |
|---|---|---|
| phyloregion | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.9
Check: examples
Result: ERROR
Running examples in 'phyloregion-Ex.R' failed
The error most likely occurred in:
> ### Name: rast2comm
> ### Title: Convert raw input distribution data to community
> ### Aliases: rast2comm polys2comm points2comm
>
> ### ** Examples
>
>
>
> library(terra)
terra 1.8.86
> s <- vect(system.file("ex/nigeria.json", package="phyloregion"))
> set.seed(1)
> m <- as.data.frame(spatSample(s, 1000, method = "random"),
+ geom = "XY")[-1]
> names(m) <- c("lon", "lat")
> species <- paste0("sp", sample(1:100))
> m$taxon <- sample(species, size = nrow(m), replace = TRUE)
>
> pt <- points2comm(dat = m, res = 0.5) # This generates a list of two objects
Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Warning: [crs<-] Cannot set raster SRS: empty srs
Error: [project] output crs is not valid
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 1.0.9
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'Benchmark.Rmd' using rmarkdown
--- finished re-building 'Benchmark.Rmd'
--- re-building 'ed.Rmd' using rmarkdown
--- finished re-building 'ed.Rmd'
--- re-building 'phyloregion-intro.Rmd' using rmarkdown
Quitting from phyloregion-intro.Rmd:74-87 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! [project] output crs is not valid
---
Backtrace:
▆
1. └─phyloregion::points2comm(...)
2. ├─base::suppressWarnings(invisible(project(m, "epsg:4326")))
3. │ └─base::withCallingHandlers(...)
4. ├─terra::project(m, "epsg:4326")
5. └─terra::project(m, "epsg:4326")
6. └─terra (local) .local(x, ...)
7. └─terra:::messages(x, "project")
8. └─terra:::error(f, x@pntr$getError())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'phyloregion-intro.Rmd' failed with diagnostics:
[project] output crs is not valid
--- failed re-building 'phyloregion-intro.Rmd'
SUMMARY: processing the following file failed:
'phyloregion-intro.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.