CRAN Package Check Results for Package czso

Last updated on 2025-10-05 03:49:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.3 3.58 39.91 43.49 OK
r-devel-linux-x86_64-debian-gcc 0.4.3 2.73 29.43 32.16 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.3 63.40 OK
r-devel-linux-x86_64-fedora-gcc 0.4.3 63.20 OK
r-devel-windows-x86_64 0.4.3 7.00 56.00 63.00 OK
r-patched-linux-x86_64 0.4.3 4.21 36.80 41.01 OK
r-release-linux-x86_64 0.4.3 3.50 36.40 39.90 OK
r-release-macos-arm64 0.4.3 31.00 OK
r-release-macos-x86_64 0.4.3 48.00 OK
r-release-windows-x86_64 0.4.3 6.00 55.00 61.00 OK
r-oldrel-macos-arm64 0.4.3 34.00 OK
r-oldrel-macos-x86_64 0.4.3 55.00 OK
r-oldrel-windows-x86_64 0.4.3 7.00 66.00 73.00 OK

Check Details

Version: 0.4.3
Check: examples
Result: ERROR Running examples in ‘czso-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: czso_filter_catalogue > ### Title: Filter the catalogue using a set of keywords > ### Aliases: czso_filter_catalogue > > ### ** Examples > > ctlg <- czso_get_catalogue() Error in `dplyr::mutate()`: ℹ In argument: `periodicity = dplyr::recode(.data$periodicity, nikdy = "NEVER")`. Caused by error in `.data$periodicity`: ! Column `periodicity` not found in `.data`. Backtrace: ▆ 1. ├─czso::czso_get_catalogue() 2. │ └─... %>% ... 3. ├─dplyr::mutate(...) 4. ├─dplyr:::mutate.data.frame(., periodicity = dplyr::recode(.data$periodicity, nikdy = "NEVER")) 5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 6. │ ├─base::withCallingHandlers(...) 7. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 8. │ └─mask$eval_all_mutate(quo) 9. │ └─dplyr (local) eval() 10. ├─dplyr::recode(.data$periodicity, nikdy = "NEVER") 11. ├─periodicity 12. ├─rlang:::`$.rlang_data_pronoun`(.data, periodicity) 13. │ └─rlang:::data_pronoun_get(...) 14. └─rlang:::abort_data_pronoun(x, call = y) 15. └─rlang::abort(msg, "rlang_error_data_pronoun_not_found", call = call) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.3
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(czso) > > test_check("czso") [ FAIL 5 | WARN 0 | SKIP 2 | PASS 0 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-core.R:4:3', 'test-core.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-catalogue.R:3:3'): catalogue and filter works ────────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `dplyr::mutate(., periodicity = dplyr::recode(.data$periodicity, nikdy = "NEVER"))`: ℹ In argument: `periodicity = dplyr::recode(.data$periodicity, nikdy = "NEVER")`. Caused by error in `.data$periodicity`: ! Column `periodicity` not found in `.data`. ── Failure ('test-workflow-utilities.R:2:3'): schema retrieval works ─────────── Expected `schm <- czso_get_table_schema("340130")` to run without any errors. ℹ Actually got a <simpleError> with text: lexical error: invalid char in json text. <!DOCTYPE html> <html> <head> < (right here) ------^ ── Error ('test-workflow-utilities.R:3:3'): schema retrieval works ───────────── Error in `eval(code, test_env)`: object 'schm' not found Backtrace: ▆ 1. ├─testthat::expect_gte(ncol(schm), 5) at test-workflow-utilities.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::ncol(schm) ── Failure ('test-workflow-utilities.R:8:3'): documentation retrieval works ──── Expected `doc_url <- czso_get_dataset_doc("340130")` to run without any errors. ℹ Actually got a <simpleError> with text: lexical error: invalid char in json text. <!DOCTYPE html> <html> <head> < (right here) ------^ ── Error ('test-workflow-utilities.R:9:3'): documentation retrieval works ────── Error in `eval(code, test_env)`: object 'doc_url' not found Backtrace: ▆ 1. └─testthat::expect_match(doc_url, "https\\:\\/\\/csu") at test-workflow-utilities.R:9:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) [ FAIL 5 | WARN 0 | SKIP 2 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc