You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Matthias M (Jira)" <ji...@apache.org> on 2021/07/29 15:17:00 UTC

[jira] [Comment Edited] (ARROW-13491) R/arrow compilation error for r_to_arrow

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

Matthias M edited comment on ARROW-13491 at 7/29/21, 3:16 PM:
--------------------------------------------------------------

[~npr] Both packages are already installed and on the latest version:

 

Package arrow-dataset-devel-5.0.0-1.el7.x86_64 already installed and latest version

Package parquet-devel-5.0.0-1.el7.x86_64 already installed and latest version


was (Author: matmu):
[~npr] Both packages are installed and on the latest version:

 

Package arrow-dataset-devel-5.0.0-1.el7.x86_64 already installed and latest version

Package parquet-devel-5.0.0-1.el7.x86_64 already installed and latest version

> R/arrow compilation error for r_to_arrow
> ----------------------------------------
>
>                 Key: ARROW-13491
>                 URL: https://issues.apache.org/jira/browse/ARROW-13491
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Matthias M
>            Priority: Major
>
> I successfully installed the C++ and Glib packages on my CentOS 7 server according to [https://arrow.apache.org/install/]
>  
>  
> {code:java}
> > install.packages("arrow")Installing package into ‘/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0’
>  (as ‘lib’ is unspecified)trying URL 'https://cran.rstudio.com/src/contrib/arrow_5.0.0.tar.gz'Content type 'application/x-gzip' length 463913 bytes (453 KB)==================================================downloaded 453 KB* installing source package ‘arrow’ ...** package ‘arrow’ successfully unpacked and MD5 sums checked
> using staged installation*** Arrow C++ libraries found via pkg-config at
>  PKG_CFLAGS= -DARROW_R_WITH_ARROW
>  PKG_LIBS= -larrow -fno-lto** libsg++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c RTasks.cpp -o RTasks.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c altrep.cpp -o altrep.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c array.cpp -o array.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c array_to_vector.cpp -o array_to_vector.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c arraydata.cpp -o arraydata.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c arrowExports.cpp -o arrowExports.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c buffer.cpp -o buffer.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c chunkedarray.cpp -o chunkedarray.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c compression.cpp -o compression.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c compute.cpp -o compute.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c config.cpp -o config.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c csv.cpp -o csv.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c dataset.cpp -o dataset.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c datatype.cpp -o datatype.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c expression.cpp -o expression.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c feather.cpp -o feather.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c field.cpp -o field.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c filesystem.cpp -o filesystem.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c imports.cpp -o imports.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c io.cpp -o io.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c json.cpp -o json.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c memorypool.cpp -o memorypool.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c message.cpp -o message.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c parquet.cpp -o parquet.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c py-to-r.cpp -o py-to-r.o
>  g++ -std=gnu++11 -I"/opt/R/4.0.1/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c r_to_arrow.cpp -o r_to_arrow.or_to_arrow.cpp: In instantiation of ‘const T arrow::r::RVectorIterator_ALTREP<T>::operator*() const [with T = double]’:
>  r_to_arrow.cpp:229:18: required from ‘arrow::Status arrow::r::VisitVector(Iterator, int64_t, AppendNull&&, AppendValue&&) [with Iterator = arrow::r::RVectorIterator_ALTREP<double>; AppendNull = arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_base_of<arrow::TimeType, T>::value, void>::type>::Extend(SEXP, int64_t, int64_t) [with T = arrow::Time64Type; typename std::enable_if<std::is_base_of<arrow::TimeType, T>::value, void>::type = void; SEXP = SEXPREC*; int64_t = long int]::_lambda74&; AppendValue = arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_base_of<arrow::TimeType, T>::value, void>::type>::Extend(SEXP, int64_t, int64_t) [with T = arrow::Time64Type; typename std::enable_if<std::is_base_of<arrow::TimeType, T>::value, void>::type = void; SEXP = SEXPREC*; int64_t = long int]::_lambda75&; int64_t = long int]’
>  r_to_arrow.cpp:621:38: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_base_of<arrow::TimeType, T>::value, void>::type>::Extend(SEXP, int64_t, int64_t) [with T = arrow::Time64Type; typename std::enable_if<std::is_base_of<arrow::TimeType, T>::value, void>::type = void; SEXP = SEXPREC*; int64_t = long int]’
>  r_to_arrow.cpp:1458:1: required from here
>  r_to_arrow.cpp:209:47: error: passing ‘const r_vector_iterator {aka const cpp11::r_vector<double>::const_iterator}’ as ‘this’ argument of ‘T cpp11::r_vector<T>::const_iterator::operator*() [with T = double]’ discards qualifiers [-fpermissive]
>  const T operator*() const { return GetValue(*it_); }
>  ^r_to_arrow.cpp: In instantiation of ‘const T arrow::r::RVectorIterator_ALTREP<T>::operator*() const [with T = cpp11::r_bool]’:
>  r_to_arrow.cpp:229:18: required from ‘arrow::Status arrow::r::VisitVector(Iterator, int64_t, AppendNull&&, AppendValue&&) [with Iterator = arrow::r::RVectorIterator_ALTREP<cpp11::r_bool>; AppendNull = arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_same<arrow::BooleanType, T>::value, void>::type>::Extend_impl(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<cpp11::r_bool>; T = arrow::BooleanType; typename std::enable_if<std::is_same<arrow::BooleanType, T>::value, void>::type = void; int64_t = long int]::_lambda67&; AppendValue = arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_same<arrow::BooleanType, T>::value, void>::type>::Extend_impl(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<cpp11::r_bool>; T = arrow::BooleanType; typename std::enable_if<std::is_same<arrow::BooleanType, T>::value, void>::type = void; int64_t = long int]::_lambda68&; int64_t = long int]’
>  r_to_arrow.cpp:464:59: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_same<arrow::BooleanType, T>::value, void>::type>::Extend_impl(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<cpp11::r_bool>; T = arrow::BooleanType; typename std::enable_if<std::is_same<arrow::BooleanType, T>::value, void>::type = void; int64_t = long int]’
>  r_to_arrow.cpp:440:80: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_same<arrow::BooleanType, T>::value, void>::type>::Extend(SEXP, int64_t, int64_t) [with T = arrow::BooleanType; typename std::enable_if<std::is_same<arrow::BooleanType, T>::value, void>::type = void; SEXP = SEXPREC*; int64_t = long int]’
>  r_to_arrow.cpp:1458:1: required from here
>  r_to_arrow.cpp:209:47: error: passing ‘const r_vector_iterator {aka const cpp11::r_vector<cpp11::r_bool>::const_iterator}’ as ‘this’ argument of ‘T cpp11::r_vector<T>::const_iterator::operator*() [with T = cpp11::r_bool]’ discards qualifiers [-fpermissive]r_to_arrow.cpp: In instantiation of ‘const T arrow::r::RVectorIterator_ALTREP<T>::operator*() const [with T = int]’:
>  r_to_arrow.cpp:229:18: required from ‘arrow::Status arrow::r::VisitVector(Iterator, int64_t, AppendNull&&, AppendValue&&) [with Iterator = arrow::r::RVectorIterator_ALTREP<int>; AppendNull = arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_base_of<arrow::DateType, T>::value, void>::type>::AppendRange_Date(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<int>; T = arrow::Date64Type; typename std::enable_if<std::is_base_of<arrow::DateType, T>::value, void>::type = void; int64_t = long int]::_lambda70&; AppendValue = arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_base_of<arrow::DateType, T>::value, void>::type>::AppendRange_Date(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<int>; T = arrow::Date64Type; typename std::enable_if<std::is_base_of<arrow::DateType, T>::value, void>::type = void; int64_t = long int]::_lambda71&; int64_t = long int]’
>  r_to_arrow.cpp:519:59: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_base_of<arrow::DateType, T>::value, void>::type>::AppendRange_Date(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<int>; T = arrow::Date64Type; typename std::enable_if<std::is_base_of<arrow::DateType, T>::value, void>::type = void; int64_t = long int]’
>  r_to_arrow.cpp:500:44: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_base_of<arrow::DateType, T>::value, void>::type>::AppendRange_Date_dispatch(SEXP, int64_t, int64_t) [with r_value_type = int; T = arrow::Date64Type; typename std::enable_if<std::is_base_of<arrow::DateType, T>::value, void>::type = void; SEXP = SEXPREC*; int64_t = long int]’
>  r_to_arrow.cpp:475:41: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<std::is_base_of<arrow::DateType, T>::value, void>::type>::Extend(SEXP, int64_t, int64_t) [with T = arrow::Date64Type; typename std::enable_if<std::is_base_of<arrow::DateType, T>::value, void>::type = void; SEXP = SEXPREC*; int64_t = long int]’
>  r_to_arrow.cpp:1458:1: required from here
>  r_to_arrow.cpp:209:47: error: passing ‘const r_vector_iterator {aka const cpp11::r_vector<int>::const_iterator}’ as ‘this’ argument of ‘T cpp11::r_vector<T>::const_iterator::operator*() [with T = int]’ discards qualifiers [-fpermissive]r_to_arrow.cpp: In instantiation of ‘const T arrow::r::RVectorIterator_ALTREP<T>::operator*() const [with T = unsigned char]’:
>  r_to_arrow.cpp:229:18: required from ‘arrow::Status arrow::r::VisitVector(Iterator, int64_t, AppendNull&&, AppendValue&&) [with Iterator = arrow::r::RVectorIterator_ALTREP<unsigned char>; AppendNull = arrow::r::RPrimitiveConverter<T, typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type>::Extend_impl(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<unsigned char>; T = arrow::DoubleType; typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type = void; int64_t = long int]::_lambda63&; AppendValue = arrow::r::RPrimitiveConverter<T, typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type>::Extend_impl(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<unsigned char>; T = arrow::DoubleType; typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type = void; int64_t = long int]::_lambda64&; int64_t = long int]’
>  r_to_arrow.cpp:416:61: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type>::Extend_impl(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<unsigned char>; T = arrow::DoubleType; typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type = void; int64_t = long int]’
>  r_to_arrow.cpp:394:79: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type>::ExtendDispatch(SEXP, int64_t, int64_t) [with r_value_type = unsigned char; T = arrow::DoubleType; typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type = void; SEXP = SEXPREC*; int64_t = long int]’
>  r_to_arrow.cpp:368:30: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type>::Extend(SEXP, int64_t, int64_t) [with T = arrow::DoubleType; typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type = void; SEXP = SEXPREC*; int64_t = long int]’
>  r_to_arrow.cpp:1458:1: required from here
>  r_to_arrow.cpp:209:47: error: passing ‘const r_vector_iterator {aka const cpp11::r_vector<unsigned char>::const_iterator}’ as ‘this’ argument of ‘T cpp11::r_vector<T>::const_iterator::operator*() [with T = unsigned char]’ discards qualifiers [-fpermissive]r_to_arrow.cpp: In instantiation of ‘const T arrow::r::RVectorIterator_ALTREP<T>::operator*() const [with T = long int]’:
>  r_to_arrow.cpp:229:18: required from ‘arrow::Status arrow::r::VisitVector(Iterator, int64_t, AppendNull&&, AppendValue&&) [with Iterator = arrow::r::RVectorIterator_ALTREP<long int>; AppendNull = arrow::r::RPrimitiveConverter<T, typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type>::Extend_impl(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<long int>; T = arrow::DoubleType; typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type = void; int64_t = long int]::_lambda63&; AppendValue = arrow::r::RPrimitiveConverter<T, typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type>::Extend_impl(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<long int>; T = arrow::DoubleType; typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type = void; int64_t = long int]::_lambda64&; int64_t = long int]’
>  r_to_arrow.cpp:416:61: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type>::Extend_impl(Iterator, int64_t) [with Iterator = arrow::r::RVectorIterator_ALTREP<long int>; T = arrow::DoubleType; typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type = void; int64_t = long int]’
>  r_to_arrow.cpp:394:79: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type>::ExtendDispatch(SEXP, int64_t, int64_t) [with r_value_type = long int; T = arrow::DoubleType; typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type = void; SEXP = SEXPREC*; int64_t = long int]’
>  r_to_arrow.cpp:374:30: required from ‘arrow::Status arrow::r::RPrimitiveConverter<T, typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type>::Extend(SEXP, int64_t, int64_t) [with T = arrow::DoubleType; typename std::enable_if<(std::is_base_of<arrow::IntegerType, T>::value || std::is_base_of<arrow::FloatingPointType, T>::value), void>::type = void; SEXP = SEXPREC*; int64_t = long int]’
>  r_to_arrow.cpp:1458:1: required from here
>  r_to_arrow.cpp:209:47: error: passing ‘const r_vector_iterator {aka const cpp11::r_vector<double>::const_iterator}’ as ‘this’ argument of ‘T cpp11::r_vector<T>::const_iterator::operator*() [with T = double]’ discards qualifiers [-fpermissive]make: *** [r_to_arrow.o] Error 1ERROR: compilation failed for package ‘arrow’   removing ‘/opt/appdisk/lib/R/x86_64-pc-linux-gnu-library/4.0/arrow’Warning in install.packages :
>  installation of package ‘arrow’ had non-zero exit statusThe downloaded source packages are in
>  ‘/opt/appdisk/tmp/RtmpJx1S8X/downloaded_packages’ {code}
>  
> *Session info*
> {code:java}
> > sessionInfo()R version 4.0.1 (2020-06-06)
>  Platform: x86_64-pc-linux-gnu (64-bit)
>  Running under: CentOS Linux 7 (Core)
> Matrix products: default
>  BLAS/LAPACK: /usr/lib64/libopenblasp-r0.3.3.so
> locale:
>  [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C 
>  [10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
> attached base packages:
>  [1] stats graphics grDevices utils datasets methods base
> loaded via a namespace (and not attached):
>  [1] bit_4.0.4 compiler_4.0.1 DBI_1.1.0 tools_4.0.1 rstudioapi_0.13 memoise_1.1.0 Rcpp_1.0.5 bit64_4.0.5 vctrs_0.3.4 RSQLite_2.2.1 blob_1.2.1 digest_0.6.27 rlang_0.4.11
> {code}
>  



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