pachamaltese commented on a change in pull request #9743:
URL: https://github.com/apache/arrow/pull/9743#discussion_r606310392



##########
File path: r/R/util.R
##########
@@ -45,3 +45,16 @@ is_list_of <- function(object, class) {
 }
 
 empty_named_list <- function() structure(list(), .Names = character(0))
+
+read_compressed_error <- function(e) {
+  e <- as.character(e)
+  alg <- regmatches(e, gregexpr("(?<=\')(.*?)(?=\')", e, perl = TRUE))[[1]]
+  msg <- paste("Unsupported compressed format", alg,
+    "\nPlease visit https://arrow.apache.org/docs/r/articles/install.html";,
+    "\nfor an explanation about optional features such as compression 
libraries enabled.",
+    "\nSetting LIBARROW_MINIMAL=false and then building the package from 
source fixes this,",
+    sprintf("\nor building libarrow with -DARROW_WITH_%s=ON and reinstalling 
the package.",

Review comment:
       you are right !!
   I went to the other computer and that approach is much easier




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to