* using log directory ‘/data/gannet/ripley/R/packages/tests-MKL/osdc.Rcheck’ * using R Under development (unstable) (2025-12-10 r89137) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘osdc/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘osdc’ version ‘0.9.17’ * 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 ‘osdc’ can be installed ... [11s/38s] OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * 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 ... [13s/45s] 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 R/sysdata.rda ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [4s/250s] ERROR Running examples in ‘osdc-Ex.R’ failed The error most likely occurred in: > ### Name: classify_diabetes > ### Title: Classify diabetes status using Danish registers. > ### Aliases: classify_diabetes > > ### ** Examples > > # Can't run this multiple times, will cause an error as the table > # has already been created in the DuckDB connection. > register_data <- registers() |> + names() |> + simulate_registers() |> + purrr::map(duckplyr::as_duckdb_tibble) |> + purrr::map(duckplyr::as_tbl) Error in `purrr::map()`: ℹ In index: 3. Caused by error in `purrr::map()`: ℹ In index: 4. ℹ With name: hovedspeciale_ans. Caused by error in `open.connection()`: ! cannot open the connection Backtrace: ▆ 1. ├─purrr::map(...) 2. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 3. │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 4. ├─purrr::map(simulate_registers(names(registers())), duckplyr::as_duckdb_tibble) 5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 6. │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 7. ├─osdc::simulate_registers(names(registers())) 8. │ ├─rlang::set_names(...) 9. │ ├─purrr::map(...) 10. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 11. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 12. │ ├─purrr::map(...) 13. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 14. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 15. │ ├─purrr::map(...) 16. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 17. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 18. │ ├─purrr::map(...) 19. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 20. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 21. │ └─purrr::map(...) 22. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 23. │ ├─purrr:::with_indexed_errors(...) 24. │ │ └─base::withCallingHandlers(...) 25. │ ├─purrr:::call_with_cleanup(...) 26. │ └─osdc (local) .f(.x[[i]], ...) 27. │ └─osdc:::create_simulated_data(data, n = n) 28. │ ├─purrr::list_cbind(...) 29. │ │ └─purrr:::check_list_of_data_frames(x) 30. │ │ └─vctrs::obj_check_list(x, call = error_call) 31. │ ├─base::unname(...) 32. │ ├─purrr::imap(...) 33. │ │ └─purrr::map2(.x, vec_index(.x), .f, ...) 34. │ │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress) 35. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 36. │ └─purrr::map(...) 37. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 38. │ ├─purrr:::with_indexed_errors(...) 39. │ │ └─base::withCallingHandlers(...) 40. │ ├─purrr:::call_with_cleanup(...) 41. │ └─osdc (local) .f(.x[[i]], ...) 42. │ ├─base::eval(parse(text = .x)) 43. │ │ └─base::eval(parse(text = .x)) 44. │ └─osdc:::create_fake_hovedspeciale_ans(N) 45. │ ├─base::sample(...) 46. │ ├─dplyr::pull(...) 47. │ ├─rvest::html_table(...) 48. │ ├─rvest::html_element(...) 49. │ ├─rvest::read_html("https://www.dst.dk/da/Statistik/dokumentation/Times/forebyggelsesregistret/spec") 50. │ └─xml2:::read_html.default("https://www.dst.dk/da/Statistik/dokumentation/Times/forebyggelsesregistret/spec") 51. │ ├─base::suppressWarnings(...) 52. │ │ └─base::withCallingHandlers(...) 53. │ ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options) 54. │ └─xml2:::read_xml.character(...) 55. │ └─xml2:::read_xml.connection(...) 56. │ ├─base::open(x, "rb") 57. │ └─base::open.connection(x, "rb") 58. └─base::.handleSimpleError(...) 59. └─purrr (local) h(simpleError(msg, call)) 60. └─cli::cli_abort(...) 61. └─rlang::abort(...) Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘spelling.R’ Running ‘testthat.R’ [0m/12m] [0m/12m] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(osdc) > > test_check("osdc") Saving _problems/test-classify-as-duckdb-3.R Saving _problems/test-classify-diabetes-3.R Saving _problems/test-classify-variable-casing-7.R The duckplyr package is configured to fall back to dplyr when it encounters an incompatibility. Fallback events can be collected and uploaded for analysis to guide future development. By default, data will be collected but no data will be uploaded. i Automatic fallback uploading is not controlled and therefore disabled, see `?duckplyr::fallback()`. v Number of reports ready for upload: 2. > Review with `duckplyr::fallback_review()`, upload with `duckplyr::fallback_upload()`. i Configure automatic uploading with `duckplyr::fallback_config()`. [ FAIL 3 | WARN 0 | SKIP 0 | PASS 41 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-classify-as-duckdb.R:2:3'): data must be a DuckDB object ─────── Error in `purrr::map(simulation_definitions_list, function(data) create_simulated_data(data, n = n))`: i In index: 3. Caused by error in `purrr::map()`: i In index: 4. i With name: hovedspeciale_ans. Caused by error in `open.connection()`: ! cannot open the connection ── Error ('test-classify-diabetes.R:1:1'): (code run outside of `test_that()`) ── Error in `purrr::map(simulation_definitions_list, function(data) create_simulated_data(data, n = n))`: i In index: 3. Caused by error in `purrr::map()`: i In index: 4. i With name: hovedspeciale_ans. Caused by error in `open.connection()`: ! cannot open the connection ── Error ('test-classify-variable-casing.R:2:3'): casing of input variables doesn't matter ── Error in `purrr::map(simulation_definitions_list, function(data) create_simulated_data(data, n = n))`: i In index: 3. Caused by error in `purrr::map()`: i In index: 4. i With name: hovedspeciale_ans. Caused by error in `open.connection()`: ! cannot open the connection [ FAIL 3 | WARN 0 | SKIP 0 | PASS 41 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1m/11m] ERROR Error(s) in re-building vignettes: --- re-building ‘algorithm.qmd’ using html  processing file: algorithm.qmd output file: algorithm.knit.md pandoc  to: html output-file: algorithm.html standalone: true embed-resources: true wrap: none default-image-extension: png css: - >- /data/gannet/ripley/R/test-dev/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css variables: {} metadata document-css: false lang: en minimal: true theme: none knitr: opts_chunk: collapse: true comment: '#>' title: Algorithm bibliography: - references.bib csl: vancouver.csl vignette: | %\VignetteIndexEntry{Algorithm} %\VignetteEngine{quarto::html} %\VignetteEncoding{UTF-8} Output created: algorithm.html --- finished re-building ‘algorithm.qmd’ --- re-building ‘changes.qmd’ using html pandoc  to: html output-file: changes.html standalone: true embed-resources: true wrap: none default-image-extension: png css: - >- /data/gannet/ripley/R/test-dev/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css variables: {} metadata document-css: false lang: en minimal: true theme: none knitr: opts_chunk: collapse: true comment: '#>' title: Changes from original vignette: | %\VignetteIndexEntry{Changes from original} %\VignetteEngine{quarto::html} %\VignetteEncoding{UTF-8} Output created: changes.html --- finished re-building ‘changes.qmd’ --- re-building ‘data-sources.qmd’ using html  processing file: data-sources.qmd output file: data-sources.knit.md pandoc  to: html output-file: data-sources.html standalone: true embed-resources: true wrap: none default-image-extension: png css: - >- /data/gannet/ripley/R/test-dev/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css variables: {} metadata document-css: false lang: en minimal: true theme: none knitr: opts_chunk: collapse: true comment: '#>' title: Data sources vignette: | %\VignetteIndexEntry{Data sources} %\VignetteEngine{quarto::html} %\VignetteEncoding{UTF-8} Output created: data-sources.html --- finished re-building ‘data-sources.qmd’ --- re-building ‘design.qmd’ using html  processing file: design.qmd output file: design.knit.md pandoc  to: html output-file: design.html standalone: true embed-resources: true wrap: none default-image-extension: png css: - >- /data/gannet/ripley/R/test-dev/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css variables: {} metadata document-css: false lang: en minimal: true theme: none knitr: opts_chunk: collapse: true comment: '#>' title: Design vignette: | %\VignetteIndexEntry{Design} %\VignetteEngine{quarto::html} %\VignetteEncoding{UTF-8} Output created: design.html --- finished re-building ‘design.qmd’ --- re-building ‘function-flow.qmd’ using html pandoc  to: html output-file: function-flow.html standalone: true embed-resources: true wrap: none default-image-extension: png css: - >- /data/gannet/ripley/R/test-dev/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css variables: {} metadata document-css: false lang: en minimal: true theme: none knitr: opts_chunk: collapse: true comment: '#>' title: Internal function flow vignette: | %\VignetteIndexEntry{Internal function flow} %\VignetteEngine{quarto::html} %\VignetteEncoding{UTF-8} Output created: function-flow.html --- finished re-building ‘function-flow.qmd’ --- re-building ‘osdc.qmd’ using html  processing file: osdc.qmd Error in `purrr::map()`: ℹ In index: 3. Caused by error in `purrr::map()`: ℹ In index: 4. ℹ With name: hovedspeciale_ans. Caused by error in `open.connection()`: ! cannot open the connection Backtrace: ▆ 1. ├─purrr::map(...) 2. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 3. │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 4. ├─purrr::map(simulate_registers(names(registers())), duckplyr::as_duckdb_tibble) 5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 6. │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 7. ├─osdc::simulate_registers(names(registers())) 8. │ ├─rlang::set_names(...) 9. │ ├─purrr::map(...) 10. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 11. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 12. │ ├─purrr::map(...) 13. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 14. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 15. │ ├─purrr::map(...) 16. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 17. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 18. │ ├─purrr::map(...) 19. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 20. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 21. │ └─purrr::map(...) 22. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 23. │ ├─purrr:::with_indexed_errors(...) 24. │ │ └─base::withCallingHandlers(...) 25. │ ├─purrr:::call_with_cleanup(...) 26. │ └─osdc (local) .f(.x[[i]], ...) 27. │ └─osdc:::create_simulated_data(data, n = n) 28. │ ├─purrr::list_cbind(...) 29. │ │ └─purrr:::check_list_of_data_frames(x) 30. │ │ └─vctrs::obj_check_list(x, call = error_call) 31. │ ├─base::unname(...) 32. │ ├─purrr::imap(...) 33. │ │ └─purrr::map2(.x, vec_index(.x), .f, ...) 34. │ │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress) 35. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 36. │ └─purrr::map(...) 37. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 38. │ ├─purrr:::with_indexed_errors(...) 39. │ │ └─base::withCallingHandlers(...) 40. │ ├─purrr:::call_with_cleanup(...) 41. │ └─osdc (local) .f(.x[[i]], ...) 42. │ ├─base::eval(parse(text = .x)) 43. │ │ └─base::eval(parse(text = .x)) 44. │ └─osdc:::create_fake_hovedspeciale_ans(N) 45. │ ├─base::sample(...) 46. │ ├─dplyr::pull(...) 47. │ ├─rvest::html_table(...) 48. │ ├─rvest::html_element(...) 49. │ ├─rvest::read_html("https://www.dst.dk/da/Statistik/dokumentation/Times/forebyggelsesregistret/spec") 50. │ └─xml2:::read_html.default("https://www.dst.dk/da/Statistik/dokumentation/Times/forebyggelsesregistret/spec") 51. │ ├─base::suppressWarnings(...) 52. │ │ └─base::withCallingHandlers(...) 53. │ ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options) 54. │ └─xml2:::read_xml.character(...) 55. │ └─xml2:::read_xml.connection(...) 56. │ ├─base::open(x, "rb") 57. │ └─base::open.connection(x, "rb") 58. └─base::.handleSimpleError(...) 59. └─purrr (local) h(simpleError(msg, call)) 60. └─cli::cli_abort(...) 61. └─rlang::abort(...)  Quitting from osdc.qmd:60-73 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Execution halted Error: processing vignette 'osdc.qmd' failed with diagnostics: ! Error running quarto CLI from R. Caused by error in `quarto_render()`: ✖ Error returned by quarto CLI. ----------------------------- processing file: osdc.qmd Error in `purrr::map()`: ℹ In index: 3. Caused by error in `purrr::map()`: ℹ In index: 4. ℹ With name: hovedspeciale_ans. Caused by error in `open.connection()`: ! cannot open the connection Backtrace: ▆ 1. ├─purrr::map(...) 2. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 3. │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 4. ├─purrr::map(simulate_registers(names(registers())), duckplyr::as_duckdb_tibble) 5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 6. │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 7. ├─osdc::simulate_registers(names(registers())) 8. │ ├─rlang::set_names(...) 9. │ ├─purrr::map(...) 10. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 11. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 12. │ ├─purrr::map(...) 13. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 14. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 15. │ ├─purrr::map(...) 16. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 17. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 18. │ ├─purrr::map(...) 19. │ │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 20. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 21. │ └─purrr::map(...) 22. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 23. │ ├─purrr:::with_indexed_errors(...) 24. │ │ └─base::withCallingHandlers(...) 25. │ ├─purrr:::call_with_cleanup(...) 26. │ └─osdc (local) .f(.x[[i]], ...) 27. │ └─osdc:::create_simulated_data(data, n = n) 28. │ ├─purrr::list_cbind(...) 29. │ │ └─purrr:::check_list_of_data_frames(x) 30. │ │ └─vctrs::obj_check_list(x, call = error_call) 31. │ ├─base::unname(...) 32. │ ├─purrr::imap(...) 33. │ │ └─purrr::map2(.x, vec_index(.x), .f, ...) 34. │ │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress) 35. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 36. │ └─purrr::map(...) 37. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 38. │ ├─purrr:::with_indexed_errors(...) 39. │ │ └─base::withCallingHandlers(...) 40. │ ├─purrr:::call_with_cleanup(...) 41. │ └─osdc (local) .f(.x[[i]], ...) 42. │ ├─base::eval(parse(text = .x)) 43. │ │ └─base::eval(parse(text = .x)) 44. │ └─osdc:::create_fake_hovedspeciale_ans(N) 45. │ ├─base::sample(...) 46. │ ├─dplyr::pull(...) 47. │ ├─rvest::html_table(...) 48. │ ├─rvest::html_element(...) 49. │ ├─rvest::read_html("https://www.dst.dk/da/Statistik/dokumentation/Times/forebyggelsesregistret/spec") 50. │ └─xml2:::read_html.default("https://www.dst.dk/da/Statistik/dokumentation/Times/forebyggelsesregistret/spec") 51. │ ├─base::suppressWarnings(...) 52. │ │ └─base::withCallingHandlers(...) 53. │ ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options) 54. │ └─xml2:::read_xml.character(...) 55. │ └─xml2:::read_xml.connection(...) 56. │ ├─base::open(x, "rb") 57. │ └─base::open.connection(x, "rb") 58. └─base::.handleSimpleError(...) 59. └─purrr (local) h(simpleError(msg, call)) 60. └─cli::cli_abort(...) 61. └─rlang::abort(...) Quitting from osdc.qmd:60-73 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Execution halted Caused by error: ! System command 'quarto' failed --- failed re-building ‘osdc.qmd’ --- re-building ‘rationale.qmd’ using html pandoc  to: html output-file: rationale.html standalone: true embed-resources: true wrap: none default-image-extension: png css: - >- /data/gannet/ripley/R/test-dev/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css variables: {} metadata document-css: false lang: en minimal: true theme: none knitr: opts_chunk: collapse: true comment: '#>' title: Rationale bibliography: - references.bib csl: vancouver.csl vignette: | %\VignetteIndexEntry{Rationale} %\VignetteEngine{quarto::html} %\VignetteEncoding{UTF-8} Output created: rationale.html --- finished re-building ‘rationale.qmd’ SUMMARY: processing the following file failed: ‘osdc.qmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [11s/46s] OK * checking HTML version of manual ... [5s/24s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 3 ERRORs See ‘/data/gannet/ripley/R/packages/tests-MKL/osdc.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 33:41.65, 183.32 + 21.99