Running 'testthat.R' [97s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(noaaoceans)
  > 
  > test_check("noaaoceans")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (8)
  • Skipping until I can find a station with a notice (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_query_metadata.R:7:5): Data Frame is returned for all stations ──
  <http_504/http_500/http_error/error/condition>
  Error in `query_metadata()`: Gateway Timeout (HTTP 504).
  Backtrace:
      █
   1. ├─testthat::expect_is(query_metadata(), "data.frame") test_query_metadata.R:7:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─noaaoceans::query_metadata()
   5.   └─httr::stop_for_status(api_response)
  ── Error (test_query_metadata.R:15:5): Data Frame is Returned for Datums Call ──
  <http_504/http_500/http_error/error/condition>
  Error in `query_metadata("9414290", "datums")`: Gateway Timeout (HTTP 504).
  Backtrace:
      █
   1. ├─testthat::expect_is(query_metadata("9414290", "datums"), "data.frame") test_query_metadata.R:15:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─noaaoceans::query_metadata("9414290", "datums")
   5.   └─httr::stop_for_status(api_response)
  ── Error (test_query_metadata.R:19:5): Data Frame is Returned for Superseded datums Resource Call ──
  <http_504/http_500/http_error/error/condition>
  Error in `query_metadata("1611347", "supersededdatums")`: Gateway Timeout (HTTP 504).
  Backtrace:
      █
   1. ├─testthat::expect_is(...) test_query_metadata.R:19:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─noaaoceans::query_metadata("1611347", "supersededdatums")
   5.   └─httr::stop_for_status(api_response)
  
  [ FAIL 3 | WARN 0 | SKIP 10 | PASS 16 ]
  Error: Test failures
  Execution halted