CRAN Package Check Results for Maintainer ‘Matthias Bannert <bannert at kof.ethz.ch>’

Last updated on 2025-11-21 12:50:16 CET.

Package ERROR NOTE OK
kofdata 1 12
timeseriesdb 13

Package kofdata

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: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: get_collection > ### Title: Download Pre-Defined collection > ### Aliases: get_collection > > ### ** Examples > > get_collection("ds_kmi_mixed_freq",show_progress = TRUE) Downloading: 96 B Downloading: 96 B Downloading: 96 B Downloading: 96 B Error: Please install xml2 package Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/4s] 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") Saving _problems/test_get_collection-4.R Saving _problems/test_get_collection-23.R Saving _problems/test_get_metadata-6.R Saving _problems/test_get_metadata-12.R Saving _problems/test_get_metadata-16.R Saving _problems/test_get_time_series-4.R Saving _problems/test_get_time_series-24.R Saving _problems/test_list_collections-4.R Saving _problems/test_list_keys-5.R [ FAIL 9 | WARN 0 | SKIP 6 | PASS 6 ] ══ 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 ── Error: Please install xml2 package Backtrace: ▆ 1. └─kofdata::get_collection("baro_vintages_monthly") at test_get_collection.R:4:3 2. └─kofdata:::validate_response(response) 3. └─httr::content(response) 4. └─httr:::parse_auto(raw, type, encoding, ...) 5. └─httr (local) parser(x = content, type = type, encoding = encoding, ...) 6. └─httr:::need_package("xml2") ── 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: "Please install xml2 package" 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. └─kofdata:::validate_response(response) 8. └─httr::content(response) 9. └─httr:::parse_auto(raw, type, encoding, ...) 10. └─httr (local) parser(x = content, type = type, encoding = encoding, ...) 11. └─httr:::need_package("xml2") ── Error ('test_get_metadata.R:4:3'): get_metadata works ─────────────────────── Error: lexical error: invalid char in json text. <html> <head><title>404 Not Fo (right here) ------^ Backtrace: ▆ 1. └─kofdata::get_metadata(...) at test_get_metadata.R:4:3 2. └─jsonlite::fromJSON(content(response, as = "text")) 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_get_metadata.R:12:3'): get_metadata returns NA for nonexistent keys ── Error: lexical error: invalid char in json text. <html> <head><title>404 Not Fo (right here) ------^ Backtrace: ▆ 1. ├─testthat::expect_true(is.na(get_metadata("nokey")[["nokey"]])) at test_get_metadata.R:12:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─kofdata::get_metadata("nokey") 5. └─jsonlite::fromJSON(content(response, as = "text")) 6. └─jsonlite:::parse_and_simplify(...) 7. └─jsonlite:::parseJSON(txt, bigint_as_char) 8. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_get_metadata.R:16:3'): get_metadata returns a list ───────────── Error: lexical error: invalid char in json text. <html> <head><title>404 Not Fo (right here) ------^ Backtrace: ▆ 1. ├─testthat::expect_is(...) at test_get_metadata.R:16:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─kofdata::get_metadata("ch.kof.inu.ng08.fx.sector_kof.cm.q_ql_chg_price_sales_p3m.share_eq") 5. └─jsonlite::fromJSON(content(response, as = "text")) 6. └─jsonlite:::parse_and_simplify(...) 7. └─jsonlite:::parseJSON(txt, bigint_as_char) 8. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_get_time_series.R:4:3'): get_time_series works for public series ── Error: Please install xml2 package Backtrace: ▆ 1. └─kofdata::get_time_series("kofbarometer", show_progress = F) at test_get_time_series.R:4:3 2. └─kofdata:::validate_response(response) 3. └─httr::content(response) 4. └─httr:::parse_auto(raw, type, encoding, ...) 5. └─httr (local) parser(x = content, type = type, encoding = encoding, ...) 6. └─httr:::need_package("xml2") ── Failure ('test_get_time_series.R:24:3'): get_time_series errors on invalid key ── `get_time_series("some_nonexistent_key", show_progress = F)` threw an error with unexpected message. Expected match: "The API responded" Actual message: "Please install xml2 package" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_get_time_series.R:24: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_time_series("some_nonexistent_key", show_progress = F) 7. └─kofdata:::validate_response(response) 8. └─httr::content(response) 9. └─httr:::parse_auto(raw, type, encoding, ...) 10. └─httr (local) parser(x = content, type = type, encoding = encoding, ...) 11. └─httr:::need_package("xml2") ── Error ('test_list_collections.R:4:3'): list_available_collections works ───── Error in `list_available_collections()`: An error occurred when calling the api: Status: 404 Content:<html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx</center> </body> </html> Backtrace: ▆ 1. └─kofdata::list_available_collections() at test_list_collections.R:4:3 ── Error ('test_list_keys.R:5:3'): list_keys_in_collection works ─────────────── Error in `list_available_collections()`: An error occurred when calling the api: Status: 404 Content:<html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx</center> </body> </html> Backtrace: ▆ 1. └─kofdata::list_available_collections() at test_list_keys.R:5:3 [ FAIL 9 | WARN 0 | SKIP 6 | PASS 6 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Package timeseriesdb

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