kohleth created ARROW-6029:
------------------------------

             Summary: [R] could not build
                 Key: ARROW-6029
                 URL: https://issues.apache.org/jira/browse/ARROW-6029
             Project: Apache Arrow
          Issue Type: Bug
          Components: R
    Affects Versions: 0.14.0
         Environment: > sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.2 LTS
            Reporter: kohleth


hi there,

when trying to build the R wrapper usingĀ 
{code:java}
remotes::install_github("apache/arrow", subdir = "r"){code}
I hit the following error:
Found pkg-config cflags and libs!
PKG_CFLAGS=-DNDEBUG -DARROW_R_WITH_ARROW
PKG_LIBS=-larrow -lparquet** libsg++ -std=gnu++11 -I"/usr/share/R/include" 
-DNDEBUG -DNDEBUG -DARROW_R_WITH_ARROW -I"/usr/lib/R/site-library/Rcpp/include" 
 -fvisibility=hidden -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-VjHo9C/r-base-3.6.0=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
array.cpp -o array.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG 
-DARROW_R_WITH_ARROW -I"/usr/lib/R/site-library/Rcpp/include"  
-fvisibility=hidden -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-VjHo9C/r-base-3.6.0=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
array__to_vector.cpp -o array__to_vector.oarray__to_vector.cpp: In function 
'Rcpp::List Table__to_dataframe(const std::shared_ptr<arrow::Table>&, bool)':
array__to_vector.cpp:819:65: error: 'using element_type = class arrow::Column 
\{aka class arrow::Column}' has no member named 'chunks'
     converters[i] = arrow::r::Converter::Make(table->column(i)->chunks());
                                                                 
^~~~~~array__to_vector.cpp:820:23: error: 'using element_type = class 
arrow::Table \{aka class arrow::Table}' has no member named 'field'
     names[i] = table->field(i)->name();
                       ^~~~~/usr/lib/R/etc/Makeconf:176: recipe for target 
'array__to_vector.o' failedmake: *** [array__to_vector.o] Error 1ERROR: 
compilation failed for package 'arrow'* removing 
'/home/kchia/R/x86_64-pc-linux-gnu-library/3.6/arrow'Error: Failed to install 
'arrow' from GitHub:
  (converted from warning) installation of package 
'/tmp/RtmpfYJZFa/file33fc6aee0ae6/arrow_0.14.0.9000.tar.gz' had non-zero exit 
status



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to