- using R Under development (unstable) (2025-01-26 r87642 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'dawaR/DESCRIPTION' ... OK
- this is package 'dawaR' version '0.2.7'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'dawaR' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... NOTE
Missing dependency on R >= 4.2.0 because package code uses the pipe
placeholder syntax added in R 4.2.0.
File(s) using such syntax:
'utils.R'
- 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] OK
- checking loading without being on the library search path ... [1s] OK
- checking whether startup messages can be suppressed ... [1s] 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 ... [4s] OK
- checking Rd files ... [0s] OK
- checking Rd metadata ... 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 ... [19s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [68s] 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
[ FAIL 1 | WARN 0 | SKIP 49 | PASS 9 ]
══ 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-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-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-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-reverse.R:3:5', 'test-reverse.R:9:5',
'test-reverse.R:18:5', 'test-reverse.R:27:5', 'test-reverse.R:35:3',
'test-status_check.R:2:3', 'test-status_check.R:21:3',
'test-status_check.R:21:3', 'test-status_check.R:21:3',
'test-status_check.R:21:3', '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'
══ Failed tests ════════════════════════════════════════════════════════════════
── 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
[ FAIL 1 | WARN 0 | SKIP 49 | PASS 9 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [19s] ERROR
Error(s) in re-building vignettes:
--- re-building 'dawaR.Rmd' using rmarkdown
Quitting from lines 28-29 [get-data] (dawaR.Rmd)
Error: processing vignette 'dawaR.Rmd' failed with diagnostics:
second argument must be a list
--- failed re-building 'dawaR.Rmd'
--- re-building 'renv-issues.Rmd' using rmarkdown
--- finished re-building 'renv-issues.Rmd'
--- re-building 'status.Rmd' using rmarkdown
--- finished re-building 'status.Rmd'
SUMMARY: processing the following file failed:
'dawaR.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 2 ERRORs, 1 NOTE