Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure #13

Open
maelle opened this issue Mar 7, 2022 · 2 comments
Open

Test failure #13

maelle opened this issue Mar 7, 2022 · 2 comments

Comments

@maelle
Copy link
Member

maelle commented Mar 7, 2022

👋 @cvitolo!

As seen in https://github.com/r-universe/ropensci/runs/5208774810?check_suite_focus=true via https://ropensci.r-universe.dev/ui#builds

Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
  
  == Skipped tests ===============================================================
  * Call to ukair_get_hourly_data for 1 year failed! (1)
  * Call to ukair_get_hourly_data for 2 years failed! (1)
  
  == Failed tests ================================================================
  -- Failure (test-metadata.R:23:5): Find site identification number from the UK AIR ID string. --
  x == "ABD" is not TRUE
  
  `actual`:   <NA>
  `expected`: TRUE
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 11 ]
``
@cvitolo
Copy link
Collaborator

cvitolo commented Mar 26, 2022

Hi @maelle , thanks for spotting this!

It seems the UK AIR web page no longer contains the SiteID, which affects the following functions:

  • ukair_get_site_id() (directly)
  • ukair_get_hourly_data() (indirectly)

As a workaround, the function ukair_get_site_id() is now searching the cached catalogue.
However, a better solution is needed because the SiteID of new stations cannot be retrieved.

Will keep this issue open until a definitive solution is found.

@maelle
Copy link
Member Author

maelle commented Jan 12, 2024

I will archive this package as there's currently no maintainer, and it depends on retired packages. We could still unarchive it on request.

@maelle maelle closed this as completed Jan 12, 2024
@olivroy olivroy reopened this Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants