CRAN Package Check Results for Package noaaoceans

Last updated on 2022-08-15 08:50:02 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 2.62 35.14 37.76 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 1.59 26.23 27.82 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 54.61 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 52.83 OK
r-devel-windows-x86_64 0.3.0 59.00 73.00 132.00 OK
r-patched-linux-x86_64 0.3.0 2.31 33.76 36.07 OK
r-release-linux-x86_64 0.3.0 2.32 33.34 35.66 ERROR
r-release-macos-arm64 0.3.0 27.00 OK
r-release-macos-x86_64 0.3.0 37.00 OK
r-release-windows-x86_64 0.3.0 85.00 71.00 156.00 OK
r-oldrel-macos-arm64 0.3.0 35.00 OK
r-oldrel-macos-x86_64 0.3.0 44.00 OK
r-oldrel-windows-ix86+x86_64 0.3.0 6.00 61.00 67.00 OK

Check Details

Version: 0.3.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/6s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(noaaoceans)
     >
     > test_check("noaaoceans")
     [ FAIL 12 | WARN 0 | SKIP 10 | PASS 7 ]
    
     ══ 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_502/http_500/http_error/error/condition>
     Error in `query_metadata()`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(query_metadata(), "data.frame") at 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:11:5): Data Frame is Returned for Non Resource Call ──
     <http_502/http_500/http_error/error/condition>
     Error in `query_metadata("9414290")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(query_metadata("9414290"), "data.frame") at test_query_metadata.R:11:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─noaaoceans::query_metadata("9414290")
     5. └─httr::stop_for_status(api_response)
     ── Error (test_query_metadata.R:15:5): Data Frame is Returned for Datums Call ──
     <http_502/http_500/http_error/error/condition>
     Error in `query_metadata("9414290", "datums")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(query_metadata("9414290", "datums"), "data.frame") at 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_502/http_500/http_error/error/condition>
     Error in `query_metadata("1611347", "supersededdatums")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(...) at 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)
     ── Error (test_query_metadata.R:23:5): Data Frame is Returned for harcon Resource Call ──
     <http_502/http_500/http_error/error/condition>
     Error in `query_metadata("1611400", "harcon")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(query_metadata("1611400", "harcon"), "data.frame") at test_query_metadata.R:23:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─noaaoceans::query_metadata("1611400", "harcon")
     5. └─httr::stop_for_status(api_response)
     ── Error (test_query_metadata.R:27:5): Data Frame is Returned for sensors Resource Call ──
     <http_502/http_500/http_error/error/condition>
     Error in `query_metadata("9414290", "sensors")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(query_metadata("9414290", "sensors"), "data.frame") at test_query_metadata.R:27:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─noaaoceans::query_metadata("9414290", "sensors")
     5. └─httr::stop_for_status(api_response)
     ── Error (test_query_metadata.R:31:5): Data Frame is Returned for details Resource Call ──
     <http_502/http_500/http_error/error/condition>
     Error in `query_metadata("9075065", "details")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(query_metadata("9075065", "details"), "data.frame") at test_query_metadata.R:31:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─noaaoceans::query_metadata("9075065", "details")
     5. └─httr::stop_for_status(api_response)
     ── Error (test_query_metadata.R:45:5): Data Frame is Returned for benchmarks Resource Call ──
     <http_502/http_500/http_error/error/condition>
     Error in `query_metadata("9414290", "benchmarks")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(...) at test_query_metadata.R:45:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─noaaoceans::query_metadata("9414290", "benchmarks")
     5. └─httr::stop_for_status(api_response)
     ── Error (test_query_metadata.R:49:5): Data Frame is Returned for tide prediction offset Resource Call ──
     <http_502/http_500/http_error/error/condition>
     Error in `query_metadata("1610367", "tidepredoffsets")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(...) at test_query_metadata.R:49:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─noaaoceans::query_metadata("1610367", "tidepredoffsets")
     5. └─httr::stop_for_status(api_response)
     ── Error (test_query_metadata.R:53:5): Data Frame is Returned for floodlevels Resource Call ──
     <http_502/http_500/http_error/error/condition>
     Error in `query_metadata("1611400", "floodlevels")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(...) at test_query_metadata.R:53:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─noaaoceans::query_metadata("1611400", "floodlevels")
     5. └─httr::stop_for_status(api_response)
     ── Error (test_query_metadata.R:58:5): Data Frame is returned for call with type specified ──
     <http_502/http_500/http_error/error/condition>
     Error in `query_metadata(type = "waterlevels")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(query_metadata(type = "waterlevels"), "data.frame") at test_query_metadata.R:58:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─noaaoceans::query_metadata(type = "waterlevels")
     5. └─httr::stop_for_status(api_response)
     ── Error (test_query_metadata.R:63:5): Data Frame is returned for call with ports specified ──
     <http_502/http_500/http_error/error/condition>
     Error in `query_metadata(ports = "ca")`: Bad Gateway (HTTP 502).
     Backtrace:
     ▆
     1. ├─testthat::expect_is(query_metadata(ports = "ca"), "data.frame") at test_query_metadata.R:63:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─noaaoceans::query_metadata(ports = "ca")
     5. └─httr::stop_for_status(api_response)
    
     [ FAIL 12 | WARN 0 | SKIP 10 | PASS 7 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64