- using R Under development (unstable) (2025-11-05 r88988)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.5
flang version 21.1.5
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘dawaR/DESCRIPTION’ ... OK
- this is package ‘dawaR’ version ‘0.3.0’
- 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 ‘dawaR’ can be installed ... [10s/39s] OK
See the install log for details.
- checking installed package size ... 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 whether startup messages can be suppressed ... [2s/16s] 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/68s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [4s/26s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [25s/56s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s/34s] OK
- checking PDF version of manual ... [7s/16s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR