* using log directory 'd:/Rcompile/CRANpkg/local/4.5/noegletalR.Rcheck' * using R Under development (unstable) (2025-02-07 r87707 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'noegletalR' can be installed ... OK * checking installed package size ... OK * 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [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 ... [2s] OK * checking Rd files ... [0s] OK * checking Rd metadata ... 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 ... [3s] 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) ``() 17. └─vctrs:::stop_subscript_oob(...) 18. └─vctrs:::stop_subscript(...) 19. └─rlang::abort(...) Execution halted * checking PDF version of manual ... [27s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR, 1 NOTE