* using log directory 'd:/Rcompile/CRANpkg/local/3.5/MMVBVS.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 'MMVBVS/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'MMVBVS' version '0.8.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 'MMVBVS' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.5/MMVBVS.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'MMVBVS' ... ** package 'MMVBVS' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpKYBDwT/R.INSTALL1684561b4a60/MMVBVS/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:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/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/g++ -I"D:/RCompile/recent/R-3.5.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.5/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c mmvbvs.cpp -o mmvbvs.o mmvbvs.cpp: In function 'arma::mat em_with_zero_mean_c(arma::mat, int)': mmvbvs.cpp:107:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (0 < ind.size() && ind.size() < p){ ^ mmvbvs.cpp: In function 'arma::vec get_target_c(arma::vec, arma::mat, double, arma::mat, arma::vec, arma::vec)': mmvbvs.cpp:198:11: error: 'tgamma' is not a member of 'std' G = log(std::tgamma(s+1)*std::tgamma(P-s+1)/std::tgamma(P+2)); ^ mmvbvs.cpp:198:11: 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/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/RcppArmadillo.h:31, from mmvbvs.cpp:1: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/math.h:764:25: note: 'tgamma' extern double __cdecl tgamma (double); ^ In file included from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/armadillo:80:0, from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/RcppArmadilloForward.h:49, from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/RcppArmadillo.h:31, from mmvbvs.cpp:1: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/tr1/cmath:954:5: note: 'std::tr1::tgamma' tgamma(_Tp __x) ^ mmvbvs.cpp:198:28: error: 'tgamma' is not a member of 'std' G = log(std::tgamma(s+1)*std::tgamma(P-s+1)/std::tgamma(P+2)); ^ mmvbvs.cpp:198:28: 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/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/RcppArmadillo.h:31, from mmvbvs.cpp:1: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/math.h:764:25: note: 'tgamma' extern double __cdecl tgamma (double); ^ In file included from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/armadillo:80:0, from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/RcppArmadilloForward.h:49, from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/RcppArmadillo.h:31, from mmvbvs.cpp:1: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/tr1/cmath:954:5: note: 'std::tr1::tgamma' tgamma(_Tp __x) ^ mmvbvs.cpp:198:47: error: 'tgamma' is not a member of 'std' G = log(std::tgamma(s+1)*std::tgamma(P-s+1)/std::tgamma(P+2)); ^ mmvbvs.cpp:198:47: 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/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/RcppArmadillo.h:31, from mmvbvs.cpp:1: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/math.h:764:25: note: 'tgamma' extern double __cdecl tgamma (double); ^ In file included from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/armadillo:80:0, from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/RcppArmadilloForward.h:49, from d:/RCompile/CRANpkg/lib/3.5/RcppArmadillo/include/RcppArmadillo.h:31, from mmvbvs.cpp:1: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/tr1/cmath:954:5: note: 'std::tr1::tgamma' tgamma(_Tp __x) ^ mmvbvs.cpp: In function 'Rcpp::List update_h_c(double, int, arma::vec, arma::vec, arma::mat, arma::vec, int)': mmvbvs.cpp:399:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0; j < ind.size(); ++j){ ^ make[1]: *** [mmvbvs.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpKYBDwT/R.INSTALL1684561b4a60/MMVBVS/src-i386' ERROR: compilation failed for package 'MMVBVS' * removing 'd:/Rcompile/CRANpkg/lib/3.5/MMVBVS' In R CMD INSTALL