* using log directory 'd:/Rcompile/CRANpkg/local/3.5/StereoMorph.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'StereoMorph/DESCRIPTION' ... OK * this is package 'StereoMorph' version '1.6.3' * 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 'StereoMorph' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.5/StereoMorph.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'StereoMorph' ... ** package 'StereoMorph' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/Rtmp6nI1fc/R.INSTALL24d03e35915/StereoMorph/src-i386' d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -I"D:/RCompile/recent/R-3.5.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.5/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o d:/Compiler/gcc-4.9.3/mingw_32/bin/gcc -I"D:/RCompile/recent/R-3.5.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.5/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O3 -Wall -std=gnu99 -mtune=core2 -c StereoMorph_init.c -o StereoMorph_init.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -I"D:/RCompile/recent/R-3.5.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.5/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c dilateImage.cpp -o dilateImage.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -I"D:/RCompile/recent/R-3.5.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.5/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c drawRectangle.cpp -o drawRectangle.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -I"D:/RCompile/recent/R-3.5.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.5/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c equalizeImageHist.cpp -o equalizeImageHist.o equalizeImageHist.cpp: In function 'Rcpp::NumericMatrix equalizeImageHist(Rcpp::NumericMatrix)': equalizeImageHist.cpp:18:15: error: 'round' is not a member of 'std' mat(j,i) = std::round(mat(j,i) * 255); ^ equalizeImageHist.cpp:18:15: note: suggested alternatives: In file included from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:44:0, from d:/RCompile/CRANpkg/lib/3.5/Rcpp/include/Rcpp/platform/compiler.h:100, from d:/RCompile/CRANpkg/lib/3.5/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.5/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.5/Rcpp/include/Rcpp.h:27, from equalizeImageHist.cpp:1: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/math.h:874:25: note: 'round' extern double __cdecl round (double); ^ In file included from d:/RCompile/CRANpkg/lib/3.5/Rcpp/include/Rcpp/sugar/block/block.h:26:0, from d:/RCompile/CRANpkg/lib/3.5/Rcpp/include/Rcpp/sugar/sugar.h:26, from d:/RCompile/CRANpkg/lib/3.5/Rcpp/include/Rcpp.h:78, from equalizeImageHist.cpp:1: d:/RCompile/CRANpkg/lib/3.5/Rcpp/include/Rcpp/sugar/functions/math.h:69:15: note: 'Rcpp::round' SUGAR_BLOCK_2(round, ::Rf_fround) // rounds 'x' to 'digits' decimals digits (used by R's round()) ^ d:/RCompile/CRANpkg/lib/3.5/Rcpp/include/Rcpp/sugar/block/SugarBlock_2.h:116:9: note: in definition of macro 'SUGAR_BLOCK_2' __NAME__( \ ^ make[1]: *** [equalizeImageHist.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/Rtmp6nI1fc/R.INSTALL24d03e35915/StereoMorph/src-i386' ERROR: compilation failed for package 'StereoMorph' * removing 'd:/Rcompile/CRANpkg/lib/3.5/StereoMorph' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.5/StereoMorph' In R CMD INSTALL