The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Last updated on 2026-05-05 05:52:30 CEST.
| Package | ERROR | OK |
|---|---|---|
| aebdata | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/438s]
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-search-25.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 25 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-search.R:23:3'): return empty ──────────────────────────────────
<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:23:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─aebdata::search_series("miiltares")
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-gcc
Version: 0.1.4
Check: examples
Result: ERROR
Running examples in ‘aebdata-Ex.R’ failed
The error most likely occurred in:
> ### Name: get_series
> ### Title: Get series values
> ### Aliases: get_series
>
> ### ** Examples
>
> ## Don't show:
> if (aebdata:::test_connection_aeb()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # Get the series 230 and print the head
+ serie_230 <- get_series(series_id = 230)
+ head(serie_230)
+
+ # Get the series from 230 to 232 and print the head of the 232
+ ## Don't show:
+ }) # examplesIf
> serie_230 <- get_series(series_id = 230)
Error in `httr2::req_perform()`:
! 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. ├─(if (getRversion() >= "3.4") withAutoprint else force)(...)
2. │ └─base::source(...)
3. │ ├─base::withVisible(eval(ei, envir))
4. │ └─base::eval(ei, envir)
5. │ └─base::eval(ei, envir)
6. └─aebdata::get_series(series_id = 230)
7. ├─base::do.call(...)
8. ├─base::lapply(...)
9. ├─httr2::resp_body_json(httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/series")))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/series"))
13. └─httr2:::handle_resp(req, resp, error_call = error_call)
14. └─rlang::cnd_signal(resp)
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/342s]
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-11.R
Error in open.connection(x, "rb") : cannot open the connection
Error : cannot open the connection
Error : cannot open the connection
Saving _problems/test-get-28.R
Saving _problems/test-get-33.R
Saving _problems/test-list-15.R
Saving _problems/test-search-4.R
Saving _problems/test-search-11.R
Saving _problems/test-search-18.R
Saving _problems/test-search-25.R
[ FAIL 8 | WARN 3 | SKIP 0 | PASS 14 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get.R:11:3'): wrong parameters ─────────────────────────────────
Error: cannot open the connection
Backtrace:
▆
1. ├─testthat::expect_warning(get_series(series_id = c(1, 215))) at test-get.R:11: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 = c(1, 215))
8. │ └─aebdata:::get_series_csv(series_id = df_series$series_id)
9. │ ├─base::as.data.frame(...)
10. │ └─readr::read_delim(...)
11. │ └─vroom::vroom(...)
12. │ └─vroom:::vroom_(...)
13. └─vroom (local) `<fn>`(`<curl>`, "rb")
14. └─base::tryCatch(...)
15. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
16. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
17. └─value[[3L]](cond)
── Failure ('test-get.R:26:3'): get works ──────────────────────────────────────
Expected `get_series(series_id = c(215, 197))` to equal `list(`215` = rds$one, `197` = rds$multiple)`.
Differences:
`actual$215` is an S3 object of class <try-error>, a character vector
`expected$215` is an S3 object of class <data.frame>, a list
`actual$197` is an S3 object of class <try-error>, a character vector
`expected$197` is a list
── Error ('test-get.R:33:3'): get_csv works ────────────────────────────────────
Error in `open.connection(x, "rb")`: cannot open the connection
Backtrace:
▆
1. ├─testthat::expect_null(get_series_csv(162)) at test-get.R:33:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─aebdata:::get_series_csv(162)
5. ├─base::grep(...)
6. │ └─base::is.factor(x)
7. ├─rvest::html_attr(...)
8. │ └─xml2::xml_attr(x, name, default = default)
9. ├─rvest::html_elements(...)
10. ├─rvest::html_element(...)
11. ├─rvest::read_html(...)
12. └─xml2:::read_html.default(...)
13. ├─base::suppressWarnings(...)
14. │ └─base::withCallingHandlers(...)
15. ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
16. └─xml2:::read_xml.character(...)
17. └─xml2:::read_xml.connection(...)
18. ├─base::open(x, "rb")
19. └─base::open.connection(x, "rb")
── Error ('test-list.R:15:3'): wrong parameters ────────────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/temas"))`: 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_warning(list_series(theme_id = c(1, 50))) at test-list.R:15: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::list_series(theme_id = c(1, 50))
8. └─aebdata::list_themes()
9. ├─base::do.call(...)
10. ├─base::lapply(...)
11. ├─httr2::resp_body_json(httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/temas")))
12. │ └─httr2:::check_response(resp)
13. │ └─httr2:::is_response(resp)
14. └─httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/temas"))
15. └─httr2:::handle_resp(req, resp, error_call = error_call)
16. └─rlang::cnd_signal(resp)
── Error ('test-search.R:4:3'): search 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 10000 milliseconds
Backtrace:
▆
1. ├─testthat::expect_equal(search_series("militares"), rds$simple) at test-search.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─aebdata::search_series("militares")
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)
── Error ('test-search.R:10:3'): require_all works ─────────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/temas"))`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached [www.ipea.gov.br]:
Connection timed out after 10001 milliseconds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-search.R:10:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─aebdata::search_series(c("militares", "cargos"), require_all = TRUE)
5. └─aebdata::list_series()
6. └─aebdata::list_themes()
7. ├─base::do.call(...)
8. ├─base::lapply(...)
9. ├─httr2::resp_body_json(httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/temas")))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/temas"))
13. └─httr2:::handle_resp(req, resp, error_call = error_call)
14. └─rlang::cnd_signal(resp)
── Error ('test-search.R:17:3'): case_insensitive works ────────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/temas"))`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached [www.ipea.gov.br]:
Connection timed out after 10001 milliseconds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-search.R:17:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─aebdata::search_series("CAP ", case_insensitive = FALSE)
5. └─aebdata::list_series()
6. └─aebdata::list_themes()
7. ├─base::do.call(...)
8. ├─base::lapply(...)
9. ├─httr2::resp_body_json(httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/temas")))
10. │ └─httr2:::check_response(resp)
11. │ └─httr2:::is_response(resp)
12. └─httr2::req_perform(httr2::request("https://www.ipea.gov.br/atlasestado/api/v1/temas"))
13. └─httr2:::handle_resp(req, resp, error_call = error_call)
14. └─rlang::cnd_signal(resp)
── Error ('test-search.R:23:3'): return empty ──────────────────────────────────
<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:23:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─aebdata::search_series("miiltares")
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 8 | WARN 3 | SKIP 0 | PASS 14 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.