- using R Under development (unstable) (2026-06-11 r90134)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
GNU Fortran (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-06-13 18:26:48 UTC
- using option ‘--no-stop-on-test-error’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘aebdata’ can be installed ... OK
See the install log for details.
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... [3s/13s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [8s/169s] ERROR
Running ‘testthat.R’ [8s/169s]
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-25.R
Saving _problems/test-get-33.R
x Could not connect. Please, check your connection or try again later.
Saving _problems/test-list-3.R
x Could not connect. Please, check your connection or try again later.
Saving _problems/test-list-6.R
x Could not connect. Please, check your connection or try again later.
x Could not connect. Please, check your connection or try again later.
x Could not connect. Please, check your connection or try again later.
x Could not connect. Please, check your connection or try again later.
Saving _problems/test-list-15.R
x Could not connect. Please, check your connection or try again later.
Saving _problems/test-search-4.R
x Could not connect. Please, check your connection or try again later.
Saving _problems/test-search-11.R
x Could not connect. Please, check your connection or try again later.
Saving _problems/test-search-18.R
x Could not connect. Please, check your connection or try again later.
Saving _problems/test-search-25.R
Saving _problems/test-utils-2.R
[ FAIL 10 | WARN 1 | SKIP 0 | PASS 12 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get.R:25:3'): get works ────────────────────────────────────────
Error: cannot open the connection
Backtrace:
▆
1. ├─testthat::expect_equal(get_series(series_id = 215), rds$one) at test-get.R:25:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─aebdata::get_series(series_id = 215)
5. │ └─aebdata:::get_series_csv(series_id = df_series$series_id)
6. │ ├─base::as.data.frame(...)
7. │ └─readr::read_delim(...)
8. │ └─vroom::vroom(...)
9. │ └─vroom:::vroom_(...)
10. └─vroom (local) `<fn>`(`<curl>`, "rb")
11. └─base::tryCatch(...)
12. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. └─value[[3L]](cond)
── 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")
── Failure ('test-list.R:3:3'): list works ─────────────────────────────────────
Expected `list_themes()` to equal `rds$themes`.
Differences:
`actual` is a character vector ('cli-2598344-6')
`expected` is an S3 object of class <data.frame>, a list
── Error ('test-list.R:4:3'): list works ───────────────────────────────────────
Error in `df_themes$theme_id`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-list.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─aebdata::list_series(theme_id = 50, theme_title = "Militares na burocracia")
5. └─base::intersect(theme_id, df_themes$theme_id)
── Error ('test-list.R:15:3'): wrong parameters ────────────────────────────────
Error in `df_themes$theme_id`: $ operator is invalid for atomic vectors
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. └─base::intersect(theme_id, df_themes$theme_id)
── Error ('test-search.R:4:3'): search works ───────────────────────────────────
Error in `df_themes$theme_id`: $ operator is invalid for atomic vectors
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))
── Error ('test-search.R:10:3'): require_all works ─────────────────────────────
Error in `df_themes$theme_id`: $ operator is invalid for atomic vectors
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. └─base::lapply(df_themes$theme_id, function(id) list_series_id(theme_id = id))
── Error ('test-search.R:17:3'): case_insensitive works ────────────────────────
Error in `df_themes$theme_id`: $ operator is invalid for atomic vectors
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. └─base::lapply(df_themes$theme_id, function(id) list_series_id(theme_id = id))
── Error ('test-search.R:23:3'): return empty ──────────────────────────────────
Error in `df_themes$theme_id`: $ operator is invalid for atomic vectors
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))
── Failure ('test-utils.R:2:3'): connection works ──────────────────────────────
Expected `test_connection_aeb()` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 10 | WARN 1 | SKIP 0 | PASS 12 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [36s/55s] OK
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR