Last updated on 2025-02-27 02:50:56 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.3 | 3.12 | 43.63 | 46.75 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.2.3 | 2.48 | 36.09 | 38.57 | NOTE | |
r-devel-linux-x86_64-fedora-clang | 0.2.3 | 81.55 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.3 | 87.42 | NOTE | |||
r-devel-macos-arm64 | 0.2.3 | 69.00 | OK | |||
r-devel-macos-x86_64 | 0.2.3 | 84.00 | NOTE | |||
r-devel-windows-x86_64 | 0.2.3 | 5.00 | 83.00 | 88.00 | NOTE | |
r-patched-linux-x86_64 | 0.2.3 | 3.60 | 43.46 | 47.06 | OK | |
r-release-linux-x86_64 | 0.2.3 | 3.57 | 43.38 | 46.95 | OK | |
r-release-macos-arm64 | 0.2.3 | 59.00 | OK | |||
r-release-macos-x86_64 | 0.2.3 | 99.00 | OK | |||
r-release-windows-x86_64 | 0.2.3 | 6.00 | 79.00 | 85.00 | OK | |
r-oldrel-macos-arm64 | 0.2.3 | OK | ||||
r-oldrel-macos-x86_64 | 0.2.3 | 99.00 | OK | |||
r-oldrel-windows-x86_64 | 0.2.3 | 7.00 | 86.00 | 93.00 | OK |
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-macos-x86_64, r-devel-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: get_values
> ### Title: Get data from Kolada
> ### Aliases: get_values
>
> ### ** Examples
>
> # Download data for KPIs for Gross Regional Product ("BRP" in Swedish)
> # for three municipalities
> if (kolada_available()) {
+
+ # If you already know the ID numbers you are looking for,
+ # you can use these directly as argments.
+ # Otherwise, use the get_\*() functions in combination with \*_search()
+ # functions to find good parameter values.
+ grp_data <- get_values(
+ kpi = c("N03700", "N03701"),
+ municipality = c("0180", "1480", "1280")
+ )
+
+ # To download OU data instead of Municipality data, set the parameter
+ # "unit_type" to "ou".
+ ou_data <- get_values(
+ kpi = "N15033",
+ ou = "V15E144001101",
+ unit_type = "ou"
+ )
+ }
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
Error in `dplyr::mutate()`:
ℹ In argument: `municipality_id = .data$municipality`.
Caused by error in `.data$municipality`:
! Column `municipality` not found in `.data`.
Backtrace:
▆
1. ├─rKolada::get_values(kpi = "N15033", ou = "V15E144001101", unit_type = "ou")
2. │ └─rKolada::get_ou(id = unique(ret$ou), verbose = FALSE)
3. │ └─... %>% ...
4. ├─dplyr::select(., .data$id, .data$title, .data$municipality, .data$municipality_id)
5. ├─dplyr::mutate(...)
6. ├─dplyr:::mutate.data.frame(...)
7. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
8. │ ├─base::withCallingHandlers(...)
9. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
10. │ └─mask$eval_all_mutate(quo)
11. │ └─dplyr (local) eval()
12. ├─municipality
13. ├─rlang:::`$.rlang_data_pronoun`(.data, municipality)
14. │ └─rlang:::data_pronoun_get(...)
15. └─rlang:::abort_data_pronoun(x, call = y)
16. └─rlang::abort(msg, "rlang_error_data_pronoun_not_found", call = call)
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang