Running ‘testthat.R’ [13s/112s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(FedData)
  Loading required package: sp
  > 
  > test_check("FedData")
  
  Attaching package: 'curl'
  
  The following object is masked from 'package:httr':
  
      handle_reset
  
  Loading required package: aqp
  This is aqp 1.10
  1. Error: The SSURGO inventory dataset is available at the correct URL (@test.SSURGO.R#8) 
  Timeout was reached: Resolving timed out after 10001 milliseconds
  1: expect_false(suppressWarnings(httr::http_error(url))) at testthat/test.SSURGO.R:8
  2: expect(identical(as.vector(object), FALSE), sprintf("%s isn't false.", lab), info = info)
  3: as.expectation(exp, ..., srcref = srcref)
  4: identical(as.vector(object), FALSE)
  5: as.vector(object)
  6: suppressWarnings(httr::http_error(url))
  7: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  8: httr::http_error(url)
  9: http_error.character(url)
  10: http_error(HEAD(x, ...))
  11: HEAD(x, ...)
  12: request_perform(req, hu$handle$handle)
  13: request_fetch(req$output, req$url, handle)
  14: request_fetch.write_memory(req$output, req$url, handle)
  15: curl::curl_fetch_memory(url, handle = handle)
  
  2. Failure: The SSURGO datasets are available at the correct URL (@test.SSURGO.R#32) 
  suppressWarnings(curl::curl(url) %>% readLines(n = 1)) threw an error.
  Timeout was reached: Operation timed out after 0 milliseconds with 0 out of 0 bytes received
  
  
  
  Attaching package: 'raster'
  
  The following objects are masked from 'package:aqp':
  
      metadata, metadata<-
  
  testthat results ================================================================
  OK: 22 SKIPPED: 0 FAILED: 2
  1. Error: The SSURGO inventory dataset is available at the correct URL (@test.SSURGO.R#8) 
  2. Failure: The SSURGO datasets are available at the correct URL (@test.SSURGO.R#32) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  In if (!identical(r, myObj)) return(r) :
    closing unused connection 3 (ftp://ftp.ncdc.noaa.gov/pub/data/paleo/treering/chronologies/)
  Execution halted