CRAN Package Check Results for Maintainer ‘Aleksander Bang-Larsen <contact at aleksanderbl.dk>’

Last updated on 2025-12-04 09:50:19 CET.

Package ERROR OK
dawaR 1 12

Package dawaR

Current CRAN status: ERROR: 1, OK: 12

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.