Last updated on 2025-04-19 06:49:49 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
kofdata | 1 | 12 | |
panelaggregation | 13 | ||
timeseriesdb | 13 |
Current CRAN status: ERROR: 1, OK: 12
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
Current CRAN status: NOTE: 13
Version: 0.1.1
Check: Rd files
Result: NOTE
checkRd: (-1) btsdemo.Rd:22: Escaped LaTeX specials: \_
checkRd: (-1) btsdemo.Rd:23: Escaped LaTeX specials: \_
checkRd: (-1) btsdemo.Rd:24: Escaped LaTeX specials: \_
checkRd: (-1) btsdemo.Rd:25: Escaped LaTeX specials: \_
checkRd: (-1) btsdemo.Rd:26: Escaped LaTeX specials: \_
checkRd: (-1) btsdemo.Rd:30: Escaped LaTeX specials: \_
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 0.1.1
Check: Rd cross-references
Result: NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
doUniqueCJ.Rd: CJ
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-x86_64
Current CRAN status: NOTE: 13
Version: 1.0.0-1.1.2
Check: Rd files
Result: NOTE
checkRd: (-1) setup_sql_functions.Rd:5: Lost braces; missing escapes or markup?
5 | \title{Install {timeseriesdb} System Functions}
| ^
checkRd: (-1) setup_sql_functions.Rd:17: Lost braces; missing escapes or markup?
17 | Installs functions needed to operated {timeseriesdb} in
| ^
checkRd: (-1) setup_sql_grant_rights.Rd:5: Lost braces; missing escapes or markup?
5 | \title{Grant execute on {timeseriesdb} functions}
| ^
checkRd: (-1) setup_sql_grant_rights.Rd:17: Lost braces; missing escapes or markup?
17 | Grant execute on {timeseriesdb} functions
| ^
checkRd: (-1) setup_sql_tables.Rd:5: Lost braces; missing escapes or markup?
5 | \title{Install {timeseriesdb} System Tables}
| ^
checkRd: (-1) setup_sql_tables.Rd:17: Lost braces; missing escapes or markup?
17 | Installs tables needed to operated {timeseriesdb} in
| ^
checkRd: (-1) setup_sql_triggers.Rd:5: Lost braces; missing escapes or markup?
5 | \title{Install {timeseriesdb} Triggers}
| ^
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64