Running ‘testthat.R’ [10s/141s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(soilDB)
  Loading required package: aqp
  This is aqp 1.17
  
  Attaching package: 'aqp'
  
  The following object is masked from 'package:base':
  
      union
  
  > 
  > 
  > 
  > 
  > test_check("soilDB")
  ── 1. Error: (unknown) (@test-SDA_query.R#7)  ──────────────────────────────────
  Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
  1: suppressMessages(SDA_query(q = "SELECT areasymbol, saverest FROM sacatalog WHERE areasymbol = 'CA630' ; ")) at testthat/test-SDA_query.R:7
  2: withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
  3: SDA_query(q = "SELECT areasymbol, saverest FROM sacatalog WHERE areasymbol = 'CA630' ; ")
  4: httr::POST(url = "https://sdmdataaccess.sc.egov.usda.gov/tabular/post.rest", body = httr::upload_file(tf))
  5: request_perform(req, hu$handle$handle)
  6: request_fetch(req$output, req$url, handle)
  7: request_fetch.write_memory(req$output, req$url, handle)
  8: curl::curl_fetch_memory(url, handle = handle)
  
  Error in open.connection(con, "rb") : 
    Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
  ── 2. Failure: fetchOSD() returns a list + SPC in extended mode (@test-fetchOSD.
  class\(x\.extended\) does not match "list".
  Actual value: "NULL"
  
  ── 3. Failure: fetchOSD() returns a list + SPC in extended mode (@test-fetchOSD.
  class\(x\.extended\$SPC\) does not match "SoilProfileCollection".
  Actual value: "NULL"
  
  ── 4. Failure: fetchOSD() returns reasonable data in extended mode (@test-fetchO
  names(x.extended) not equal to c(...).
  target is NULL, current is character
  
  ── 5. Failure: siblings() returns reasonable data (@test-siblings.R#26)  ───────
  names(x$sib) not equal to c("series", "sibling", "n").
  Lengths differ: 4 is not 3
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 103 SKIPPED: 2 FAILED: 5
  1. Error: (unknown) (@test-SDA_query.R#7) 
  2. Failure: fetchOSD() returns a list + SPC in extended mode (@test-fetchOSD.R#26) 
  3. Failure: fetchOSD() returns a list + SPC in extended mode (@test-fetchOSD.R#27) 
  4. Failure: fetchOSD() returns reasonable data in extended mode (@test-fetchOSD.R#44) 
  5. Failure: siblings() returns reasonable data (@test-siblings.R#26) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  In cmpSym(e, cb, cntxt, missingOK) :
    closing unused connection 5 (/tmp/RtmpYYa4oU/file5c772465789d)
  Execution halted