Running 'testthat.R' [31s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(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
  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
  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 21 | SKIP 21 | PASS 189 ]
  
  ══ Skipped tests (21) ══════════════════════════════════════════════════════════
  • On CRAN (21): 'test_00_modelHD.R:15:7', 'test_00_modelHD.R:15:7',
    'test_00_modelHD.R:15:7', 'test_00_modelHD.R:15:7', 'test_00_modelHD.R:15:7',
    'test_00_modelHD.R:15:7', 'test_00_modelHD.R:15:7', 'test_00_modelHD.R:15:7',
    'test_00_modelHD.R:49:3', 'test_00_modelHD.R:57:3', 'test_00_modelHD.R:75:3',
    'test_02_getWoodDensity.R:13:5', 'test_02_getWoodDensity.R:66:5',
    'test_03_AGBmonteCarlo.R:23:3', 'test_03_AGBmonteCarlo.R:104:3',
    'test_03_AGBmonteCarlo.R:128:3', 'test_03_AGBmonteCarlo.R:176:3',
    'test_03_AGBmonteCarlo.R:203:3', 'test_03_AGBmonteCarlo.R:227:3',
    'test_03_AGBmonteCarlo.R:253:3', 'test_03_AGBmonteCarlo.R:280:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_01_small_function.R:117:3'): Michaelis function ────────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "Timeout was reached: [raw.githubusercontent.com] SSL/TLS connection timeout", 
      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), tryCatch(req_perform1(req, path = path, 
              handle = handle), error = function(err) {
              error_cnd("httr2_failed", message = conditionMessage(err), 
                  trace = trace_back())
          }), tryCatchList(expr, classes, parentenv, handlers), 
          tryCatchOne(expr, names, parentenv, handlers[[1L]]), 
          value[[3L]](cond)), parent = c(0L, 0L, 2L, 3L, 3L, 5L, 
      6L, 7L, 8L, 9L), visible = c(TRUE, TRUE, TRUE, TRUE, TRUE, 
      TRUE, TRUE, TRUE, TRUE, TRUE), namespace = c("base", "BIOMASS", 
      "BIOMASS", "terra", "BIOMASS", "httr2", "base", "base", "base", 
      NA), scope = c("::", "::", "::", "::", "::", "::", "::", 
      "local", "local", NA)), row.names = c(NA, -10L), version = 2L, class = c("rlang_trace", 
      "rlib_trace", "tbl", "data.frame")), parent = NULL, call = NULL), class = c("httr2_failed", 
  "rlang_error", "error", "condition")))`: error in evaluating the argument 'x' in selecting a method for function 'rast': Timeout was reached: [raw.githubusercontent.com] SSL/TLS connection timeout
  Backtrace:
       ▆
    1. ├─base::data.frame(H = retrieveH(D, coord = coord)$H, D = D) at test_01_small_function.R:117:2
    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. │       └─rlang::cnd_signal(resp)
    8. │         └─rlang:::signal_abort(cnd)
    9. │           └─base::signalCondition(cnd)
   10. └─base (local) `<fn>`(`<httr2_fl>`)
  
  [ FAIL 1 | WARN 21 | SKIP 21 | PASS 189 ]
  Error: Test failures
  Execution halted