* using log directory 'd:/Rcompile/CRANpkg/local/4.5/BIOMASS.Rcheck' * using R version 4.5.1 (2025-06-13 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * using option '--no-vignettes' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'BIOMASS' can be installed ... OK * 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 ... [7s] OK * checking whether the package can be loaded with stated dependencies ... [6s] OK * checking whether the package can be unloaded cleanly ... [7s] OK * checking whether the namespace can be loaded with stated dependencies ... [6s] OK * checking whether the namespace can be unloaded cleanly ... [6s] OK * checking loading without being on the library search path ... [6s] OK * checking whether startup messages can be suppressed ... [7s] 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 ... [18s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [1s] 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 ... [17s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [50s] ERROR Running 'testthat.R' [50s] 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 pj_obj_create: Cannot find proj.db [ FAIL 3 | WARN 0 | SKIP 9 | PASS 450 ] ══ 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 `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "Failed to perform HTTP request.", trace = structure(list(call = list(getBioclimParam(coord), rast(cacheManager("bio4.bil")), cacheManager("bio4.bil"), httr2::req_perform(req), handle_resp(req, resp, error_call = error_call), cnd_signal(resp)), parent = c(0L, 1L, 1L, 3L, 4L, 5L), visible = c(TRUE, TRUE, TRUE, TRUE, FALSE, FALSE), namespace = c("BIOMASS", "terra", "BIOMASS", "httr2", "httr2", "rlang"), scope = c("::", "::", "::", "::", ":::", "::")), row.names = c(NA, -6L ), version = 2L, class = c("rlang_trace", "rlib_trace", "tbl", "data.frame")), parent = structure(list(message = "Timeout was reached [github.com]:\nConnection timed out after 10004 milliseconds", call = curl::curl_fetch_memory(url, handle)), class = c("curl_error_operation_timedout", "curl_error", "error", "condition")), call = httr2::req_perform(req), request = structure(list(url = "https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/wc2-5.zip", method = NULL, headers = list(), body = NULL, fields = list(), options = list(), policies = list(error_is_error = function (response) FALSE), state = ), class = "httr2_request")), class = c("httr2_failure", "httr2_error", "rlang_error", "error", "condition")))`: error in evaluating the argument 'x' in selecting a method for function 'rast': Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [github.com]: Connection timed out after 10004 milliseconds Backtrace: ▆ 1. ├─BIOMASS::getBioclimParam(coord) at test-small_function.R:42:3 2. │ ├─terra::rast(cacheManager("bio4.bil")) 3. │ └─BIOMASS::cacheManager("bio4.bil") 4. │ └─httr2::req_perform(req) 5. │ └─httr2:::handle_resp(req, resp, error_call = error_call) 6. │ └─rlang::cnd_signal(resp) 7. │ └─rlang:::signal_abort(cnd) 8. │ └─base::signalCondition(cnd) 9. └─base (local) ``(``) ── Error ('test-small_function.R:112:3'): Michaelis function ─────────────────── Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "Failed to perform HTTP request.", trace = structure(list(call = list(data.frame(H = retrieveH(D, coord = coord)$H, D = D), retrieveH(D, coord = coord), computeE(coord), rast(cacheManager("E.bil")), cacheManager("E.bil"), httr2::req_perform(req), handle_resp(req, resp, error_call = error_call), cnd_signal(resp)), parent = c(0L, 0L, 2L, 3L, 3L, 5L, 6L, 7L), visible = c(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, FALSE, FALSE), namespace = c("base", "BIOMASS", "BIOMASS", "terra", "BIOMASS", "httr2", "httr2", "rlang"), scope = c("::", "::", "::", "::", "::", "::", ":::", "::")), row.names = c(NA, -8L), version = 2L, class = c("rlang_trace", "rlib_trace", "tbl", "data.frame")), parent = structure(list(message = "Timeout was reached [github.com]:\nConnection timed out after 10014 milliseconds", call = curl::curl_fetch_memory(url, handle)), class = c("curl_error_operation_timedout", "curl_error", "error", "condition")), call = httr2::req_perform(req), request = structure(list(url = "https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/E.zip", method = NULL, headers = list(), body = NULL, fields = list(), options = list(), policies = list(error_is_error = function (response) FALSE), state = ), class = "httr2_request")), class = c("httr2_failure", "httr2_error", "rlang_error", "error", "condition")))`: error in evaluating the argument 'x' in selecting a method for function 'rast': Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [github.com]: Connection timed out after 10014 milliseconds 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. │ └─httr2::req_perform(req) 7. │ └─httr2:::handle_resp(req, resp, error_call = error_call) 8. │ └─rlang::cnd_signal(resp) 9. │ └─rlang:::signal_abort(cnd) 10. │ └─base::signalCondition(cnd) 11. └─base (local) ``(``) ── Error ('test-small_function.R:123:3'): Weibull function ───────────────────── Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "Failed to perform HTTP request.", trace = structure(list(call = list(data.frame(H = retrieveH(D, coord = coord)$H, D = D), retrieveH(D, coord = coord), computeE(coord), rast(cacheManager("E.bil")), cacheManager("E.bil"), httr2::req_perform(req), handle_resp(req, resp, error_call = error_call), cnd_signal(resp)), parent = c(0L, 0L, 2L, 3L, 3L, 5L, 6L, 7L), visible = c(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, FALSE, FALSE), namespace = c("base", "BIOMASS", "BIOMASS", "terra", "BIOMASS", "httr2", "httr2", "rlang"), scope = c("::", "::", "::", "::", "::", "::", ":::", "::")), row.names = c(NA, -8L), version = 2L, class = c("rlang_trace", "rlib_trace", "tbl", "data.frame")), parent = structure(list(message = "Timeout was reached [github.com]:\nConnection timed out after 10000 milliseconds", call = curl::curl_fetch_memory(url, handle)), class = c("curl_error_operation_timedout", "curl_error", "error", "condition")), call = httr2::req_perform(req), request = structure(list(url = "https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/E.zip", method = NULL, headers = list(), body = NULL, fields = list(), options = list(), policies = list(error_is_error = function (response) FALSE), state = ), class = "httr2_request")), class = c("httr2_failure", "httr2_error", "rlang_error", "error", "condition")))`: error in evaluating the argument 'x' in selecting a method for function 'rast': Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [github.com]: Connection timed out after 10000 milliseconds Backtrace: ▆ 1. ├─base::data.frame(H = retrieveH(D, coord = coord)$H, D = D) at test-small_function.R:123:3 2. ├─BIOMASS::retrieveH(D, coord = coord) 3. │ └─BIOMASS::computeE(coord) 4. │ ├─terra::rast(cacheManager("E.bil")) 5. │ └─BIOMASS::cacheManager("E.bil") 6. │ └─httr2::req_perform(req) 7. │ └─httr2:::handle_resp(req, resp, error_call = error_call) 8. │ └─rlang::cnd_signal(resp) 9. │ └─rlang:::signal_abort(cnd) 10. │ └─base::signalCondition(cnd) 11. └─base (local) ``(``) [ FAIL 3 | WARN 0 | SKIP 9 | PASS 450 ] 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 running R code from vignettes ... SKIPPED * checking re-building of vignette outputs ... SKIPPED * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR