Last updated on 2025-09-04 01:48:38 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2.2.4 | 25.43 | 352.75 | 378.18 | OK | |
r-devel-linux-x86_64-debian-gcc | 2.2.4 | 18.43 | 216.41 | 234.84 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 2.2.4 | 619.28 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 2.2.4 | 576.01 | OK | |||
r-devel-windows-x86_64 | 2.2.4 | 28.00 | 242.00 | 270.00 | OK | --no-vignettes |
r-patched-linux-x86_64 | 2.2.4 | 25.44 | 326.53 | 351.97 | OK | |
r-release-linux-x86_64 | 2.2.4 | 26.75 | 321.78 | 348.53 | OK | |
r-release-macos-arm64 | 2.2.4 | 92.00 | OK | |||
r-release-macos-x86_64 | 2.2.4 | 362.00 | OK | |||
r-release-windows-x86_64 | 2.2.4 | 29.00 | 245.00 | 274.00 | OK | --no-vignettes |
r-oldrel-macos-arm64 | 2.2.4 | 161.00 | OK | |||
r-oldrel-macos-x86_64 | 2.2.4 | 342.00 | OK | |||
r-oldrel-windows-x86_64 | 2.2.4 | 41.00 | 319.00 | 360.00 | OK | --no-vignettes |
Version: 2.2.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [20s/113s]
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
[ 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]:\nResolving 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/wc2-5.zip",
method = NULL, headers = list(), body = NULL, fields = list(),
options = list(), policies = list(error_is_error = function (response)
FALSE), state = <environment>), 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]:
Resolving timed out after 10000 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) `<fn>`(`<httr2_fl>`)
── 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]:\nResolving timed out after 10001 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 = <environment>), 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]:
Resolving timed out after 10001 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) `<fn>`(`<httr2_fl>`)
── 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]:\nResolving 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 = <environment>), 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]:
Resolving 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) `<fn>`(`<httr2_fl>`)
[ 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
Flavor: r-devel-linux-x86_64-debian-gcc