Last updated on 2026-02-07 09:50:10 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| rfieldclimate | 13 | ||
| rzentra | 1 | 3 | 9 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, NOTE: 3, OK: 9
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rzentra)
>
> test_check("rzentra")
Saving _problems/test-zc_readings-6.R
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 5 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• token == "" is TRUE (7): 'test-parser.R:3:1', 'test-zc_readings.R:7:3',
'test-zc_readings.R:12:1', 'test-zc_settings.R:7:3',
'test-zc_settings.R:13:1', 'test-zc_statuses.R:7:3',
'test-zc_statuses.R:13:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-zc_readings.R:5:3'): zc_statuses returns errors ──────────────
`zc_readings(token = "aaa", sn = "z6-00033")` threw an error with unexpected message.
Expected match: "Invalid token."
Actual message: "Timeout was reached [zentracloud.com]:\nConnection timed out after 10004 milliseconds"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-zc_readings.R:5:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─rzentra::zc_readings(token = "aaa", sn = "z6-00033")
7. │ └─httr::GET(...)
8. │ └─httr:::request_perform(req, hu$handle$handle)
9. │ ├─httr:::request_fetch(req$output, req$url, handle)
10. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
11. │ └─curl::curl_fetch_memory(url, handle = handle)
12. └─curl:::raise_libcurl_error(...)
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 5 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
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