[R] Installation of package "rio" broken

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Jun 15 00:00:00 CEST 2016



On 14.06.2016 21:01, Ista Zahn wrote:
> On Tue, Jun 14, 2016 at 3:19 PM,  <G.Maubach at gmx.de> wrote:
>> Hi all,
>>
>> today I wanted to install package "rio". As it depends on package "feather" which is only available as source I have chosen to install "rio" from source. The installations fails with the following messages:
>
> "feather" is available as in pre-compiled form for windows versions of
> R >= 3.3.0. Your simplest course of action is probably to update to
> the latest released version of R and install the pre-compiled
> packages.
>


Indeed, you need at least R-3.0.0 as this is compiled with gcc-4.9.3 
that supports the new standard.

Best,
Uwe Ligges


> Best,
> Ista
>
>>
>> -- cut --
>> * installing *source* package 'feather' ...
>> ** Paket 'feather' erfolgreich entpackt und MD5 Summen überprüft
>> ** libs
>>
>> *** arch - i386
>> g++ -m32 -std=c++0x -I"C:/PROGRA~1/R/R-32~1.2/include" -DNDEBUG -I.   -I"C:/Users/admin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall  -mtune=core2 -c RcppExports.cpp -o RcppExports.o
>> g++ -m32 -std=c++0x -I"C:/PROGRA~1/R/R-32~1.2/include" -DNDEBUG -I.   -I"C:/Users/admin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall  -mtune=core2 -c feather-read.cpp -o feather-read.o
>> g++ -m32 -std=c++0x -I"C:/PROGRA~1/R/R-32~1.2/include" -DNDEBUG -I.   -I"C:/Users/admin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall  -mtune=core2 -c feather-types.cpp -o feather-types.o
>> g++ -m32 -std=c++0x -I"C:/PROGRA~1/R/R-32~1.2/include" -DNDEBUG -I.   -I"C:/Users/admin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall  -mtune=core2 -c feather-write.cpp -o feather-write.o
>> g++ -m32 -std=c++0x -I"C:/PROGRA~1/R/R-32~1.2/include" -DNDEBUG -I.   -I"C:/Users/admin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall  -mtune=core2 -c feather/buffer.cc -o feather/buffer.o
>> g++ -m32 -std=c++0x -I"C:/PROGRA~1/R/R-32~1.2/include" -DNDEBUG -I.   -I"C:/Users/admin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall  -mtune=core2 -c feather/feather-c.cc -o feather/feather-c.o
>> g++ -m32 -std=c++0x -I"C:/PROGRA~1/R/R-32~1.2/include" -DNDEBUG -I.   -I"C:/Users/admin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall  -mtune=core2 -c feather/io.cc -o feather/io.o
>> feather/io.cc:18:0: warning: "NOMINMAX" redefined [enabled by default]
>> c:\program files\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/i686-w64-mingw32/bits/os_defines.h:46:0: note: this is the location of the previous definition
>> g++ -m32 -std=c++0x -I"C:/PROGRA~1/R/R-32~1.2/include" -DNDEBUG -I.   -I"C:/Users/admin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall  -mtune=core2 -c feather/metadata.cc -o feather/metadata.o
>> feather/metadata.cc:29:7: error: expected nested-name-specifier before 'FBString'
>> feather/metadata.cc:29:7: error: 'FBString' has not been declared
>> feather/metadata.cc:29:16: error: expected ';' before '=' token
>> feather/metadata.cc:29:16: error: expected unqualified-id before '=' token
>> feather/metadata.cc:32:7: error: expected nested-name-specifier before 'ColumnVector'
>> feather/metadata.cc:32:7: error: 'ColumnVector' has not been declared
>> feather/metadata.cc:32:20: error: expected ';' before '=' token
>> feather/metadata.cc:32:20: error: expected unqualified-id before '=' token
>> feather/metadata.cc:178:3: error: 'ColumnVector' does not name a type
>> feather/metadata.cc: In member function 'feather::Status feather::metadata::TableBuilder::Impl::Finish()':
>> feather/metadata.cc:146:5: error: 'FBString' was not declared in this scope
>> feather/metadata.cc:146:14: error: expected ';' before 'desc'
>> feather/metadata.cc:148:7: error: 'desc' was not declared in this scope
>> feather/metadata.cc:154:9: error: 'desc' was not declared in this scope
>> feather/metadata.cc:156:27: error: 'columns_' was not declared in this scope
>> feather/metadata.cc:157:34: error: unable to deduce 'auto' from '<expression error>'
>> feather/metadata.cc: In member function 'void feather::metadata::TableBuilder::Impl::add_column(const flatbuffers::Offset<feather::fbs::Column>&)':
>> feather/metadata.cc:173:5: error: 'columns_' was not declared in this scope
>> feather/metadata.cc: In constructor 'feather::metadata::TableBuilder::TableBuilder()':
>> feather/metadata.cc:190:5: error: type 'feather::metadata::TableBuilder' is not a direct base of 'feather::metadata::TableBuilder'
>> make: *** [feather/metadata.o] Error 1
>> Warnung: Ausführung von Kommando 'make -f "Makevars" -f "C:/PROGRA~1/R/R-32~1.2/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-32~1.2/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="feather.dll" OBJECTS="RcppExports.o feather-read.o feather-types.o feather-write.o"' ergab Status 2
>> ERROR: compilation failed for package 'feather'
>> * removing 'C:/Users/admin/Documents/R/win-library/3.2/feather'
>> Warning in install.packages :
>>   running command '"C:/PROGRA~1/R/R-32~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\admin\Documents\R\win-library\3.2" C:\Users\admin\AppData\Local\Temp\RtmpwNaGYz/downloaded_packages/feather_0.0.1.tar.gz' had status 1
>> Warning in install.packages :
>>   installation of package ‘feather’ had non-zero exit status
>> ERROR: dependency 'feather' is not available for package 'rio'
>> * removing 'C:/Users/admin/Documents/R/win-library/3.2/rio'
>> Warning in install.packages :
>>   running command '"C:/PROGRA~1/R/R-32~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\admin\Documents\R\win-library\3.2" C:\Users\admin\AppData\Local\Temp\RtmpwNaGYz/downloaded_packages/rio_0.4.6.tar.gz' had status 1
>> Warning in install.packages :
>>   installation of package ‘rio’ had non-zero exit status
>>
>> The downloaded source packages are in
>>         ‘C:\Users\admin\AppData\Local\Temp\RtmpwNaGYz\downloaded_packages’
>> -- cut --
>>
>> How can I fix that?
>>
>> Kind regards
>>
>> Georg Maubach
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list