Running ‘testthat.R’ [63s/82s]
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 17 | PASS 36 ]
  
  ══ Skipped tests (17) ══════════════════════════════════════════════════════════
  • On CRAN (17): 'test-2-get_data-sections.R:2:3',
    'test-3-get_map_data-sections.R:2:3', 'test-afstemningsomraader.R:3:3',
    'test-afstemningsomraader.R:21:3', 'test-autocomplete.R:3:3',
    'test-base_api.R:18:3', 'test-get_data.R:30:3',
    'test-get_map_data-kommuner.R:2:3', 'test-get_map_data-politikredse.R:2:3',
    'test-get_map_data-regioner.R:2:3', 'test-get_map_data-vote.R:2:3',
    'test-get_map_data.R:3:3', 'test-reverse.R:3:3', 'test-status_check.R:20:3',
    'test-status_check.R:20:3', 'test-status_check.R:20:3',
    'test-status_check.R:20:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-status_check.R:16:3'): Status check function parses the rss feed and returns a dataframe if specified ──
  `observed_df` (`actual`) not equal to `expected_df` (`expected`).
  
  `actual$status[[1]]`:   "Down"
  `expected$status[[1]]`: "OK"  
  
  `actual$status[[2]]`:   "Down"
  `expected$status[[2]]`: "OK"  
  
  `actual$status[[3]]`:   "Down"
  `expected$status[[3]]`: "OK"  
  
  `actual$status[[4]]`:   "Down"
  `expected$status[[4]]`: "OK"  
  
  `actual$status[[5]]`:   "Down"
  `expected$status[[5]]`: "OK"  
  
  `actual$status[[6]]`:   "Down"
  `expected$status[[6]]`: "OK"  
  
  `actual$status[[7]]`:   "Down"
  `expected$status[[7]]`: "OK"  
  
  [ FAIL 1 | WARN 0 | SKIP 17 | PASS 36 ]
  Error: Test failures
  Execution halted