Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
In ARROW-15047, the error messaging in read_compressed_error() was updated to be more user-friendly - the corresponding unit test (named "Error messages are shown when the compression algorithm lz4 is not found") needs updating to reflect this change
── Error (test-feather.R:247:5): Error messages are shown when the compression algorithm lz4 is not found ── Error: NotImplemented: Support for codec 'lz4' not built In order to read this file, you will need to reinstall arrow with additional features enabled. Set one of these environment variables before installing: * Sys.setenv(LIBARROW_MINIMAL = "false") (for all optional features, including 'lz4') * Sys.setenv(ARROW_WITH_LZ4 = "ON") (for just 'lz4') See https://arrow.apache.org/docs/r/articles/install.html for details Backtrace: █ 1. ├─testthat::expect_error(read_feather(ft_file), msg) test-feather.R:247:4 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat:::.capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─arrow::read_feather(ft_file) 8. └─base::tryCatch(reader$Read(columns), error = read_compressed_error) 9. └─base:::tryCatchList(expr, classes, parentenv, handlers) 10. └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) [ FAIL 1 | WARN 1 | SKIP 71 | PASS 3817 ] Error: Test failures Execution halted 1 error ✖ | 0 warnings ✔ | 1 note ✖ Error: R CMD check found ERRORs
Attachments
Issue Links
- links to