[ 
https://issues.apache.org/jira/browse/ARROW-14253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17425631#comment-17425631
 ] 

Neal Richardson commented on ARROW-14253:
-----------------------------------------

It's not ARROW_R_DEV, it's {{ARROW_EXTRA_ERROR_CONTEXT=ON}} in the cmake. That 
explains why we've never seen it before, that's a developer flag and me locally 
or none of our CI builds have that on and ARROW_WITH_LZ4=OFF. 

The test could be adapted to support that use case (add .* to the regex in 
expect_error), or we could trim the C++ backtrace from the error message in the 
code, but I'm not sure it's worth doing.

> [R] Update lz4 test failing locally due to different error message
> ------------------------------------------------------------------
>
>                 Key: ARROW-14253
>                 URL: https://issues.apache.org/jira/browse/ARROW-14253
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Dragoș Moldovan-Grünfeld
>            Priority: Minor
>             Fix For: 7.0.0
>
>
> When running on a local machine with {{ARROW_R_DEV}} set to true, the extra 
> error messages printed out from the C++ code result in the test failing as 
> the body of the error message doesn't match what is expected in the test.
> https://github.com/apache/arrow/blob/25a6f591d1f162106b74e29870ebd4012e9874cc/r/tests/testthat/test-feather.R#L247



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to