[ 
https://issues.apache.org/jira/browse/ARROW-15145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Keane updated ARROW-15145:
-----------------------------------
    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 

{code}
── 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
{code}

https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=17433&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=d9b15392-e4ce-5e4c-0c8c-b69645229181&l=10785


  was: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 


> [R]  test-r-minimal-build fails due to updated error message
> ------------------------------------------------------------
>
>                 Key: ARROW-15145
>                 URL: https://issues.apache.org/jira/browse/ARROW-15145
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Nicola Crane
>            Priority: Major
>
> 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 
> {code}
> ── 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
> {code}
> https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=17433&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=d9b15392-e4ce-5e4c-0c8c-b69645229181&l=10785



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to