* installing *source* package 'VarSelLCM' ... ** package 'VarSelLCM' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' make[1]: Entering directory '/d/temp/RtmpAX7DiC/R.INSTALL1b47c6fb41260/VarSelLCM/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Algorithm.cpp -o Algorithm.o Algorithm.cpp: In member function 'void Algorithm::Run(Rcpp::S4*)': Algorithm.cpp:29:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 29 | for (int ini=0; ini<omegainit.n_cols; ini++){ | ~~~^~~~~~~~~~~~~~~~~ Algorithm.cpp: In member function 'void Algorithm::Optimize_partition()': Algorithm.cpp:93:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 93 | for (int it=0; it < who.n_rows; it++){ | ~~~^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c AlgorithmCategorical.cpp -o AlgorithmCategorical.o AlgorithmCategorical.cpp: In member function 'double AlgorithmCategorical::IntegreOneVariableCategoricalDiscrim(const int&)': AlgorithmCategorical.cpp:18:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 18 | for (int i=0; i<data_p->m_whotakewhat[j][h].n_rows; i++) nkjh(m_zCandCurrent(data_p->m_whotakewhat[j][h](i)), h)+=data_p->m_w(data_p->m_whotakewhat[j][h](i)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AlgorithmCategorical.cpp: In member function 'double AlgorithmCategorical::IntegreOneVariableCategoricalDiscrim(const int&, const arma::colvec&)': AlgorithmCategorical.cpp:37:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 37 | for (int i=0; i<data_p->m_whotakewhat[j][h].n_rows; i++) nkjh(z(data_p->m_whotakewhat[j][h](i)), h)+=data_p->m_w(data_p->m_whotakewhat[j][h](i)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c AlgorithmContinuous.cpp -o AlgorithmContinuous.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c AlgorithmInteger.cpp -o AlgorithmInteger.o AlgorithmInteger.cpp: In member function 'double AlgorithmInteger::IntegreOneVariable(const arma::vec&, const int&)': AlgorithmInteger.cpp:24:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 24 | for (int i=0; i<v.n_rows; i++) | ~^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c AlgorithmMixed.cpp -o AlgorithmMixed.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DataCategorical.cpp -o DataCategorical.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DataContinuous.cpp -o DataContinuous.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DataInteger.cpp -o DataInteger.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DataMixed.cpp -o DataMixed.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ParamCategorical.cpp -o ParamCategorical.o ParamCategorical.cpp: In member function 'void ParamCategorical::egalise(arma::colvec)': ParamCategorical.cpp:26:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 26 | for (int j=0; j<omega.n_rows; j++){ | ~^~~~~~~~~~~~~ ParamCategorical.cpp:28:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 28 | for (int k=1; k<m_alpha[j].n_rows;k++){ | ~^~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ParamContinuous.cpp -o ParamContinuous.o ParamContinuous.cpp: In constructor 'ParamContinuous::ParamContinuous(const DataContinuous*, const arma::colvec&, const int&)': ParamContinuous.cpp:20:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 20 | for (int j=0; j<m_mu.n_cols; j++){ | ~^~~~~~~~~~~~ ParamContinuous.cpp:29:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 29 | for (int j=0; j<m_mu.n_cols; j++){ | ~^~~~~~~~~~~~ ParamContinuous.cpp: In constructor 'ParamContinuous::ParamContinuous(const DataContinuous*, const arma::colvec&, const int&, arma::ivec)': ParamContinuous.cpp:43:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 43 | for (int j=0; j<m_mu.n_cols; j++){ | ~^~~~~~~~~~~~ ParamContinuous.cpp:51:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 51 | for (int j=0; j<m_mu.n_cols; j++){ | ~^~~~~~~~~~~~ ParamContinuous.cpp: In member function 'void ParamContinuous::egalise(arma::colvec)': ParamContinuous.cpp:61:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 61 | for (int j=0; j<m_mu.n_cols; j++){ | ~^~~~~~~~~~~~ ParamContinuous.cpp:63:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 63 | for (int k=1; k<m_mu.n_rows;k++){ | ~^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ParamInteger.cpp -o ParamInteger.o ParamInteger.cpp: In constructor 'ParamInteger::ParamInteger(const DataInteger*, const arma::colvec&, const int&)': ParamInteger.cpp:18:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 18 | for (int j=0; j<m_lambda.n_cols; j++){ | ~^~~~~~~~~~~~~~~~ ParamInteger.cpp:25:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 25 | for (int j=0; j<m_lambda.n_cols; j++){ | ~^~~~~~~~~~~~~~~~ ParamInteger.cpp: In constructor 'ParamInteger::ParamInteger(const DataInteger*, const arma::colvec&, const int&, arma::ivec)': ParamInteger.cpp:39:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 39 | for (int j=0; j<m_lambda.n_cols; j++){ | ~^~~~~~~~~~~~~~~~ ParamInteger.cpp:45:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 45 | for (int j=0; j<m_lambda.n_cols; j++){ | ~^~~~~~~~~~~~~~~~ ParamInteger.cpp: In member function 'void ParamInteger::egalise(const DataInteger*, arma::colvec)': ParamInteger.cpp:54:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 54 | for (int j=0; j<m_lambda.n_cols; j++){ | ~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ParamMixed.cpp -o ParamMixed.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c VarSelLCMmixte.cpp -o VarSelLCMmixte.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c XEM.cpp -o XEM.o XEM.cpp: In member function 'void XEM::Run()': XEM.cpp:63:14: warning: unused variable 'indicebest' [-Wunused-variable] 63 | double indicebest = (loglikeSmall).max(index); | ^~~~~~~~~~ XEM.cpp: In member function 'arma::colvec XEM::FindZMAP()': XEM.cpp:75:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 75 | for (int i=0; i<tmplogproba.n_rows; i++){ | ~^~~~~~~~~~~~~~~~~~~ XEM.cpp:74:10: warning: variable 'max_val' set but not used [-Wunused-but-set-variable] 74 | double max_val=0; | ^~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c XEMCategorical.cpp -o XEMCategorical.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c XEMContinuous.cpp -o XEMContinuous.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c XEMInteger.cpp -o XEMInteger.o XEMInteger.cpp: In function 'arma::Col<double> dlogPoisson(const arma::Col<double>&, const arma::Col<double>&, double)': XEMInteger.cpp:6:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 6 | for (int i=0; i<tmpval.n_rows;i++) tmpval(i) -= lgamma(x(i)+1); | ~^~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c XEMMixed.cpp -o XEMMixed.o XEMMixed.cpp: In function 'arma::Col<double> dlogPoissonbis(const arma::Col<double>&, const arma::Col<double>&, double)': XEMMixed.cpp:11:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 11 | for (int i=0; i<tmpval.n_rows;i++) tmpval(i) -= lgamma(x(i)+1); | ~^~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -Wall -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c XEMPen.cpp -o XEMPen.o XEMPen.cpp: In function 'arma::Col<double> dlogPoissonter(const arma::Col<double>&, const arma::Col<double>&, double)': XEMPen.cpp:11:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 11 | for (int i=0; i<tmpval.n_rows;i++) tmpval(i) -= lgamma(x(i)+1); | ~^~~~~~~~~~~~~~ XEMPen.cpp: In member function 'void XEMPen::Run()': XEMPen.cpp:114:10: warning: variable 'indicebest' set but not used [-Wunused-but-set-variable] 114 | double indicebest = (loglikepen).max(index); | ^~~~~~~~~~ XEMPen.cpp: In member function 'arma::colvec XEMPen::FindZMAP()': XEMPen.cpp:131:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 131 | for (int i=0; i<tmplogproba.n_rows; i++){ | ~^~~~~~~~~~~~~~~~~~~ XEMPen.cpp:130:10: warning: variable 'max_val' set but not used [-Wunused-but-set-variable] 130 | double max_val=0; | ^~~~~~~ XEMPen.cpp: In member function 'void XEMPen::OneEM()': XEMPen.cpp:176:10: warning: unused variable 'repere' [-Wunused-variable] 176 | int repere=0; | ^~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o VarSelLCM.dll tmp.def Algorithm.o AlgorithmCategorical.o AlgorithmContinuous.o AlgorithmInteger.o AlgorithmMixed.o DataCategorical.o DataContinuous.o DataInteger.o DataMixed.o ParamCategorical.o ParamContinuous.o ParamInteger.o ParamMixed.o RcppExports.o VarSelLCMmixte.o XEM.o XEMCategorical.o XEMContinuous.o XEMInteger.o XEMMixed.o XEMPen.o -LD:/RCompile/recent/R-4.4.0/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.0/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.0/bin/x64 -lR make[1]: Leaving directory '/d/temp/RtmpAX7DiC/R.INSTALL1b47c6fb41260/VarSelLCM/src' make[1]: Entering directory '/d/temp/RtmpAX7DiC/R.INSTALL1b47c6fb41260/VarSelLCM/src' make[1]: Leaving directory '/d/temp/RtmpAX7DiC/R.INSTALL1b47c6fb41260/VarSelLCM/src' installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-VarSelLCM/00new/VarSelLCM/libs/x64 ** R ** data ** inst ** byte-compile and prepare package for lazy loading Creating a new generic function for 'predict' in package 'VarSelLCM' ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'VarSelLCM' as VarSelLCM_2.1.3.1.zip * DONE (VarSelLCM)