CRAN Package Check Results for Maintainer ‘Hugo Macedo <aebdata at hhmace.do>’

Last updated on 2025-09-20 00:50:31 CEST.

Package ERROR OK
aebdata 1 12

Package aebdata

Current CRAN status: ERROR: 1, OK: 12

Version: 0.1.4
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/129s] 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(aebdata) > > test_check("aebdata") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 25 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-search.R:10:3'): require_all works ───────────────────────────── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(httr2::request(paste0("https://www.ipea.gov.br/atlasestado/api/v1/series/", theme_id)))`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [www.ipea.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-search.R:10:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─aebdata::search_series(c("militares", "cargos"), require_all = TRUE) 5. └─aebdata::list_series() 6. └─base::lapply(df_themes$theme_id, function(id) list_series_id(theme_id = id)) 7. └─aebdata (local) FUN(X[[i]], ...) 8. └─aebdata:::list_series_id(theme_id = id) 9. ├─base::do.call(...) 10. ├─base::lapply(...) 11. ├─httr2::resp_body_json(...) 12. │ └─httr2:::check_response(resp) 13. │ └─httr2:::is_response(resp) 14. └─httr2::req_perform(...) 15. └─httr2:::handle_resp(req, resp, error_call = error_call) 16. └─rlang::cnd_signal(resp) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 25 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang