Running ‘testthat.R’ [11s/117s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(FedData)
  Loading required package: sp
  > 
  > test_check("FedData")
  ── 1. Error: The GHCN inventory is available at the correct URL (@test.GHCN.R#6)
  Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
  1: expect_false(suppressWarnings(httr::http_error("ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/ghcnd-inventory.txt"))) at testthat/test.GHCN.R:6
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: suppressWarnings(httr::http_error("ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/ghcnd-inventory.txt"))
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  6: httr::http_error("ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/ghcnd-inventory.txt")
  7: http_error.character("ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/ghcnd-inventory.txt")
  8: http_error(HEAD(x, ...))
  9: HEAD(x, ...)
  10: request_perform(req, hu$handle$handle)
  11: request_fetch(req$output, req$url, handle)
  12: request_fetch.write_memory(req$output, req$url, handle)
  13: curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Error: The SSURGO inventory dataset is available at the correct URL (@test
  Timeout was reached: Operation timed out after 10283 milliseconds with 0 out of 0 bytes received
  1: expect_false(suppressWarnings(httr::http_error(url))) at testthat/test.SSURGO.R:8
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: suppressWarnings(httr::http_error(url))
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  6: httr::http_error(url)
  7: http_error.character(url)
  8: http_error(HEAD(x, ...))
  9: HEAD(x, ...)
  10: request_perform(req, hu$handle$handle)
  11: request_fetch(req$output, req$url, handle)
  12: request_fetch.write_memory(req$output, req$url, handle)
  13: curl::curl_fetch_memory(url, handle = handle)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 23 SKIPPED: 0 FAILED: 2
  1. Error: The GHCN inventory is available at the correct URL (@test.GHCN.R#6) 
  2. Error: The SSURGO inventory dataset is available at the correct URL (@test.SSURGO.R#8) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  In if (S3Case) class1 <- class1[[1L]] :
    closing unused connection 4 (ftp://ftp.ncdc.noaa.gov/pub/data/paleo/treering/chronologies/)
  Execution halted