CRAN Package Check Results for Maintainer ‘Love Hansson <love.hansson at gmail.com>’

Last updated on 2026-01-18 00:49:10 CET.

Package ERROR NOTE OK
rKolada 1 9 3

Package rKolada

Current CRAN status: ERROR: 1, NOTE: 9, OK: 3

Version: 0.2.3
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘higher_order_metadata.R’ 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

Version: 0.2.3
Check: examples
Result: ERROR Running examples in ‘rKolada-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: kpi_extract_ids > ### Title: Extract a vector of KPI ID strings from a Kolada KPI metadata > ### table > ### Aliases: kpi_extract_ids > > ### ** Examples > > if (kolada_available()) { + # Download Kolada data for the first KPI in the list matching the term "Grundskola" (primary school) + # for the years 2010-2019 + # (omit the parameter "max_results" to actually download all data) + kpi_filter <- get_kpi(max_results = 500) %>% + kpi_search("Grundskola") + + # Only keep the top row + kpi_filter <- kpi_filter[1, ] + + # Only download 100 observations + # (omit the parameter "max_results" to actually download all data) + kld_data <- get_values( + kpi = kpi_extract_ids(kpi_filter), + period = 2010:2019, + max_results = 100 + ) + } No encoding supplied: defaulting to UTF-8. Error in `.data$id`: ! Column `id` not found in `.data`. Backtrace: ▆ 1. ├─rKolada::kolada_available() 2. │ ├─base::suppressWarnings(...) 3. │ │ └─base::withCallingHandlers(...) 4. │ └─rKolada::get_values(...) 5. │ └─... %>% dplyr::rename(year = .data$period) 6. ├─dplyr::rename(., year = .data$period) 7. ├─dplyr::inner_join(...) 8. ├─dplyr:::inner_join.data.frame(...) 9. │ └─dplyr::auto_copy(x, y, copy = copy) 10. │ ├─dplyr::same_src(x, y) 11. │ └─dplyr:::same_src.data.frame(x, y) 12. │ └─base::is.data.frame(y) 13. ├─dplyr::select(...) 14. ├─dplyr:::select.data.frame(...) 15. │ └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call) 16. │ └─tidyselect:::eval_select_impl(...) 17. │ ├─tidyselect:::with_subscript_errors(...) 18. │ │ └─base::withCallingHandlers(...) 19. │ └─tidyselect:::vars_select_eval(...) 20. │ └─tidyselect:::walk_data_tree(expr, data_mask, context_mask) 21. │ └─tidyselect:::eval_c(expr, data_mask, context_mask) 22. │ └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init) 23. │ └─tidyselect:::walk_data_tree(new, data_mask, context_mask) 24. │ └─base::eval(expr, data_mask) 25. │ └─base::eval(expr, data_mask) 26. │ ├─id 27. │ └─rlang:::`$.rlang_data_pronoun`(.data, id) 28. │ └─rlang:::data_pronoun_get(...) 29. └─rlang:::abort_data_pronoun(x, call = y) 30. └─rlang::abort(msg, "rlang_error_data_pronoun_not_found", call = call) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc