Running 'testthat.R' [8s/30s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(soilDB)
  > 
  > 
  > 
  > 
  > test_check("soilDB")
  -- 1. Error: fetchSDA_component() works (@test-fetchSDA_component.R#11)  -------
  
  Invalid query: SHUTDOWN is in progress.
  Login failed for user 'sdawebsql'. Only administrators may connect at this time.
  Backtrace:
   1. base::suppressMessages(fetchSDA_component(WHERE = "nationalmusym = 'kzc4'"))
   3. soilDB::fetchSDA_component(WHERE = "nationalmusym = 'kzc4'")
   4. soilDB::get_component_from_SDA(...)
   5. soilDB::SDA_query(q.component)
  
  -- 2. Failure: fetchSDA_component() returns an SPC (@test-fetchSDA_component.R#2
  idname(x) not equal to "cokey".
  1/1 mismatches
  x[1]: "id"
  y[1]: "cokey"
  
  -- 3. Failure: fetchSDA_component() returns an SPC (@test-fetchSDA_component.R#2
  horizonDepths(x) not equal to c("hzdept_r", "hzdepb_r").
  2/2 mismatches
  x[1]: "top"
  y[1]: "hzdept_r"
  
  x[2]: "bottom"
  y[2]: "hzdepb_r"
  
  -- 4. Failure: fetchSDA_component() returns expected results (@test-fetchSDA_com
  nrow(x) not equal to 10.
  1/1 mismatches
  [1] 11 - 10 == 1
  
  -- 5. Failure: fetchSDA_component() returns expected results (@test-fetchSDA_com
  x$nationalmusym not equal to c("kzc4", "kzc4").
  target is NULL, current is character
  
  -- 6. Failure: fetchSDA_component() returns expected results (@test-fetchSDA_com
  site(x)$nationalmusym not equal to c("kzc4", "kzc4").
  target is NULL, current is character
  
  -- 7. Failure: fetchSDA_component() returns expected results (@test-fetchSDA_com
  site(x)$ecoclassid not equal to c(NA, NA).
  target is NULL, current is logical
  
  == testthat results  ===========================================================
  [ OK: 175 | SKIPPED: 2 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: fetchSDA_component() works (@test-fetchSDA_component.R#11) 
  2. Failure: fetchSDA_component() returns an SPC (@test-fetchSDA_component.R#24) 
  3. Failure: fetchSDA_component() returns an SPC (@test-fetchSDA_component.R#25) 
  4. Failure: fetchSDA_component() returns expected results (@test-fetchSDA_component.R#35) 
  5. Failure: fetchSDA_component() returns expected results (@test-fetchSDA_component.R#38) 
  6. Failure: fetchSDA_component() returns expected results (@test-fetchSDA_component.R#39) 
  7. Failure: fetchSDA_component() returns expected results (@test-fetchSDA_component.R#42) 
  
  Error: testthat unit tests failed
  Execution halted