* using log directory 'd:/Rcompile/CRANpkg/local/3.2/Rsampletrees.Rcheck' * using R version 3.2.5 (2016-04-14) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'Rsampletrees/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'Rsampletrees' version '1.0' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'Rsampletrees' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.2/Rsampletrees.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'Rsampletrees' ... ** package 'Rsampletrees' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpIT5WU3/R.INSTALL266c1e4a3302/Rsampletrees/src-i386' g++ -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -Id:/Rcompile/CRANpkg/extralibs215/local215/include -I../inst/include -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local323/include" -std=c++11 -I'C:\Program Files (x86)\GnuWin32\include' -O2 -Wall -mtune=core2 -c UPGMA.cpp -o UPGMA.o cc1plus.exe: error: unrecognized command line option '-std=c++11' make[1]: *** [UPGMA.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpIT5WU3/R.INSTALL266c1e4a3302/Rsampletrees/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="Rsampletrees.dll" OBJECTS="UPGMA.o misc.o models.o nodefunctions.o p1p2.o p3.o p4.o p5.o p6.o p7.o proposal.o rcpp_sampletrees.o readFiles.o registerDynamicSymbol.o rng.o sampletrees.o treeBuild.o treesummaries.o"' had status 2 make[1]: Entering directory `/cygdrive/d/temp/RtmpIT5WU3/R.INSTALL266c1e4a3302/Rsampletrees/src-i386' g++ -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -Id:/Rcompile/CRANpkg/extralibs215/local215/include -I../inst/include -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local323/include" -std=c++11 -I'C:\Program Files (x86)\GnuWin32\include' -O2 -Wall -mtune=core2 -c UPGMA.cpp -o UPGMA.o cc1plus.exe: error: unrecognized command line option '-std=c++11' make[1]: *** [UPGMA.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpIT5WU3/R.INSTALL266c1e4a3302/Rsampletrees/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="Rsampletrees.dll" OBJECTS="UPGMA.o misc.o models.o nodefunctions.o p1p2.o p3.o p4.o p5.o p6.o p7.o proposal.o rcpp_sampletrees.o readFiles.o registerDynamicSymbol.o rng.o sampletrees.o treeBuild.o treesummaries.o" symbols.rds' had status 2 ERROR: compilation failed for package 'Rsampletrees' * removing 'd:/Rcompile/CRANpkg/lib/3.2/Rsampletrees' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.2/Rsampletrees'