CRAN Package Check Results for Package dawaR

Last updated on 2025-11-07 03:50:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 5.59 72.52 78.11 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 3.92 54.36 58.28 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 39.00 85.33 124.33 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.0 25.00 111.88 136.88 OK
r-devel-windows-x86_64 0.3.0 8.00 112.00 120.00 OK
r-patched-linux-x86_64 0.3.0 5.21 63.22 68.43 ERROR
r-release-linux-x86_64 0.3.0 4.49 66.03 70.52 OK
r-release-macos-arm64 0.3.0 3.00 93.00 96.00 OK
r-release-macos-x86_64 0.3.0 5.00 131.00 136.00 OK
r-release-windows-x86_64 0.3.0 7.00 103.00 110.00 OK
r-oldrel-macos-arm64 0.3.0 3.00 92.00 95.00 OK
r-oldrel-macos-x86_64 0.3.0 5.00 135.00 140.00 OK
r-oldrel-windows-x86_64 0.3.0 12.00 120.00 132.00 OK

Check Details

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [24s/55s] 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 [ FAIL 2 | WARN 0 | SKIP 48 | PASS 9 ] ══ Skipped tests (48) ══════════════════════════════════════════════════════════ • On CRAN (48): '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-afstemningsomraader.R:3:5', 'test-afstemningsomraader.R:9:5', 'test-afstemningsomraader.R:19:5', 'test-afstemningsomraader.R:29:5', 'test-afstemningsomraader.R:35:5', 'test-afstemningsomraader.R:41:5', 'test-afstemningsomraader.R:47:5', 'test-base_api.R:8:3', 'test-base_api.R:20:5', 'test-base_api.R:26:5', 'test-autocomplete.R:3:5', 'test-autocomplete.R:9:5', 'test-autocomplete.R:15:5', 'test-autocomplete.R:21:5', 'test-autocomplete.R:27:5', 'test-autocomplete.R:33:5', 'test-autocomplete.R:39:5', 'test-autocomplete.R:45:5', 'test-autocomplete.R:51:5', 'test-autocomplete.R:57:5', 'test-autocomplete.R:63:5', 'test-autocomplete.R:69:5', 'test-autocomplete.R:75:5', 'test-autocomplete.R:81:5', 'test-autocomplete.R:87:5', 'test-autocomplete.R:93:5', 'test-get_map_data-kommuner.R:2:3', 'test-get_map_data-politikredse.R:2:3', 'test-get_map_data-postnumre.R:6:3', 'test-get_map_data-regioner.R:2:3', 'test-get_map_data-vote.R:2:3', 'test-get_map_data.R:2:3', 'test-get_data.R:37:3', 'test-get_data.R:43:5', 'test-get_data.R:55:5', 'test-status_check.R:2:3', 'test-status_check.R:22:3', 'test-status_check.R:22:3', 'test-status_check.R:22:3', 'test-status_check.R:22:3', 'test-reverse.R:3:5', 'test-reverse.R:9:5', 'test-reverse.R:18:5', 'test-reverse.R:27:5', 'test-reverse.R:35:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-base_api.R:3:3'): API base function properly ───────────────── `dawa(section = "base")` did not throw the expected error. ── Error ('test-get_data.R:49:5'): get_data(section = 'politikredse') snapshot ── Error in `do.call(rbind.data.frame, response)`: second argument must be a list Backtrace: ▆ 1. └─testthat::expect_snapshot(get_data(section = "politikredse")) at test-get_data.R:49:5 2. └─rlang::cnd_signal(state$error) [ FAIL 2 | WARN 0 | SKIP 48 | PASS 9 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [11s/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 [ FAIL 5 | WARN 0 | SKIP 49 | PASS 5 ] ══ Skipped tests (49) ══════════════════════════════════════════════════════════ • On CRAN (49): 'test-1-dawa-sections.R:2:3', 'test-2-get_data-sections.R:2:3', 'test-3-get_map_data-sections.R:3:3', 'test-afstemningsomraader.R:3:5', 'test-afstemningsomraader.R:9:5', 'test-afstemningsomraader.R:19:5', 'test-afstemningsomraader.R:29:5', 'test-afstemningsomraader.R:35:5', 'test-afstemningsomraader.R:41:5', 'test-afstemningsomraader.R:47:5', 'test-base_api.R:8:3', 'test-base_api.R:20:5', 'test-base_api.R:26:5', 'test-autocomplete.R:3:5', 'test-autocomplete.R:9:5', 'test-autocomplete.R:15:5', 'test-autocomplete.R:21:5', 'test-autocomplete.R:27:5', 'test-autocomplete.R:33:5', 'test-autocomplete.R:39:5', 'test-autocomplete.R:45:5', 'test-autocomplete.R:51:5', 'test-autocomplete.R:57:5', 'test-autocomplete.R:63:5', 'test-autocomplete.R:69:5', 'test-autocomplete.R:75:5', 'test-autocomplete.R:81:5', 'test-autocomplete.R:87:5', 'test-autocomplete.R:93:5', 'test-get_map_data-kommuner.R:2:3', 'test-get_map_data-politikredse.R:2:3', 'test-get_map_data-postnumre.R:6:3', 'test-get_map_data-regioner.R:2:3', 'test-get_map_data-vote.R:2:3', 'test-get_data.R:37:3', 'test-get_data.R:43:5', 'test-get_data.R:49:5', 'test-get_data.R:55:5', 'test-get_map_data.R:2:3', 'test-status_check.R:2:3', 'test-status_check.R:22:3', 'test-status_check.R:22:3', 'test-status_check.R:22:3', 'test-status_check.R:22:3', 'test-reverse.R:3:5', 'test-reverse.R:9:5', 'test-reverse.R:18:5', 'test-reverse.R:27:5', 'test-reverse.R:35:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-base_api.R:3:3'): API base function properly ───────────────── `dawa(section = "base")` did not throw the expected error. ── Failure ('test-base_api.R:4:3'): API base function properly ───────────────── `dawa(section = "supermarked")` did not throw the expected error. ── Failure ('test-get_data.R:31:3'): get_data() returns data and in the proper format ── response[1, ] (`actual`) not equal to expected[1, ] (`expected`). `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 ── response_no_list[1, ] (`actual`) not equal to expected_no_list[1, ] (`expected`). `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 ── response_list[[1]] (`actual`) not equal to `expected_list` (`expected`). `actual` is NULL `expected` is a list [ FAIL 5 | WARN 0 | SKIP 49 | PASS 5 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64