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

CRAN check failure on #49

Open
DDorch opened this issue Dec 29, 2024 · 0 comments
Open

CRAN check failure on #49

DDorch opened this issue Dec 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@DDorch
Copy link
Collaborator

DDorch commented Dec 29, 2024

Last updated on 2024-12-29 05:49:18 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 4.00 134.17 138.17 OK  
r-devel-linux-x86_64-debian-gcc 0.5.0 3.25 93.85 97.10 OK  
r-devel-linux-x86_64-fedora-clang 0.5.0     234.64 OK  
r-devel-linux-x86_64-fedora-gcc 0.5.0     230.90 OK  
r-devel-windows-x86_64 0.5.0 7.00 127.00 134.00 OK  
r-patched-linux-x86_64 0.5.0 4.74 130.52 135.26 OK  
r-release-linux-x86_64 0.5.0 4.22 127.24 131.46 ERROR  
r-release-macos-arm64 0.5.0     63.00 OK  
r-release-macos-x86_64 0.5.0     108.00 OK  
r-release-windows-x86_64 0.5.0 6.00 131.00 137.00 OK  
r-oldrel-macos-arm64 0.5.0     68.00 OK  
r-oldrel-macos-x86_64 0.5.0     126.00 OK  
r-oldrel-windows-x86_64 0.5.0 7.00 160.00 167.00 OK  

Check Details

Version: 0.5.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(hubeau) > > test_check("hubeau") [ FAIL 1 | WARN 0 | SKIP 3 | PASS 4 ]

══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-get_hydrometrie_observations_tr.R:13:3',
  'test-get_hydrometrie_observations_tr.R:19:3', 'test-run_all_examples.R:1:1'

══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-doApiQuery.R:2:3'): A query of more than 20000 records ─────────
<curl_error_couldnt_resolve_host/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve hostname [hubeau.eaufrance.fr]: Could not resolve host: hubeau.eaufrance.fr
Backtrace:
     ▆
  1. ├─testthat::expect_error(...) at test-doApiQuery.R:2:3
  2. │ └─testthat:::expect_condition_matching(...)
  3. │   └─testthat:::quasi_capture(...)
  4. │     ├─testthat (local) .capture(...)
  5. │     │ └─base::withCallingHandlers(...)
  6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
  7. ├─hubeau::doApiQuery("indicateurs_services", "communes")
  8. │ └─httr::GET(query, user_agent)
  9. │   └─httr:::request_perform(req, hu$handle$handle)
 10. │     ├─httr:::request_fetch(req$output, req$url, handle)
 11. │     └─httr:::request_fetch.write_memory(req$output, req$url, handle)
 12. │       └─curl::curl_fetch_memory(url, handle = handle)
 13. └─curl:::raise_libcurl_error(...)

[ FAIL 1 | WARN 0 | SKIP 3 | PASS 4 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
@DDorch DDorch added this to the v0.6.0 milestone Dec 29, 2024
@DDorch DDorch self-assigned this Dec 29, 2024
@DDorch DDorch added the bug Something isn't working label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant