Last updated on 2025-12-04 07:51:47 CET.
| Package | ERROR | OK |
|---|---|---|
| CMIP6VisR | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in 'CMIP6VisR-Ex.R' failed
The error most likely occurred in:
> ### Name: cv_clip_basin
> ### Title: Get zones and areas that clip rasters from a given basin polygon
> ### Aliases: cv_clip_basin
>
> ### ** Examples
>
> {
+ library(terra)
+ az_raster <- cv_zone_area_raster()
+ fpath <- system.file("extdata", "07BF001.shp", package = "CMIP6VisR")
+ basin_vector <- vect(fpath)
+ basin_areas <- cv_clip_basin(az_raster, basin_vector)
+ }
terra 1.8.86
Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Error: [rast] empty srs
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'vignette_CMIP6VisR.Rmd' using rmarkdown
Quitting from vignette_CMIP6VisR.Rmd:86-94 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! [rast] empty srs
---
Backtrace:
▆
1. └─CMIP6VisR::cv_zone_area_raster()
2. ├─terra::rast(zone_grid_df, type = "xyz", crs = "epsg:4326")
3. └─terra::rast(zone_grid_df, type = "xyz", crs = "epsg:4326")
4. └─terra (local) .local(x, ...)
5. └─terra:::.rastFromXYZ(x, crs = crs, digits = digits, extent = extent)
6. ├─terra::rast(...)
7. └─terra::rast(...)
8. └─terra (local) .local(x = x, ...)
9. └─terra:::new_rast(...)
10. └─terra:::messages(r, "rast")
11. └─terra:::error(f, x@pntr$getError())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vignette_CMIP6VisR.Rmd' failed with diagnostics:
[rast] empty srs
--- failed re-building 'vignette_CMIP6VisR.Rmd'
SUMMARY: processing the following file failed:
'vignette_CMIP6VisR.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.