CRAN Package Check Results for Maintainer ‘Alexander Klug <kluga at students.uni-marburg.de>’

Last updated on 2025-12-07 07:50:34 CET.

Package ERROR OK
climodr 2 11

Package climodr

Current CRAN status: ERROR: 2, OK: 11

Version: 1.0.0
Check: package dependencies
Result: ERROR Package required but not available: ‘lares’ Packages suggested but not available for checking: 'knitr', 'rmarkdown' VignetteBuilder package required for checking but not installed: ‘knitr’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-devel-linux-x86_64-debian-gcc

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_05_01_50_00_7414\RtmpC0tddJ. > > # 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