Last updated on 2025-07-29 21:51:45 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
ads | 6 | 7 | |
BIOMASS | 1 | 12 |
Current CRAN status: NOTE: 6, OK: 7
Version: 1.5-10
Check: Rd cross-references
Result: NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
kdfun.Rd: divc
krfun.Rd: divc
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-x86_64
Current CRAN status: ERROR: 1, OK: 12
Version: 2.2.4
Flags: --no-vignettes
Check: tests
Result: ERROR
Running 'testthat.R' [32s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(BIOMASS)
For more information on using BIOMASS, visit https://umr-amap.github.io/BIOMASS
Using temporary cache
It is recommended to use a permanent cache to avoid to re-download files on each session.
See function createCache() or BIOMASS.cache option.
>
> test_check("BIOMASS")
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
NULL
trying URL 'https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/E.zip'
Content type 'application/zip' length 31208287 bytes (29.8 MB)
==================================================
downloaded 29.8 MB
pj_obj_create: Cannot find proj.db
[ FAIL 1 | WARN 0 | SKIP 9 | PASS 452 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• On CRAN (9): 'test-AGBmonteCarlo.R:153:3', 'test-check_coord_plot.R:106:3',
'test-check_coord_plot.R:131:3', 'test-computeAGB.R:43:3',
'test-correctTaxo.R:5:3', 'test-modelHD.R:120:3', 'test-retrieveH.R:36:3',
'test-small_function.R:22:3', 'test-subplot_summary.R:36:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-small_function.R:42:3'): getBioclimParam ───────────────────────
Error in `methods::as(x, "SpatRaster")`: no method or default for coercing "NULL" to "SpatRaster"
Backtrace:
▆
1. └─BIOMASS::getBioclimParam(coord) at test-small_function.R:42:3
2. ├─terra::rast(cacheManager("bio4.bil"))
3. └─terra::rast(cacheManager("bio4.bil"))
4. └─methods::as(x, "SpatRaster")
[ FAIL 1 | WARN 0 | SKIP 9 | PASS 452 ]
Deleting unused snapshots:
• check_coord_plot/check-plot-201-rast-prop.svg
• check_coord_plot/check-plot-201-trust-f.svg
• check_coord_plot/check-plot-204.svg
• subplot_summary/subplot-summary-multiple-metrics-204.svg
• subplot_summary/subplot-summary-multiple-plot-201.svg
• subplot_summary/subplot-summary-multiple-plot-204.svg
• subplot_summary/subplot-summary-proj-coords.svg
• subplot_summary/subplot-summary-quantile.svg
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64