Closed talgalili closed 7 years ago
Hi @mnwright
When trying to install ranger I get the following failure message:
> devtools::install_github("imbs-hl/ranger", subdir = "ranger-r-package/ranger") Downloading GitHub repo imbs-hl/ranger@master from URL https://api.github.com/repos/imbs-hl/ranger/zipball/master Installing ranger "C:/R/R-3.3.0/bin/x64/R" --no-site-file --no-environ --no-save --no-restore \ --quiet CMD INSTALL \ "C:/Users/junior/AppData/Local/Temp/RtmpcHpiRe/devtools1a2c1f9610b2/imbs-hl-ranger-7b7bd80/ranger-r-package/ranger" \ --library="C:/R/library" --install-tests * installing *source* package 'ranger' ... ** libs *** arch - i386 c:/Rtools/mingw_32/bin/g++ -std=c++0x -I"C:/R/R-33~1.0/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I"C:/R/library/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c AAA_check_cpp11.cpp -o AAA_check_cpp11.o c:/Rtools/mingw_32/bin/g++ -std=c++0x -I"C:/R/R-33~1.0/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I"C:/R/library/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c Data.cpp -o Data.o Data.cpp:1:1: error: expected unqualified-id before '.' token ../../../source/src/utility/Data.cpp ^ make: *** [Data.o] Error 1 Warning: running command 'make -f "Makevars.win" -f "C:/R/R-33~1.0/etc/i386/Makeconf" -f "C:/R/R-33~1.0/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="ranger.dll" OBJECTS="AAA_check_cpp11.o Data.o DataChar.o DataDouble.o DataFloat.o Forest.o ForestClassification.o ForestProbability.o ForestRegression.o ForestSurvival.o RcppExports.o Tree.o TreeClassification.o TreeProbability.o TreeRegression.o TreeSurvival.o rangerCpp.o utility.o"' had status 2 ERROR: compilation failed for package 'ranger' * removing 'C:/R/library/ranger' Error: Command failed (1)
Thanks.
Devtools has problems with symbolic links on Windows, see #145. I'll try to find a solution.
Further discussion in #145.
Hi @mnwright
When trying to install ranger I get the following failure message:
Thanks.