Running 'testthat.R' [329s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(ebvcube)
  > 
  > test_check("ebvcube")
  [ FAIL 3 | WARN 1 | SKIP 0 | PASS 206 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-download.R:12:5'): test ebv_download ID=numeric ────────────────
  Error in `open.connection(con, "rb")`: cannot open the connection to 'https://portal.geobon.org/api/v1/datasets/27'
  Backtrace:
      ▆
   1. └─ebvcube::ebv_download(27, dir, verbose = FALSE) at test-download.R:12:5
   2.   └─jsonlite::fromJSON(json_path)
   3.     └─jsonlite:::parse_and_simplify(...)
   4.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   5.         └─jsonlite:::parse_con(txt, bigint_as_char)
   6.           ├─base::open(con, "rb")
   7.           └─base::open.connection(con, "rb")
  ── Error ('test-download.R:18:5'): test ebv_download ID=doi ────────────────────
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [portal.geobon.org]: SSL/TLS connection timeout
  Backtrace:
      ▆
   1. ├─ebvcube::ebv_download("10.25829/f2rdp4", dir, verbose = FALSE) at test-download.R:18:5
   2. │ └─httr::HEAD(url_id)
   3. │   └─httr:::request_perform(req, hu$handle$handle)
   4. │     ├─httr:::request_fetch(req$output, req$url, handle)
   5. │     └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6. │       └─curl::curl_fetch_memory(url, handle = handle)
   7. └─curl:::raise_libcurl_error(...)
  ── Error ('test-download.R:24:5'): test ebv_download ID=title ──────────────────
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl::curl_download(nc_url, destfile = file.path(outputdir, name_nc), 
      quiet = !verbose)`: Timeout was reached [portal.geobon.org]: SSL/TLS connection timeout
  Backtrace:
      ▆
   1. ├─ebvcube::ebv_download(...) at test-download.R:24:5
   2. │ └─curl::curl_download(...)
   3. └─curl:::raise_libcurl_error(...)
  
  [ FAIL 3 | WARN 1 | SKIP 0 | PASS 206 ]
  Error: Test failures
  Execution halted