* using log directory 'd:/Rcompile/CRANpkg/local/4.1/Rforestry.Rcheck' * using R version 4.1.3 (2022-03-10) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'Rforestry/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'Rforestry' version '0.10.0' * package encoding: UTF-8 * 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 'Rforestry' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.1/Rforestry.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'Rforestry' ... ** package 'Rforestry' successfully unpacked and MD5 sums checked ** using staged installation ** libs *** arch - i386 make[1]: Entering directory '/d/temp/Rtmpwzi5aK/R.INSTALL987c6580234d/Rforestry/src-i386' d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.3/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppArmadillo/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppThread/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RFNode.cpp -o RFNode.o RFNode.cpp:16:20: warning: extra ';' [-Wpedantic] RFNode::~RFNode(){}; ^ RFNode.cpp: In member function 'void RFNode::predict(std::vector&, std::vector >*, std::vector >&, std::vector*, std::vector*, std::vector >*, DataFrame*, arma::Mat*, bool, bool, double, unsigned int, size_t, std::vector*)': RFNode.cpp:307:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (draw == -1) { ~~~~~^~~~~ RFNode.cpp:360:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (draw == -1) { ~~~~~^~~~~ d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.3/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppArmadillo/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppThread/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.3/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppArmadillo/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppThread/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dataFrame.cpp -o dataFrame.o dataFrame.cpp:12:26: warning: extra ';' [-Wpedantic] DataFrame::~DataFrame(){}; ^ d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.3/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppArmadillo/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppThread/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c forestry.cpp -o forestry.o forestry.cpp:18:83: warning: extra ';' [-Wpedantic] _nthread(0), _OOBError(0), _splitMiddle(0),_minTreesPerFold(0), _doubleTree(0){}; ^ forestry.cpp:20:24: warning: extra ';' [-Wpedantic] forestry::~forestry(){}; ^ forestry.cpp:931:2: warning: extra ';' [-Wpedantic] }; ^ forestry.cpp:968:2: warning: extra ';' [-Wpedantic] }; ^ d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.3/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppArmadillo/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppThread/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c forestryTree.cpp -o forestryTree.o forestryTree.cpp:25:20: warning: extra ';' [-Wpedantic] _root(nullptr) {}; ^ forestryTree.cpp:27:33: warning: extra ';' [-Wpedantic] forestryTree::~forestryTree() {}; ^ d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.3/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppArmadillo/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppThread/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rcpp_cppBuildInterface.cpp -o rcpp_cppBuildInterface.o d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.3/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppArmadillo/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppThread/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sampling.cpp -o sampling.o d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.3/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppArmadillo/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppThread/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c treeSplitting.cpp -o treeSplitting.o d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.3/include" -DNDEBUG -DR_BUILD -DWIN_R_BUILD -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppArmadillo/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppThread/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c utils.cpp -o utils.o utils.cpp:20:6: error: redefinition of 'void print_vector(std::vector)' void print_vector( ^~~~~~~~~~~~ utils.cpp:9:6: note: 'void print_vector(std::vector)' previously defined here void print_vector( ^~~~~~~~~~~~ make[1]: *** [D:/RCompile/recent/R-4.1.3/etc/i386/Makeconf:245: utils.o] Error 1 make[1]: Leaving directory '/d/temp/Rtmpwzi5aK/R.INSTALL987c6580234d/Rforestry/src-i386' ERROR: compilation failed for package 'Rforestry' * removing 'd:/Rcompile/CRANpkg/lib/4.1/Rforestry' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.1/Rforestry'