Running ‘testthat.R’ [13s/174s]
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")
  Error in open.connection(con, "rb") : 
    Timeout was reached: Resolving timed out after 10000 milliseconds
  Error in open.connection(con, "rb") : 
    Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
  ── 1. Failure: fetchOSD() returns an SPC (@test-fetchOSD.R#19)  ────────────────
  class\(x\) does not match "SoilProfileCollection".
  Actual value: "NULL"
  
  ── 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. Error: fetchOSD() returns reasonable data (@test-fetchOSD.R#34)  ─────────
  unable to find an inherited method for function 'site' for signature '"NULL"'
  1: expect_equal(nrow(site(x)) == 2, TRUE) at testthat/test-fetchOSD.R:34
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: nrow(site(x))
  5: site(x)
  6: (function (classes, fdef, mtable) 
     {
         methods <- .findInheritedMethods(classes, fdef, mtable)
         if (length(methods) == 1L) 
             return(methods[[1L]])
         else if (length(methods) == 0L) {
             cnames <- paste0("\"", vapply(classes, as.character, ""), "\"", collapse = ", ")
             stop(gettextf("unable to find an inherited method for function %s for signature %s", 
                 sQuote(fdef@generic), sQuote(cnames)), domain = NA)
         }
         else stop("Internal error in finding inherited methods; didn't return a unique method", 
             domain = NA)
     })(list("NULL"), new("standardGeneric", .Data = function (object, ...) 
     standardGeneric("site"), generic = structure("site", package = "aqp"), package = "aqp", 
         group = list(), valueClass = character(0), signature = "object", default = NULL, 
         skeleton = (function (object, ...) 
         stop("invalid call in method dispatch to 'site' (no default method)", domain = NA))(object, 
             ...)), <environment>)
  7: stop(gettextf("unable to find an inherited method for function %s for signature %s", 
         sQuote(fdef@generic), sQuote(cnames)), domain = NA)
  
  ── 5. Failure: fetchOSD() returns reasonable data in extended mode (@test-fetchO
  names(x.extended) not equal to c(...).
  target is NULL, current is character
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 134 | SKIPPED: 2 | WARNINGS: 0 | FAILED: 5 ]
  1. Failure: fetchOSD() returns an SPC (@test-fetchOSD.R#19) 
  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. Error: fetchOSD() returns reasonable data (@test-fetchOSD.R#34) 
  5. Failure: fetchOSD() returns reasonable data in extended mode (@test-fetchOSD.R#44) 
  
  Error: testthat unit tests failed
  Execution halted