Running ‘testthat.R’ [3s/88s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check('geoknife')
  Loading required package: geoknife
  
  Attaching package: 'geoknife'
  
  The following object is masked from 'package:stats':
  
      start
  
  The following object is masked from 'package:graphics':
  
      title
  
  The following object is masked from 'package:base':
  
      url
  
  ── 1. Error: query values returns only unique (@test-query_webgeom.R#32)  ──────
  Timeout was reached: [cida.usgs.gov] Connection timed out after 10001 milliseconds
  Backtrace:
    1. testthat::expect_false(...)
    6. geoknife::query(...)
   11. geoknife:::gGET(url)
   12. geoknife:::retryVERB(httr::GET, url, ...)
  
  ── 2. Error: basic XML creation works (@test-whisker_templating.R#18)  ─────────
  Timeout was reached: [cida.usgs.gov] Connection timed out after 10000 milliseconds
  Backtrace:
    1. geoknife::XML(wg, wd, wp)
    2. geoknife::XML(wg, wd, wp)
    3. geoknife:::.setProcessInputs(...)
    5. geoknife:::.DATASET_URI(...)
    6. geoknife:::dodsReplace(url(fabric))
    8. httr::HEAD(uri)
    9. httr:::request_perform(req, hu$handle$handle)
   11. httr:::request_fetch.write_memory(req$output, req$url, handle)
   12. curl::curl_fetch_memory(url, handle = handle)
  
  ── 3. Error: Execute XML creation with two points works (@test-whisker_templatin
  Timeout was reached: [cida.usgs.gov] Connection timed out after 10000 milliseconds
  Backtrace:
    1. geoknife::XML(wg, wd, wp)
    2. geoknife::XML(wg, wd, wp)
    3. geoknife:::.setProcessInputs(...)
    5. geoknife:::.DATASET_URI(...)
    6. geoknife:::dodsReplace(url(fabric))
    8. httr::HEAD(uri)
    9. httr:::request_perform(req, hu$handle$handle)
   11. httr:::request_fetch.write_memory(req$output, req$url, handle)
   12. curl::curl_fetch_memory(url, handle = handle)
  
  ── 4. Error: Execute XML works with no gmlids and multiple variables (@test-whis
  Timeout was reached: [cida.usgs.gov] Connection timed out after 10000 milliseconds
  Backtrace:
    1. geoknife::XML(wg, wd, wp)
    2. geoknife::XML(wg, wd, wp)
    3. geoknife:::.setProcessInputs(...)
    5. geoknife:::.DATASET_URI(...)
    6. geoknife:::dodsReplace(url(fabric))
    8. httr::HEAD(uri)
    9. httr:::request_perform(req, hu$handle$handle)
   11. httr:::request_fetch.write_memory(req$output, req$url, handle)
   12. curl::curl_fetch_memory(url, handle = handle)
  
  ── 5. Error: you can set TAB delimited and get back the right XML (@test-whisker
  Timeout was reached: [cida.usgs.gov] Connection timed out after 10001 milliseconds
  Backtrace:
    1. geoknife::XML(...)
    2. geoknife::XML(...)
    3. geoknife:::.setProcessInputs(...)
    5. geoknife:::.DATASET_URI(...)
    6. geoknife:::dodsReplace(url(fabric))
    8. httr::HEAD(uri)
    9. httr:::request_perform(req, hu$handle$handle)
   11. httr:::request_fetch.write_memory(req$output, req$url, handle)
   12. curl::curl_fetch_memory(url, handle = handle)
  
  ── 6. Error: you can set output_type geotiff and get back the right XML (@test-w
  Timeout was reached: [cida.usgs.gov] Connection timed out after 10001 milliseconds
  Backtrace:
    1. geoknife::XML(...)
    2. geoknife::XML(...)
    3. geoknife:::.setProcessInputs(...)
    5. geoknife:::.DATASET_URI(...)
    6. geoknife:::dodsReplace(url(fabric))
    8. httr::HEAD(uri)
    9. httr:::request_perform(req, hu$handle$handle)
   11. httr:::request_fetch.write_memory(req$output, req$url, handle)
   12. curl::curl_fetch_memory(url, handle = handle)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 65 | SKIPPED: 67 | WARNINGS: 3 | FAILED: 6 ]
  1. Error: query values returns only unique (@test-query_webgeom.R#32) 
  2. Error: basic XML creation works (@test-whisker_templating.R#18) 
  3. Error: Execute XML creation with two points works (@test-whisker_templating.R#31) 
  4. Error: Execute XML works with no gmlids and multiple variables (@test-whisker_templating.R#41) 
  5. Error: you can set TAB delimited and get back the right XML (@test-whisker_templating.R#49) 
  6. Error: you can set output_type geotiff and get back the right XML (@test-whisker_templating.R#57) 
  
  Error: testthat unit tests failed
  Execution halted