CRAN Package Check Results for Package dbhydroR

Last updated on 2025-07-21 09:49:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2-8 4.65 45.56 50.21 OK
r-devel-linux-x86_64-debian-gcc 0.2-8 3.19 34.87 38.06 OK
r-devel-linux-x86_64-fedora-clang 0.2-8 78.11 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2-8 87.06 ERROR
r-devel-windows-x86_64 0.2-8 6.00 61.00 67.00 OK
r-patched-linux-x86_64 0.2-8 4.59 43.32 47.91 OK
r-release-linux-x86_64 0.2-8 4.23 43.22 47.45 OK
r-release-macos-arm64 0.2-8 43.00 OK
r-release-macos-x86_64 0.2-8 68.00 OK
r-release-windows-x86_64 0.2-8 6.00 64.00 70.00 OK
r-oldrel-macos-arm64 0.2-8 30.00 NOTE
r-oldrel-macos-x86_64 0.2-8 50.00 NOTE
r-oldrel-windows-x86_64 0.2-8 7.00 71.00 78.00 NOTE

Check Details

Version: 0.2-8
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > test_check("dbhydroR") Loading required package: dbhydroR [ FAIL 8 | WARN 3 | SKIP 0 | PASS 4 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-getdbkey.R:5:5'): get_dbkey fails well ─────────────────────── `get_dbkey(stationid = "S152%", category = "GW")` threw an error with unexpected message. Expected match: "No dbkeys found" Actual message: "empty or no content specified" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-getdbkey.R:5:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─dbhydroR::get_dbkey(stationid = "S152%", category = "GW") 7. ├─XML::readHTMLTable(res) 8. └─XML::readHTMLTable(res) 9. └─XML (local) .local(...) 10. └─XML::htmlParse(doc, encoding = encoding) ── Error ('test-getdbkey.R:13:5'): get_dbkey works ───────────────────────────── Error in `htmlParse(doc, encoding = encoding)`: empty or no content specified Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-getdbkey.R:12:3 2. │ └─cassette$call_block(...) 3. └─dbhydroR::get_dbkey(...) at test-getdbkey.R:13:5 4. ├─XML::readHTMLTable(res) 5. └─XML::readHTMLTable(res) 6. └─XML (local) .local(...) 7. └─XML::htmlParse(doc, encoding = encoding) ── Error ('test-gethydro.R:5:5'): get_hydro works ────────────────────────────── Error in `get_hydro(dbkey = "15081", date_min = "2013-01-01", date_max = "2013-02-02")`: No data found Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-gethydro.R:4:3 2. │ └─cassette$call_block(...) 3. └─dbhydroR::get_hydro(...) at test-gethydro.R:5:5 ── Error ('test-gethydro.R:36:5'): get_hydro retrieves dbkeys on-the-fly ─────── Error in `htmlParse(doc, encoding = encoding)`: empty or no content specified Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-gethydro.R:35:3 2. │ └─cassette$call_block(...) 3. └─dbhydroR::get_hydro(...) at test-gethydro.R:36:5 4. └─dbhydroR::get_dbkey(detail.level = "dbkey", ...) 5. ├─XML::readHTMLTable(res) 6. └─XML::readHTMLTable(res) 7. └─XML (local) .local(...) 8. └─XML::htmlParse(doc, encoding = encoding) ── Error ('test-getwq.R:5:3'): get_wq works ──────────────────────────────────── Error in `read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-getwq.R:4:3 2. │ └─cassette$call_block(...) 3. └─dbhydroR::get_wq(...) at test-getwq.R:5:3 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. └─utils::read.csv(...) 7. └─utils::read.table(...) ── Error ('test-getwq.R:14:3'): get_wq fails well ────────────────────────────── Error in `read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-getwq.R:14:3 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─dbhydroR::get_wq(...) 7. ├─base::suppressMessages(...) 8. │ └─base::withCallingHandlers(...) 9. └─utils::read.csv(...) 10. └─utils::read.table(...) ── Error ('test-getwq.R:48:5'): mdl handling occurs when get_wq raw is TRUE ──── Error in `read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-getwq.R:47:3 2. │ └─cassette$call_block(...) 3. └─dbhydroR::get_wq(...) at test-getwq.R:48:5 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. └─utils::read.csv(...) 7. └─utils::read.table(...) ── Error ('test-getwq.R:58:5'): multiple stations return correct num of columns ── Error in `read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-getwq.R:57:3 2. │ └─cassette$call_block(...) 3. ├─base::ncol(...) at test-getwq.R:58:5 4. └─dbhydroR::get_wq(...) 5. ├─base::suppressMessages(...) 6. │ └─base::withCallingHandlers(...) 7. └─utils::read.csv(...) 8. └─utils::read.table(...) [ FAIL 8 | WARN 3 | SKIP 0 | PASS 4 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2-8
Check: LazyData
Result: NOTE 'LazyData' is specified without a 'data' directory Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64