Last updated on 2024-05-03 22:53:38 CEST.
Package | ERROR | OK |
---|---|---|
ARDECO | 1 | 11 |
Current CRAN status: ERROR: 1, OK: 11
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in 'ARDECO-Ex.R' failed
The error most likely occurred in:
> ### Name: ARDECO packages
> ### Title: ARDECO packages
> ### Aliases: 'ARDECO packages'
>
> ### ** Examples
>
> ardeco_get_variable_list()
# A tibble: 45 × 2
code description
<chr> <chr>
1 RNLHW "Hours Worked (employees)"
2 RNLHTE "Hours worked per employed person"
3 RNLCN "Active Population - Civilian Labour Force"
4 SOVGZ "GVA at constant prices by industry (10 NACE sectors)"
5 RNLHWH "Hours worked (ratio of employees hw to employed persons hw)"
6 PVGZ "GVA price indices by industry (implicit deflators, national, 2015=1…
7 SNETD "Total Employment (workplace based, employed persons)"
8 RUWCDW "Nominal compensation per employee"
9 RUWCDHH "Nominal unit labour cost based on hours worked"
10 RUWCDWE " Nominal unit labour cost based on persons"
# ℹ 35 more rows
> ardeco_get_dataset_list('SNPTN')
Error in `rename()`:
ℹ In argument: `all_of(lookup)`.
Caused by error in `all_of()`:
! Can't subset elements that don't exist.
✖ Elements `variableCode`, `unit`, `sector`, and `nutsVersion` don't exist.
Backtrace:
▆
1. ├─ARDECO::ardeco_get_dataset_list("SNPTN")
2. │ ├─dplyr::rename(dataset_list, all_of(lookup))
3. │ └─dplyr:::rename.data.frame(dataset_list, all_of(lookup))
4. │ └─tidyselect::eval_rename(expr(c(...)), .data)
5. │ └─tidyselect:::rename_impl(...)
6. │ └─tidyselect:::eval_select_impl(...)
7. │ ├─tidyselect:::with_subscript_errors(...)
8. │ │ └─base::withCallingHandlers(...)
9. │ └─tidyselect:::vars_select_eval(...)
10. │ └─tidyselect:::walk_data_tree(expr, data_mask, context_mask)
11. │ └─tidyselect:::eval_c(expr, data_mask, context_mask)
12. │ └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
13. │ └─tidyselect:::walk_data_tree(new, data_mask, context_mask)
14. │ └─tidyselect:::eval_context(expr, context_mask, call = error_call)
15. │ ├─tidyselect:::with_chained_errors(...)
16. │ │ └─base::withCallingHandlers(...)
17. │ └─rlang::eval_tidy(as_quosure(expr, env), context_mask)
18. ├─tidyselect::all_of(lookup)
19. │ └─tidyselect:::as_indices_impl(x, vars = vars, strict = TRUE)
20. │ └─tidyselect:::chr_as_locations(x, vars, call = call, arg = arg)
21. │ └─vctrs::vec_as_location(...)
22. └─vctrs (local) `<fn>`()
23. └─vctrs:::stop_subscript_oob(...)
24. └─vctrs:::stop_subscript(...)
25. └─rlang::abort(...)
Execution halted
Flavor: r-release-windows-x86_64