Last updated on 2025-10-07 01:49:03 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
Check: tests
Result: ERROR
Running ‘testthat.R’ [55s/181s]
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")
NULL
trying URL 'https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/wc2-5.zip'
Content type 'application/zip' length 19531044 bytes (18.6 MB)
==================================================
downloaded 18.6 MB
trying URL 'https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/CWD.zip'
Content type 'application/zip' length 15777909 bytes (15.0 MB)
==================================================
downloaded 15.0 MB
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 5.4 MB
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
[ FAIL 1 | WARN 2 | SKIP 10 | PASS 453 ]
══ Skipped tests (10) ══════════════════════════════════════════════════════════
• On CRAN (10): '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-small_function.R:47:3',
'test-subplot_summary.R:36:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-small_function.R:112:3'): Michaelis function ───────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'rast': download from 'https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/E.zip' failed
Backtrace:
▆
1. ├─base::data.frame(H = retrieveH(D, coord = coord)$H, D = D) at test-small_function.R:112:3
2. ├─BIOMASS::retrieveH(D, coord = coord)
3. │ └─BIOMASS::computeE(coord)
4. │ ├─terra::rast(cacheManager("E.bil"))
5. │ └─BIOMASS::cacheManager("E.bil")
6. │ └─utils::download.file(url, dest)
7. └─base::.handleSimpleError(...)
8. └─base (local) h(simpleError(msg, call))
[ FAIL 1 | WARN 2 | SKIP 10 | PASS 453 ]
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-devel-linux-x86_64-fedora-clang