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

[jira] [Closed] (ARROW-13929) [R] Unable to install from CRAN

     [ https://issues.apache.org/jira/browse/ARROW-13929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nic Crane closed ARROW-13929.
-----------------------------
    Resolution: Cannot Reproduce

> [R] Unable to install from CRAN
> -------------------------------
>
>                 Key: ARROW-13929
>                 URL: https://issues.apache.org/jira/browse/ARROW-13929
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Mauricio 'Pachá' Vargas Sepúlveda
>            Priority: Major
>
> Hi!
>  
> Tha laptop finally threw smoke and I'm from another unit with fresh R (4.1.1) and Ubuntu (20.04)
> I see this when trying to install arrow
>  
> {code:java}
> pacha@pacha-laptop:~$ export NOT_CRAN=true
> pacha@pacha-laptop:~$ R
> R version 4.1.1 (2021-08-10) -- "Kick Things"
> Copyright (C) 2021 The R Foundation for Statistical Computing
> Platform: x86_64-pc-linux-gnu (64-bit)
> R es un software libre y viene sin GARANTIA ALGUNA.
> Usted puede redistribuirlo bajo ciertas circunstancias.
> Escriba 'license()' o 'licence()' para detalles de distribucion.
> R es un proyecto colaborativo con muchos contribuyentes.
> Escriba 'contributors()' para obtener más información y
> 'citation()' para saber cómo citar R o paquetes de R en publicaciones.
> Escriba 'demo()' para demostraciones, 'help()' para el sistema on-line de ayuda,
> o 'help.start()' para abrir el sistema de ayuda HTML con su navegador.
> Escriba 'q()' para salir de R.
> > install.packages("arrow")
> Installing package into ‘/home/pacha/R/x86_64-pc-linux-gnu-library/4.1’
> (as ‘lib’ is unspecified)
> probando la URL 'https://cloud.r-project.org/src/contrib/arrow_5.0.0.2.tar.gz'
> Content type 'application/x-gzip' length 483642 bytes (472 KB)
> ==================================================
> downloaded 472 KB
> * installing *source* package ‘arrow’ ...
> ** package ‘arrow’ successfully unpacked and MD5 sums checked
> ** using staged installation
> *** Using ARROW_HOME as the source of libarrow
> PKG_CFLAGS=-I/home/pacha/.arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_S3
> PKG_LIBS=-L/home/pacha/.arrow/lib -larrow_dataset -lparquet -larrow 
> ** libs
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/home/pacha/.arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_S3 -I../inst/include/ -fpic -g -O2 -fdebug-prefix-map=/build/r-base-QwogzP/r-base-4.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RTasks.cpp -o RTasks.o
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/home/pacha/.arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_S3 -I../inst/include/ -fpic -g -O2 -fdebug-prefix-map=/build/r-base-QwogzP/r-base-4.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c altrep.cpp -o altrep.o
> In file included from altrep.cpp:18:
> ./arrow_types.h:196:27: error: ‘WriteOptions’ is not a member of ‘arrow::csv’; did you mean ‘ParseOptions’?
>  196 | R6_CLASS_NAME(arrow::csv::WriteOptions, "CsvWriteOptions");
>  | ^~~~~~~~~~~~
> ./arrow_types.h:188:24: note: in definition of macro ‘R6_CLASS_NAME’
>  188 | struct r6_class_name<CLASS> { \
>  | ^~~~~
> ./arrow_types.h:196:27: error: ‘WriteOptions’ is not a member of ‘arrow::csv’; did you mean ‘ParseOptions’?
>  196 | R6_CLASS_NAME(arrow::csv::WriteOptions, "CsvWriteOptions");
>  | ^~~~~~~~~~~~
> ./arrow_types.h:188:24: note: in definition of macro ‘R6_CLASS_NAME’
>  188 | struct r6_class_name<CLASS> { \
>  | ^~~~~
> ./arrow_types.h:188:29: error: template argument 1 is invalid
>  188 | struct r6_class_name<CLASS> { \
>  | ^
> ./arrow_types.h:196:1: note: in expansion of macro ‘R6_CLASS_NAME’
>  196 | R6_CLASS_NAME(arrow::csv::WriteOptions, "CsvWriteOptions");
>  | ^~~~~~~~~~~~~
> make: *** [/usr/lib/R/etc/Makeconf:177: altrep.o] Error 1
> ERROR: compilation failed for package ‘arrow’
> * removing ‘/home/pacha/R/x86_64-pc-linux-gnu-library/4.1/arrow’
> The downloaded source packages are in
>  ‘/tmp/RtmpIEaRxv/downloaded_packages’
> Warning message:
> In install.packages("arrow") :
>  installation of package ‘arrow’ had non-zero exit status
> {code}
>  



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