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

Neal Richardson commented on ARROW-11766:
-----------------------------------------

This particular error about compression codecs is in practice probably only 
going to come from {{read_feather}} and {{read_parquet}}, so we can wrap the 
line that would throw that message in a {{tryCatch}} and if {{grepl("Support 
for codec", conditionMessage(e))}} raise an error with a more helpful message.

> [R] Improve the experience for installing arrow on linux
> --------------------------------------------------------
>
>                 Key: ARROW-11766
>                 URL: https://issues.apache.org/jira/browse/ARROW-11766
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Jonathan Keane
>            Priority: Major
>             Fix For: 4.0.0
>
>
> Could this be the source of [errors 
> like|https://github.com/arrow-interviewing/interview-question-1-Mauricio-Vargas-Sepulveda/pull/1/files#diff-c95526be36be633299f767ecc0377b7617d787f628a9e3a9163455e8520b7b9cR8]
>  {{Error: NotImplemented: Support for codec 'lz4' not built}} after 
> installing from CRAN?
> A few more details:
> The default behavior (when neither {{LIBARROW_BINARY=true}} nor 
> {{NOT_CRAN=true}}) is to build the arrow c++ libraries from source. And the 
> default for building from source does not include all of the optional 
> features and compression libraries (unless one sets 
> {{LIBARROW_MINIMAL=false}}). 
> Could we improve the error messaging that suggest either setting the right 
> environment variable to install binaries (and then reinstall) or setting 
> {{LIBARROW_MINIMAL=false}} (and then reinstall), possibly with a link to 
> https://arrow.apache.org/docs/r/articles/install.html to help people see 
> other possible ways to resolve the installation issue.



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

Reply via email to