R Under development (unstable) (2026-01-07 r89288 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(uptasticsearch) # nolint[unused_import] > > testthat::test_check( + package = "uptasticsearch" + , stop_on_failure = TRUE + , stop_on_warning = FALSE + , reporter = testthat::SummaryReporter$new() + ) assertions: ........................................................ chomp_aggs: .....WARN [2026-01-08 06:09:15] You did not pass any input data to chomp_aggs. Returning NULL. .WARN [2026-01-08 06:09:15] You did not pass any input data to chomp_aggs. Returning NULL. .FATAL [2026-01-08 06:09:15] The first argument of chomp_aggs must be a character vector.You may have passed an R list. Try querying with uptasticsearch:::.search_request() ..............................................INFO [2026-01-08 06:09:15] es_search is assuming that this result is a one-level 'extended_stats' result. .........INFO [2026-01-08 06:09:15] es_search is assuming that this result is a one-level 'percentiles' result. ....INFO [2026-01-08 06:09:15] es_search is assuming that this result is a one-level 'significant terms' result. ...................................................................................INFO [2026-01-08 06:09:16] this aggregation result was empty. Returning NULL . chomp_hits: ....................WARN [2026-01-08 06:09:16] You did not pass any input data to chomp_hits. Returning NULL. .WARN [2026-01-08 06:09:16] You did not pass any input data to chomp_hits. Returning NULL. .FATAL [2026-01-08 06:09:16] The first argument of chomp_hits must be a character vector.You may have passed an R list. In that case, if you already used jsonlite::fromJSON(), you can just call data.table::as.data.table(). .WARN [2026-01-08 06:09:16] Deleting the following nested data columns: test1 .. es_search: FATAL [2026-01-08 06:09:16] You passed NULL to es_index. This is not supported. If you want to search across all indices, use es_index = '_all'. .FATAL [2026-01-08 06:09:16] query_body should be a single string. You gave an object of length 2 .FATAL [2026-01-08 06:09:16] query_body should be a single string. You gave an object of length 1 ......FATAL [2026-01-08 06:09:16] Could not figure out units of datemath string! Only durations in seconds (s), minutes (m), hours (h), days (d), or weeks (w) are supported. You provided: 50Y .FATAL [2026-01-08 06:09:16] es_host should be a string. You gave an object of typenumeric .FATAL [2026-01-08 06:09:16] es_host should be length 1. You provided an object of length 2 ...FATAL [2026-01-08 06:09:16] No port found in es_host! es_host should be a string of the form [transfer_protocol][hostname]:[port]. For example: 'http://myindex.mysite.com:9200' .WARN [2026-01-08 06:09:16] You did not provide a transfer protocol (e.g. http://) with es_host. Assuming http://... .................................................... get_fields: FATAL [2026-01-08 06:09:16] Argument 'es_indices' must be a non-empty character vector .FATAL [2026-01-08 06:09:16] get_fields must be passed a valid es_indices. You provided which resulted in an empty string .INFO [2026-01-08 06:09:16] Getting indexed fields for indices: company,hotel INFO [2026-01-08 06:09:16] Replacing index names with aliases INFO [2026-01-08 06:09:16] Retrieved 8 fields across 2 indices ... integration: SSSSSSSSSSSSSSSSSSSSS parse_date_time: ..............FATAL [2026-01-08 06:09:16] The date_cols argument in parse_date_time expects a character vector of column names. You gave an object of class list .FATAL [2026-01-08 06:09:16] parse_date_time expects to receive a data.table object. You provided an object of class data.frame to input_df. .FATAL [2026-01-08 06:09:16] The following columns, which you passed to date_cols, do not actually exist in input_df: dateTyme ..... unpack_nested_data: INFO [2026-01-08 06:09:16] Keeping the following nested data columns. Consider using unpack_nested_data for one: details.appData ......INFO [2026-01-08 06:09:16] Keeping the following nested data columns. Consider using unpack_nested_data for one: details.minutes .....FATAL [2026-01-08 06:09:16] For unpack_nested_data, chomped_df must be a data.table .FATAL [2026-01-08 06:09:16] For unpack_nested_data, col_to_unpack must be a character of length 1 .FATAL [2026-01-08 06:09:16] For unpack_nested_data, col_to_unpack must be a character of length 1 .FATAL [2026-01-08 06:09:16] For unpack_nested_data, col_to_unpack must be one of the column names .FATAL [2026-01-08 06:09:16] The column given to unpack_nested_data had no data in it. .FATAL [2026-01-08 06:09:16] Each row in column y must be a data frame or a vector. ... ══ Skipped ═════════════════════════════════════════════════════════════════════ 1. es_search works as expected for a simple search request ('test-integration.R:14:9') - Reason: On CRAN 2. es_search works when you have to scroll ('test-integration.R:27:9') - Reason: On CRAN 3. es_search works in single-threaded mode ('test-integration.R:40:9') - Reason: On CRAN 4. es_search rejects scrolls longer than 1 hour ('test-integration.R:54:9') - Reason: On CRAN 5. es_search warns and readjusts size if max_hits less than 10000 ('test-integration.R:69:9') - Reason: On CRAN 6. es_search warns when max hits is not a clean multiple of size ('test-integration.R:83:9') - Reason: On CRAN 7. es_search works as expected for search requests that return nothing ('test-integration.R:97:9') - Reason: On CRAN 8. es_search works as expected for a simple aggregation request ('test-integration.R:113:9') - Reason: On CRAN 9. es_search respects the names you assign to aggregation results ('test-integration.R:143:9') - Reason: On CRAN 10. es_search correctly handles empty bucketed aggregation result ('test-integration.R:171:9') - Reason: On CRAN 11. .get_es_version works ('test-integration.R:185:9') - Reason: On CRAN 12. .get_aliases returns NULL when no aliases have been created in the cluster ('test-integration.R:219:9') - Reason: On CRAN 13. get_fields works on an actual running Elasticsearch cluster with no aliases ('test-integration.R:228:9') - Reason: On CRAN 14. .get_aliases and get_fields work as expected when exactly one alias exists for one index in the cluster ('test-integration.R:252:9') - Reason: On CRAN 15. .get_aliases and get_fields work as expected when more than one alias exists for one index in the cluster ('test-integration.R:307:9') - Reason: On CRAN 16. get_fields works when you target a single index with no aliases ('test-integration.R:416:9') - Reason: On CRAN 17. get_fields works when you pass a vector of index names ('test-integration.R:443:9') - Reason: On CRAN 18. .request() works for requests without a body ('test-integration.R:470:5') - Reason: On CRAN 19. .request() works for requests with a body ('test-integration.R:483:5') - Reason: On CRAN 20. retry logic works as expected ('test-integration.R:498:5') - Reason: On CRAN 21. retry logic works as expected for requests with a body ('test-integration.R:521:5') - Reason: On CRAN ══ DONE ════════════════════════════════════════════════════════════════════════ > > proc.time() user system elapsed 2.42 0.37 2.78