Last updated on 2025-12-26 17:49:04 CET.
| Package | ERROR | OK |
|---|---|---|
| dawaR | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.3.2
Check: tests
Result: ERROR
Running 'testthat.R' [68s]
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.
Saving _problems/test-base_api-3.R
[ FAIL 1 | WARN 0 | SKIP 49 | PASS 10 ]
══ Skipped tests (49) ══════════════════════════════════════════════════════════
• On CRAN (49): 'test-2-get_data-sections.R:2:3', 'test-1-dawa-sections.R:2:3',
'test-3-get_map_data-sections.R:3:3', 'test-autocomplete.R:3:5',
'test-autocomplete.R:10:5', 'test-autocomplete.R:17:5',
'test-autocomplete.R:24:5', 'test-autocomplete.R:34:5',
'test-autocomplete.R:41:5', 'test-autocomplete.R:48:5',
'test-autocomplete.R:55:5', 'test-autocomplete.R:65:5',
'test-autocomplete.R:72:5', 'test-autocomplete.R:79:5',
'test-autocomplete.R:86:5', 'test-autocomplete.R:96:5',
'test-autocomplete.R:103:5', 'test-autocomplete.R:110:5',
'test-autocomplete.R:117:5', '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-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:1:1', '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',
'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-base_api.R:8:3', 'test-base_api.R:19:3',
'test-base_api.R:25:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-base_api.R:3:3'): API base function properly ─────────────────
Expected `dawa(section = "base")` to throw a error.
[ FAIL 1 | WARN 0 | SKIP 49 | PASS 10 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-windows-x86_64