Last updated on 2025-04-20 09:49:34 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.1 | 2.44 | 27.41 | 29.85 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.2.1 | 1.63 | 21.79 | 23.42 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.2.1 | 47.43 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.1 | 45.49 | OK | |||
r-devel-windows-x86_64 | 0.2.1 | 4.00 | 87.00 | 91.00 | ERROR | |
r-patched-linux-x86_64 | 0.2.1 | 2.60 | 26.94 | 29.54 | OK | |
r-release-linux-x86_64 | 0.2.1 | 2.29 | 26.86 | 29.15 | OK | |
r-release-macos-arm64 | 0.2.1 | 30.00 | OK | |||
r-release-macos-x86_64 | 0.2.1 | 47.00 | OK | |||
r-release-windows-x86_64 | 0.2.1 | 4.00 | 54.00 | 58.00 | OK | |
r-oldrel-macos-arm64 | 0.2.1 | 36.00 | OK | |||
r-oldrel-macos-x86_64 | 0.2.1 | 43.00 | OK | |||
r-oldrel-windows-x86_64 | 0.2.1 | 5.00 | 56.00 | 61.00 | OK |
Version: 0.2.1
Check: examples
Result: ERROR
Running examples in 'kofdata-Ex.R' failed
The error most likely occurred in:
> ### Name: download_cached_file
> ### Title: get_dataset
> ### Aliases: download_cached_file
>
> ### ** Examples
>
> f <- download_cached_file("kofdatapkg", "313984fcd9f343d3961891319b0ed321",
+ "empty.txt",file.path(tempdir(),"empty.txt"))
Error in curl::curl_fetch_disk(url, x$path, handle = handle) :
Timeout was reached [datenservice.kof.ethz.ch]: SSL/TLS connection timeout
Calls: download_cached_file ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.2.1
Check: tests
Result: ERROR
Running 'testthat.R' [27s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(kofdata)
Loading required package: jsonlite
Loading required package: httr
>
> test_check("kofdata")
[ FAIL 2 | WARN 0 | SKIP 6 | PASS 24 ]
══ Skipped tests (6) ═══════════════════════════════════════════════════════════
• nchar(apikey) == 0 is TRUE (6): 'test_get_collection.R:13:3',
'test_get_remaining_quota.R:6:3', 'test_get_time_series.R:13:3',
'test_list_cached_files.R:6:3', 'test_list_collections.R:20:3',
'test_list_keys.R:22:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_get_collection.R:4:3'): get_collection works for public collection ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [datenservice.kof.ethz.ch]: SSL/TLS connection timeout
Backtrace:
▆
1. ├─kofdata::get_collection("baro_vintages_monthly") at test_get_collection.R:4:3
2. │ └─httr::GET(url, query = query)
3. │ └─httr:::request_perform(req, hu$handle$handle)
4. │ ├─httr:::request_fetch(req$output, req$url, handle)
5. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
6. │ └─curl::curl_fetch_memory(url, handle = handle)
7. └─curl:::raise_libcurl_error(...)
── Failure ('test_get_collection.R:23:3'): get_collection errors with invalid set ──
`get_collection("some_nonexistent_set")` threw an error with unexpected message.
Expected match: "The API responded"
Actual message: "Timeout was reached [datenservice.kof.ethz.ch]: SSL/TLS connection timeout"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_get_collection.R:23: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. ├─kofdata::get_collection("some_nonexistent_set")
7. │ └─httr::GET(url, query = query)
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 2 | WARN 0 | SKIP 6 | PASS 24 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64