Last updated on 2024-06-03 09:57:11 CEST.
Package | ERROR | OK |
---|---|---|
noaaoceans | 1 | 11 |
Current CRAN status: ERROR: 1, OK: 11
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(noaaoceans)
>
> test_check("noaaoceans")
[ FAIL 1 | WARN 0 | SKIP 10 | PASS 18 ]
══ Skipped tests (10) ══════════════════════════════════════════════════════════
• On CRAN (8): 'test_data_type.R:6:5', 'test_data_type.R:19:5',
'test_data_type.R:29:5', 'test_data_type.R:39:5', 'test_data_type.R:45:5',
'test_station_inventory.R:8:5', 'test_station_inventory.R:13:5',
'test_station_inventory.R:18:5'
• Skipping until I can find a station with a notice (2):
'test_query_metadata.R:35:5', 'test_query_metadata.R:40:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_query_metadata.R:58:5'): Data Frame is returned for call with type specified ──
<http_504/http_500/http_error/error/condition>
Error in `query_metadata(type = "waterlevels")`: Gateway Timeout (HTTP 504).
Backtrace:
▆
1. ├─testthat::expect_is(query_metadata(type = "waterlevels"), "data.frame") at test_query_metadata.R:58:5
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)
[ FAIL 1 | WARN 0 | SKIP 10 | PASS 18 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64