Running 'testthat.R' [75s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(argoFloats)
  > 
  > test_check("argoFloats")
  Error in curl::curl_download(url = url[iurl], destfile = destfileTemp,  : 
    Timeout was reached: [] Failed to connect to data-argo.ifremer.fr port 443 after 10008 ms: Timeout was reached
  Error in curl::curl_download(url = url[iurl], destfile = destfileTemp,  : 
    Timeout was reached: [] Failed to connect to usgodae.org port 21 after 10012 ms: Timeout was reached
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 183 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test_download.R:38:15', 'test_download.R:90:15'
  • hasArgoTestCache() is not TRUE (1): 'test_subset.R:84:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_download.R:10:15'): getIndex() ─────────────────────────────────
  Error in `getIndex(filename = "argo_bio-profile_index.txt.gz", quiet = TRUE, 
      destdir = tempFile)`:   could not download index from these servers:
  'https://data-argo.ifremer.fr/argo_bio-profile_index.txt.gz'
  'ftp://usgodae.org/pub/outgoing/argo/argo_bio-profile_index.txt.gz'
  Backtrace:
      ▆
   1. ├─testthat::expect_silent(...) at test_download.R:10:15
   2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ ├─withr::with_output_sink(...)
   5. │   │ │ └─base::force(code)
   6. │   │ ├─base::withCallingHandlers(...)
   7. │   │ └─base::withVisible(code)
   8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   9. └─argoFloats::getIndex(...)
  ── Failure ('test_download.R:23:15'): getProfiles() ────────────────────────────
  p[["cycle"]] not equal to c("124", "125", "126").
  3/3 mismatches
  x[1]: NA
  y[1]: "124"
  
  x[2]: NA
  y[2]: "125"
  
  x[3]: NA
  y[3]: "126"
  
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 183 ]
  Error: Test failures
  Execution halted