R Under development (unstable) (2025-02-18 r87748 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > 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 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 19.5 MB 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 29.8 MB pj_obj_create: Cannot find proj.db [ FAIL 1 | WARN 2 | SKIP 8 | PASS 446 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-AGBmonteCarlo.R:153:3', 'test-check_coord_plot.R:106:3', 'test-check_coord_plot.R:131:3', 'test-computeAGB.R:44:3', 'test-correctTaxo.R:5:3', 'test-retrieveH.R:36:3', 'test-small_function.R:49:3', 'test-subplot_summary.R:31:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-small_function.R:26:3'): Compute E ───────────────────────────── 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. ├─BIOMASS::computeE(coord) at test-small_function.R:26:3 2. │ ├─terra::rast(cacheManager("E.bil")) 3. │ └─BIOMASS::cacheManager("E.bil") 4. │ └─utils::download.file(url, dest) 5. └─base::.handleSimpleError(...) 6. └─base (local) h(simpleError(msg, call)) [ FAIL 1 | WARN 2 | SKIP 8 | PASS 446 ] Error: Test failures Execution halted