CRAN Package Check Results for Package noaaoceans

Last updated on 2024-05-28 16:48:02 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 2.56 38.11 40.67 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.0 1.79 29.39 31.18 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 51.50 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 65.42 OK
r-devel-windows-x86_64 0.3.0 3.00 58.00 61.00 OK
r-patched-linux-x86_64 0.3.0 2.76 36.12 38.88 OK
r-release-linux-x86_64 0.3.0 1.58 37.30 38.88 OK
r-release-macos-arm64 0.3.0 32.00 OK
r-release-windows-x86_64 0.3.0 3.00 65.00 68.00 OK
r-oldrel-macos-arm64 0.3.0 37.00 OK
r-oldrel-macos-x86_64 0.3.0 45.00 OK
r-oldrel-windows-x86_64 0.3.0 4.00 64.00 68.00 OK

Check Details

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/9s] 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:7:5'): Data Frame is returned for all stations ── Error: lexical error: invalid char in json text. <?xml version="1.0" encoding="U (right here) ------^ Backtrace: ▆ 1. ├─testthat::expect_is(query_metadata(), "data.frame") at test_query_metadata.R:7:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─noaaoceans::query_metadata() 5. └─jsonlite::fromJSON(content, flatten = TRUE, simplifyDataFrame = TRUE) 6. └─jsonlite:::parse_and_simplify(...) 7. └─jsonlite:::parseJSON(txt, bigint_as_char) 8. └─jsonlite:::parse_string(txt, bigint_as_char) [ FAIL 1 | WARN 0 | SKIP 10 | PASS 18 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang