* using log directory ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/noegletalR.Rcheck’
* using R Under development (unstable) (2025-02-23 r87804)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    Debian clang version 19.1.7 (1+b1)
    Debian flang-new version 19.1.7 (1+b1)
* running under: Debian GNU/Linux trixie/sid
* using session charset: UTF-8
* 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 serialization versions ... OK
* checking whether package ‘noegletalR’ can be installed ... OK
See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/noegletalR-00install.html' for details.
* checking package directory ... OK
* checking for future file timestamps ... 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 ... [0s/1s] OK
* checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
* checking whether the package can be unloaded cleanly ... [0s/1s] OK
* checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
* checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
* checking loading without being on the library search path ... [0s/1s] 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 ... [4s/6s] OK
* checking Rd files ... [0s/0s] 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 ... [2s/5s] ERROR
Running examples in ‘noegletalR-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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 ... [5s/7s] OK
* checking HTML version of manual ... [0s/0s] OK
* checking for non-standard things in the check directory ... OK
* DONE
Status: 1 ERROR, 1 NOTE