- using R Under development (unstable) (2025-10-01 r88895)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.2
flang version 21.1.2
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘BIOMASS/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘BIOMASS’ version ‘2.2.4’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘BIOMASS’ can be installed ... [52s/66s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [15s/17s] OK
- checking whether the package can be loaded with stated dependencies ... [15s/18s] OK
- checking whether the package can be unloaded cleanly ... [15s/18s] OK
- checking whether the namespace can be loaded with stated dependencies ... [15s/20s] OK
- checking whether the namespace can be unloaded cleanly ... [15s/21s] OK
- checking loading without being on the library search path ... [15s/21s] OK
- checking whether startup messages can be suppressed ... [16s/21s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [75s/96s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [25s/39s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [55s/181s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [98s/125s] OK
- checking PDF version of manual ... [9s/14s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR