Last updated on 2025-12-04 09:50:26 CET.
| Package | ERROR | OK |
|---|---|---|
| climodr | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in 'climodr-Ex.R' failed
The error most likely occurred in:
> ### Name: calc.indices
> ### Title: Calculate spectral indices
> ### Aliases: calc.indices
>
> ### ** Examples
>
> #create climodr environment and allow terra-functions to use 70% of RAM
> envrmt <- envi.create(proj_path = tempdir(),
+ memfrac = 0.7)
Succesfully created an environment in D:\temp\2025_12_03_01_50_00_178\Rtmp0CfGoL.
>
> # Load the climodr example data into the current climodr environment
> clim.sample(envrmt = envrmt)
Loading example data for the climodr example..
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 'climodr.Rmd' using rmarkdown
Quitting from climodr.Rmd:97-109 [setup env]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! [rast] empty srs
---
Backtrace:
▆
1. └─climodr::clim.sample(envrmt = envrmt)
2. ├─terra::unwrap(res_area)
3. └─terra::unwrap(res_area)
4. └─terra (local) .local(x, ...)
5. ├─base::eval(parse(text = x@definition))
6. │ └─base::eval(parse(text = x@definition))
7. ├─terra::rast(...)
8. └─terra::rast(...)
9. └─terra (local) .local(x = x, ...)
10. └─terra:::new_rast(...)
11. └─terra:::messages(r, "rast")
12. └─terra:::error(f, x@pntr$getError())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'climodr.Rmd' failed with diagnostics:
[rast] empty srs
--- failed re-building 'climodr.Rmd'
SUMMARY: processing the following file failed:
'climodr.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.