CRAN Package Check Results for Package dawaR

Last updated on 2025-12-07 07:49:40 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 5.47 72.03 77.50 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 3.97 38.51 42.48 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.1 11.00 108.74 119.74 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 127.93 OK
r-devel-windows-x86_64 0.3.1 8.00 181.00 189.00 OK
r-patched-linux-x86_64 0.3.1 5.39 62.89 68.28 ERROR
r-release-linux-x86_64 0.3.1 4.47 65.83 70.30 OK
r-release-macos-arm64 0.3.0 3.00 68.00 71.00 OK
r-release-macos-x86_64 0.3.1 5.00 132.00 137.00 OK
r-release-windows-x86_64 0.3.1 7.00 161.00 168.00 OK
r-oldrel-macos-arm64 0.3.1 1.00 76.00 77.00 OK
r-oldrel-macos-x86_64 0.3.1 5.00 146.00 151.00 OK
r-oldrel-windows-x86_64 0.3.1 13.00 125.00 138.00 OK

Check Details

Version: 0.3.1
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'knitr', 'rmarkdown', 'pkgdown', 'devtools', 'vcr' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/3s] 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(dawaR) ## {dawaR} provides data from the Danish Agency of Climate Data ## Terms and conditions apply. ## Read more at: https://dawadocs.dataforsyningen.dk/dok/om#vilkaar > > test_check("dawaR") Starting 2 test processes. Error: ! testthat subprocess failed to start. ## {dawaR} provides data from the Danish Agency of Climate Data ## Terms and conditions apply. ## Read more at: https://dawadocs.dataforsyningen.dk/dok/om#vilkaar Error in `source_dir()`: ! Failed to evaluate './helper-vcr.R'. Caused by error in `library()`: ! there is no package called 'vcr' Backtrace: ▆ 1. ├─global callr_startup_hook() 2. │ └─asNamespace("testthat")$queue_process_setup(...) 3. │ └─asNamespace("testthat")$test_files_setup_state(...) 4. │ └─testthat::source_test_helpers(".", env) 5. │ └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE) 6. │ └─base::lapply(...) 7. │ └─testthat (local) FUN(X[[i]], ...) 8. │ └─testthat::source_file(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::eval(exprs, env) 11. │ └─base::eval(exprs, env) 12. │ └─base::library("vcr") at ./helper-vcr.R:1:1 13. │ └─base::stop(packageNotFoundError(package, lib.loc, sys.call())) 14. └─testthat (local) `<fn>`(`<pckgNtFE>`) 15. └─cli::cli_abort(...) 16. └─rlang::abort(...) Ran 4/4 deferred expressions Error in deferred_run(env) : could not find function "deferred_run" Calls: <Anonymous> Backtrace: ▆ 1. └─testthat::test_check("dawaR") 2. └─testthat::test_dir(...) 3. └─testthat:::test_files(...) 4. └─testthat:::test_files_parallel(...) 5. ├─withr::with_dir(...) 6. │ └─base::force(code) 7. ├─testthat::with_reporter(...) 8. │ └─base::tryCatch(...) 9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. └─testthat:::parallel_event_loop_chunky(queue, reporters, ".") 13. └─queue$poll(Inf) 14. └─base::lapply(...) 15. └─testthat (local) FUN(X[[i]], ...) 16. └─private$handle_error(msg, i) 17. └─cli::cli_abort(...) 18. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.1
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/11s] 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(dawaR) ## {dawaR} provides data from the Danish Agency of Climate Data ## Terms and conditions apply. ## Read more at: https://dawadocs.dataforsyningen.dk/dok/om#vilkaar > > test_check("dawaR") Starting 2 test processes. > test-base_api.R: ! You do not have access to api.dataforsyningen.dk. > test-base_api.R: Please check your connection settings. > test-get_data.R: ! You do not have access to api.dataforsyningen.dk. > test-get_data.R: Please check your connection settings. > test-get_data.R: ! You do not have access to api.dataforsyningen.dk. > test-get_data.R: Please check your connection settings. > test-get_data.R: ! You do not have access to api.dataforsyningen.dk. > test-get_data.R: Please check your connection settings. > test-base_api.R: ! You do not have access to api.dataforsyningen.dk. > test-base_api.R: Please check your connection settings. Saving _problems/test-get_data-31.R Saving _problems/test-get_data-32.R Saving _problems/test-get_data-33.R Saving _problems/test-base_api-3.R Saving _problems/test-base_api-4.R [ FAIL 5 | WARN 0 | SKIP 49 | PASS 6 ] ══ Skipped tests (49) ══════════════════════════════════════════════════════════ • On CRAN (49): 'test-1-dawa-sections.R:2:3', 'test-3-get_map_data-sections.R:3:3', 'test-2-get_data-sections.R:2:3', 'test-autocomplete.R:2:3', 'test-autocomplete.R:8:3', 'test-autocomplete.R:14:3', 'test-autocomplete.R:20:3', 'test-autocomplete.R:26:3', 'test-autocomplete.R:32:3', 'test-autocomplete.R:38:3', 'test-autocomplete.R:44:3', 'test-autocomplete.R:50:3', 'test-autocomplete.R:56:3', 'test-autocomplete.R:62:3', 'test-autocomplete.R:68:3', 'test-autocomplete.R:74:3', 'test-autocomplete.R:80:3', 'test-autocomplete.R:86:3', 'test-autocomplete.R:92:3', 'test-afstemningsomraader.R:2:3', 'test-afstemningsomraader.R:8:3', 'test-afstemningsomraader.R:18:3', 'test-afstemningsomraader.R:28:3', 'test-afstemningsomraader.R:34:3', 'test-afstemningsomraader.R:40:3', 'test-afstemningsomraader.R:46:3', 'test-get_data.R:37:3', 'test-get_data.R:42:3', 'test-get_data.R:48:3', 'test-get_data.R:54:3', 'test-base_api.R:8:3', 'test-base_api.R:19:3', 'test-base_api.R:25:3', 'test-get_map_data-kommuner.R:2:3', 'test-get_map_data-postnumre.R:6:3', 'test-get_map_data-politikredse.R:2:3', 'test-get_map_data-vote.R:2:3', 'test-get_map_data-regioner.R:2:3', 'test-get_map_data.R:1:1', 'test-status_check.R:2:3', 'test-status_check.R:23:3', 'test-status_check.R:23:3', 'test-status_check.R:23:3', 'test-status_check.R:23:3', 'test-reverse.R:2:3', 'test-reverse.R:8:3', 'test-reverse.R:17:3', 'test-reverse.R:26:3', 'test-reverse.R:35:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_data.R:31:3'): get_data() returns data and in the proper format ── Expected `response[1, ]` to equal `expected[1, ]`. Differences: `actual` is NULL `expected` is an S3 object of class <data.frame>, a list ── Failure ('test-get_data.R:32:3'): get_data() returns data and in the proper format ── Expected `response_no_list[1, ]` to equal `expected_no_list[1, ]`. Differences: `actual` is NULL `expected` is an S3 object of class <data.frame>, a list ── Failure ('test-get_data.R:33:3'): get_data() returns data and in the proper format ── Expected `response_list[[1]]` to equal `expected_list`. Differences: `actual` is NULL `expected` is a list ── Failure ('test-base_api.R:3:3'): API base function properly ───────────────── Expected `dawa(section = "base")` to throw a error. ── Failure ('test-base_api.R:4:3'): API base function properly ───────────────── Expected `dawa(section = "supermarked")` to throw a error. [ FAIL 5 | WARN 0 | SKIP 49 | PASS 6 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64