* using log directory 'd:/Rcompile/CRANpkg/local/4.7/aebdata.Rcheck' * using R Under development (unstable) (2026-06-11 r90134 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-06-12 09:58:12 UTC * checking for file 'aebdata/DESCRIPTION' ... OK * this is package 'aebdata' version '0.1.6' * 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 'aebdata' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * 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 ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [0s] OK * checking loading without being on the library search path ... [0s] 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 ... [2s] 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 ... [140s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [535s] ERROR Running 'testthat.R' [534s] 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") Saving _problems/test-get-12.R x Could not connect. Please, check your connection or try again later. Saving _problems/test-get-18.R x Could not connect. Please, check your connection or try again later. Saving _problems/test-get-20.R Saving _problems/test-get-28.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 22 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get.R:12:3'): wrong parameters ───────────────────────────────── Error in `open.connection(x, "rb")`: cannot open the connection Backtrace: ▆ 1. ├─testthat::expect_warning(get_series(series_id = 215, series_title = "Test")) at test-get.R:12: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. └─aebdata::get_series(series_id = 215, series_title = "Test") 8. └─aebdata:::get_series_csv(series_id = df_series$series_id) 9. ├─base::grep(...) 10. │ └─base::is.factor(x) 11. ├─rvest::html_attr(...) 12. │ └─xml2::xml_attr(x, name, default = default) 13. ├─rvest::html_elements(...) 14. ├─rvest::html_element(...) 15. ├─rvest::read_html(...) 16. └─xml2:::read_html.default(...) 17. ├─base::suppressWarnings(...) 18. │ └─base::withCallingHandlers(...) 19. ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options) 20. └─xml2:::read_xml.character(...) 21. └─xml2:::read_xml.connection(...) 22. ├─base::open(x, "rb") 23. └─base::open.connection(x, "rb") ── Failure ('test-get.R:18:3'): empty series ─────────────────────────────────── Expected `get_series(series_id = c(162, 177))` to throw a error. ── Failure ('test-get.R:20:3'): empty series ─────────────────────────────────── Expected `get_series(series_id = c(162, 215))` to throw a warning. ── Error ('test-get.R:26:3'): get works ──────────────────────────────────────── Error in `httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/series"))`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [www.ipea.gov.br]: Connection timed out after 10008 milliseconds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-get.R:26:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─aebdata::get_series(series_id = c(215, 197)) 5. ├─base::do.call(...) 6. ├─base::lapply(...) 7. ├─httr2::resp_body_json(httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/series"))) 8. │ └─httr2:::check_response(resp) 9. │ └─httr2:::is_response(resp) 10. └─httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/series")) 11. └─httr2:::handle_resp(req, resp, error_call = error_call) 12. └─rlang::cnd_signal(resp) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 22 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [39s] OK * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR