- using R Under development (unstable) (2025-02-15 r87723)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘noegletalR/DESCRIPTION’ ... OK
- this is package ‘noegletalR’ version ‘0.2.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘noegletalR’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking DESCRIPTION meta-information ... 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:
‘noegletal_get.R’ ‘noegletal_tidy.R’ ‘noegletal_vars.R’
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... ERROR
Running examples in ‘noegletalR-Ex.R’ failed
The error most likely occurred in:
> ### Name: noegletal_get
> ### Title: Get data from noegletal.dk
> ### Aliases: noegletal_get
>
> ### ** Examples
>
> noegletal_get(muni_codes = c(101, 155), years = 2018:2024, variable_ids = c(001))
Getting requested data from noegletal.dk ...
Error in `dplyr::select()`:
! Can't select columns past the end.
ℹ Location 1 doesn't exist.
ℹ There are only 0 columns.
Backtrace:
▆
1. ├─noegletalR::noegletal_get(...)
2. │ └─noegletalR:::noegletal_parse_html(...)
3. │ ├─dplyr::select(tibble::as_tibble(data_matrix), -1)
4. │ └─dplyr:::select.data.frame(tibble::as_tibble(data_matrix), -1)
5. │ └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
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:::sel_diff(out, new, vars, error_call = error_call)
14. │ └─tidyselect:::loc_validate(y, vars, call = error_call)
15. │ └─vctrs::vec_as_location(pos, n = length(vars), call = call)
16. └─vctrs (local) `<fn>`()
17. └─vctrs:::stop_subscript_oob(...)
18. └─vctrs:::stop_subscript(...)
19. └─rlang::abort(...)
Execution halted
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE