* installing *source* package 'greed' ...
** package 'greed' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 12.3.0'
using C++11
make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpOQHuN6/R.INSTALL250e8508767b7/greed/src'
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c CombinedIclModel.cpp -o CombinedIclModel.o
In file included from CombinedIclModel.cpp:4:
CombinedIclModel.h: In destructor 'virtual CombinedIclModel::~CombinedIclModel()':
CombinedIclModel.h:33:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   33 |     for(int m=0;m<IclModels.size();m++){
      |                 ~^~~~~~~~~~~~~~~~~
CombinedIclModel.cpp: In member function 'virtual void CombinedIclModel::set_cl(arma::uvec)':
CombinedIclModel.cpp:27:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   27 |   for(int i=0;i<IclModels.size();i++){
      |               ~^~~~~~~~~~~~~~~~~
CombinedIclModel.cpp: In member function 'virtual Rcpp::S4 CombinedIclModel::get_model()':
CombinedIclModel.cpp:70:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   70 |   for(int i=0;i<IclModels.size();i++){
      |               ~^~~~~~~~~~~~~~~~~
CombinedIclModel.cpp: In member function 'virtual Rcpp::List CombinedIclModel::get_obs_stats()':
CombinedIclModel.cpp:82:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   82 |   for(int i=0;i<IclModels.size();i++){
      |               ~^~~~~~~~~~~~~~~~~
CombinedIclModel.cpp: In member function 'virtual double CombinedIclModel::icl_emiss(const Rcpp::List&)':
CombinedIclModel.cpp:94:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   94 |   for(int i=0;i<IclModels.size();i++){
      |               ~^~~~~~~~~~~~~~~~~
CombinedIclModel.cpp: In member function 'virtual double CombinedIclModel::icl_emiss(const Rcpp::List&, int, int)':
CombinedIclModel.cpp:108:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  108 |   for(int i=0;i<IclModels.size();i++){
      |               ~^~~~~~~~~~~~~~~~~
CombinedIclModel.cpp: In member function 'virtual arma::vec CombinedIclModel::delta_swap(int, arma::uvec)':
CombinedIclModel.cpp:163:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  163 |   for(int m=0;m<IclModels.size();m++){
      |               ~^~~~~~~~~~~~~~~~~
CombinedIclModel.cpp: In member function 'virtual void CombinedIclModel::swap_update(int, int)':
CombinedIclModel.cpp:179:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  179 |   for(int m=0;m<IclModels.size();m++){
      |               ~^~~~~~~~~~~~~~~~~
CombinedIclModel.cpp: In member function 'virtual double CombinedIclModel::delta_merge(int, int)':
CombinedIclModel.cpp:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  196 |   for(int i=0;i<IclModels.size();i++){
      |               ~^~~~~~~~~~~~~~~~~
CombinedIclModel.cpp: In member function 'virtual void CombinedIclModel::merge_update(int, int)':
CombinedIclModel.cpp:212:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  212 |   for(int i=0;i<IclModels.size();i++){
      |               ~^~~~~~~~~~~~~~~~~
CombinedIclModel.cpp: In member function 'virtual double CombinedIclModel::delta_merge_correction(int, int, int, int, const Rcpp::List&)':
CombinedIclModel.cpp:231:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  231 |   for(int i=0;i<IclModels.size();i++){
      |               ~^~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c DcLbm.cpp -o DcLbm.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c DcSbm.cpp -o DcSbm.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c DcSbmUndirected.cpp -o DcSbmUndirected.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c DiagGmm.cpp -o DiagGmm.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Fit.cpp -o Fit.o
In file included from Fit.cpp:24:
CombinedIclModel.h: In destructor 'virtual CombinedIclModel::~CombinedIclModel()':
CombinedIclModel.h:33:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<IclModelEmission*>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   33 |     for(int m=0;m<IclModels.size();m++){
      |                 ~^~~~~~~~~~~~~~~~~
Fit.cpp: In function 'IclModel* init(Rcpp::S4, Rcpp::List, arma::uvec, bool)':
Fit.cpp:176:7: warning: unused variable 'N' [-Wunused-variable]
  176 |   int N = clr.n_elem;
      |       ^
Fit.cpp: In function 'IclModelEmission* init_emission_model(Rcpp::S4, Rcpp::List, arma::uvec, bool)':
Fit.cpp:46:22: warning: 'Memission' may be used uninitialized [-Wmaybe-uninitialized]
   46 |   IclModelEmission * Memission;
      |                      ^~~~~~~~~
Fit.cpp: In function 'IclModel* init(Rcpp::S4, Rcpp::List, arma::uvec, bool)':
Fit.cpp:207:10: warning: 'M' may be used uninitialized [-Wmaybe-uninitialized]
  207 |   return M;
      |          ^
Fit.cpp:179:14: note: 'M' was declared here
  179 |   IclModel * M;
      |              ^
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Gmm.cpp -o Gmm.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c IclModel.cpp -o IclModel.o
IclModel.cpp: In member function 'void IclModel::greedy_swap(int, arma::vec, arma::uvec)':
IclModel.cpp:51:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   51 |         if(ncl!=cl(cnode)){
      |            ~~~^~~~~~~~~~~
IclModel.cpp: In member function 'void IclModel::greedy_swap(int, arma::vec, arma::sp_mat&)':
IclModel.cpp:132:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  132 |         if(ncl!=cl(cnode)){
      |            ~~~^~~~~~~~~~~
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Lca.cpp -o Lca.o
Lca.cpp: In member function 'virtual double Lca::icl_emiss(const Rcpp::List&)':
Lca.cpp:42:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   42 |   for(int j=0;j<X.n_cols;j++){
      |               ~^~~~~~~~~
Lca.cpp: In member function 'virtual double Lca::icl_emiss(const Rcpp::List&, int, int, bool)':
Lca.cpp:63:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   63 |   for(int j=0;j<X.n_cols;j++){
      |               ~^~~~~~~~~
Lca.cpp: In member function 'virtual arma::vec Lca::delta_swap(int, arma::uvec&, bool, arma::uvec, int)':
Lca.cpp:99:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   99 |       for(int v=0;v<X.n_cols;v++){
      |                   ~^~~~~~~~~
Lca.cpp: In member function 'virtual void Lca::swap_update(int, arma::uvec&, bool, int)':
Lca.cpp:119:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  119 |   for(int v=0;v<X.n_cols;v++){
      |               ~^~~~~~~~~
Lca.cpp: In member function 'virtual double Lca::delta_merge(int, int)':
Lca.cpp:146:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  146 |   for(int v=0;v<X.n_cols;v++){
      |               ~^~~~~~~~~
Lca.cpp: In member function 'virtual void Lca::merge_update(int, int)':
Lca.cpp:166:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  166 |   for(int v=0;v<X.n_cols;v++){
      |               ~^~~~~~~~~
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c MergeMat.cpp -o MergeMat.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Mm.cpp -o Mm.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Mregs.cpp -o Mregs.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c MultSbm.cpp -o MultSbm.o
MultSbm.cpp: In member function 'virtual arma::vec MultSbm::delta_swap(int, arma::uvec&, bool, arma::uvec, int)':
MultSbm.cpp:83:9: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   83 |     if(j!=i){
      |        ~^~~
MultSbm.cpp:101:30: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  101 |       for (arma::uword  m=0;m<M;++m){
      |                             ~^~
MultSbm.cpp:106:31: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  106 |       for (arma::uword  l=0; l<K;++l){
      |                              ~^~
MultSbm.cpp:107:32: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  107 |         for (arma::uword  m=0;m<M;++m){
      |                               ~^~
MultSbm.cpp: In member function 'virtual void MultSbm::swap_update(int, arma::uvec&, bool, int)':
MultSbm.cpp:132:9: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare]
  132 |     if(j!=i){
      |        ~^~~
MultSbm.cpp:141:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  141 |   for (arma::uword m=0;m<M;m++){
      |                        ~^~
MultSbm.cpp:145:27: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  145 |   for (arma::uword  l=0; l<K;++l){
      |                          ~^~
MultSbm.cpp:146:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  146 |     for (arma::uword  m=0;m<M;m++){
      |                           ~^~
MultSbm.cpp: In member function 'virtual double MultSbm::delta_merge(int, int)':
MultSbm.cpp:172:27: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  172 |   for (arma::uword  h=0; h<K;++h){
      |                          ~^~
MultSbm.cpp:173:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  173 |     for (arma::uword  m=0;m<M;m++){
      |                           ~^~
MultSbm.cpp: In member function 'virtual double MultSbm::delta_merge_correction(int, int, int, int, const Rcpp::List&)':
MultSbm.cpp:194:7: warning: unused variable 'cc' [-Wunused-variable]
  194 |   int cc, cc_old;
      |       ^~
MultSbm.cpp:194:11: warning: unused variable 'cc_old' [-Wunused-variable]
  194 |   int cc, cc_old;
      |           ^~~~~~
MultSbm.cpp:195:10: warning: unused variable 'oxc' [-Wunused-variable]
  195 |   double oxc,xc;
      |          ^~~
MultSbm.cpp:195:14: warning: unused variable 'xc' [-Wunused-variable]
  195 |   double oxc,xc;
      |              ^~
MultSbm.cpp: In member function 'virtual void MultSbm::merge_update(int, int)':
MultSbm.cpp:268:27: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  268 |   for (arma::uword  h=0; h<K;++h){
      |                          ~^~
MultSbm.cpp:269:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  269 |     for (arma::uword  m=0;m<M;m++){
      |                           ~^~
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c MultSbmUndirected.cpp -o MultSbmUndirected.o
MultSbmUndirected.cpp: In member function 'virtual double MultSbmUndirected::icl_emiss(const Rcpp::List&, int, int, bool)':
MultSbmUndirected.cpp:33:7: warning: unused variable 'cc' [-Wunused-variable]
   33 |   int cc = 0;
      |       ^~
MultSbmUndirected.cpp: In member function 'virtual double MultSbmUndirected::delta_merge_correction(int, int, int, int, const Rcpp::List&)':
MultSbmUndirected.cpp:72:7: warning: unused variable 'cc' [-Wunused-variable]
   72 |   int cc, cc_old;
      |       ^~
MultSbmUndirected.cpp:72:11: warning: unused variable 'cc_old' [-Wunused-variable]
   72 |   int cc, cc_old;
      |           ^~~~~~
MultSbmUndirected.cpp:73:10: warning: unused variable 'oxc' [-Wunused-variable]
   73 |   double oxc,xc;
      |          ^~~
MultSbmUndirected.cpp:73:14: warning: unused variable 'xc' [-Wunused-variable]
   73 |   double oxc,xc;
      |              ^~
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Sbm.cpp -o Sbm.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c SbmUndirected.cpp -o SbmUndirected.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c SimpleIclCoModel.cpp -o SimpleIclCoModel.o
SimpleIclCoModel.cpp: In member function 'virtual void SimpleIclCoModel::swap_update(int, int)':
SimpleIclCoModel.cpp:156:7: warning: unused variable 'cd' [-Wunused-variable]
  156 |   int cd = 0;
      |       ^~
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c SimpleIclModel.cpp -o SimpleIclModel.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c SpMergeMat.cpp -o SpMergeMat.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c gicl_tools.cpp -o gicl_tools.o
gicl_tools.cpp: In function 'arma::vec count(const arma::uvec&, int)':
gicl_tools.cpp:9:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
    9 |   for(int i = 0; i < cl.n_elem; ++i) {
      |                  ~~^~~~~~~~~~~
gicl_tools.cpp: In function 'arma::uvec to_zero_based(const arma::uvec&)':
gicl_tools.cpp:24:17: 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<cl.n_elem;i++){
      |                ~^~~~~~~~~~
gicl_tools.cpp: In function 'arma::umat table_count(arma::uvec, arma::uvec, int, int)':
gicl_tools.cpp:34:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   34 |   for(int i=0;i<x.n_rows;i++){
      |               ~^~~~~~~~~
gicl_tools.cpp: In function 'arma::cube gsum_cube(arma::uvec, const arma::cube&, int)':
gicl_tools.cpp:85:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   85 |   for(int i = 0; i < cl.n_elem; ++i) {
      |                  ~~^~~~~~~~~~~
gicl_tools.cpp:86:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   86 |     for(int j = 0; j < cl.n_elem; ++j) {
      |                    ~~^~~~~~~~~~~
gicl_tools.cpp: In function 'arma::sp_mat delcol(const arma::sp_mat&, int)':
gicl_tools.cpp:159:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  159 |     if(i.col()<ci){
      |        ~~~~~~~^~~
gicl_tools.cpp:162:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  162 |     if(i.col()>ci){
      |        ~~~~~~~^~~
gicl_tools.cpp: In function 'arma::sp_mat delrowcol_copy(const arma::sp_mat&, int)':
gicl_tools.cpp:179:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  179 |     if(i.row()>ci){
      |        ~~~~~~~^~~
gicl_tools.cpp:183:15: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  183 |     if(i.col()>ci){
      |        ~~~~~~~^~~
gicl_tools.cpp:186:16: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  186 |     if((i.row()!=ci) && (i.col()!=ci)){
      |         ~~~~~~~^~~~
gicl_tools.cpp:186:33: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  186 |     if((i.row()!=ci) && (i.col()!=ci)){
      |                          ~~~~~~~^~~~
gicl_tools.cpp: In function 'Rcpp::List mvlm_post_comp(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, double)':
gicl_tools.cpp:420:21: warning: unused variable 'm' [-Wunused-variable]
  420 |   int n = X.n_rows, m = X.n_cols, d=Y.n_cols;
      |                     ^
gicl_tools.cpp: In function 'Rcpp::List mvlm_post_add1_comp(Rcpp::List, arma::rowvec, arma::rowvec, arma::mat, arma::mat, arma::mat, double)':
gicl_tools.cpp:458:7: warning: unused variable 'm' [-Wunused-variable]
  458 |   int m = X.n_cols, d=Y.n_cols;
      |       ^
gicl_tools.cpp: In function 'Rcpp::List mvlm_post_del1_comp(Rcpp::List, arma::rowvec, arma::rowvec, arma::mat, arma::mat, arma::mat, double)':
gicl_tools.cpp:493:7: warning: unused variable 'm' [-Wunused-variable]
  493 |   int m = X.n_cols, d=Y.n_cols;
      |       ^
gicl_tools.cpp: In function 'Rcpp::List mvlm_post_merge_comp(Rcpp::List, Rcpp::List, arma::mat, arma::mat, arma::mat, double)':
gicl_tools.cpp:531:7: warning: unused variable 'm' [-Wunused-variable]
  531 |   int m = as<arma::mat>(current1["S"]).n_cols, d=as<arma::mat>(current1["Yty"]).n_cols;
      |       ^
gicl_tools.cpp: In function 'Rcpp::List gmm_marginal_spherical_merge(Rcpp::List, Rcpp::List, double, double, double, arma::rowvec)':
gicl_tools.cpp:765:10: warning: unused variable 'd' [-Wunused-variable]
  765 |   double d = m1.n_cols;
      |          ^
g++ -shared -s -static-libgcc -o greed.dll tmp.def CombinedIclModel.o DcLbm.o DcSbm.o DcSbmUndirected.o DiagGmm.o Fit.o Gmm.o IclModel.o Lca.o MergeMat.o Mm.o Mregs.o MultSbm.o MultSbmUndirected.o RcppExports.o Sbm.o SbmUndirected.o SimpleIclCoModel.o SimpleIclModel.o SpMergeMat.o gicl_tools.o -fopenmp -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpOQHuN6/R.INSTALL250e8508767b7/greed/src'
make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpOQHuN6/R.INSTALL250e8508767b7/greed/src'
make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpOQHuN6/R.INSTALL250e8508767b7/greed/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-greed/00new/greed/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Creating a new generic function for 'reorder' in package 'greed'
** help
*** installing help indices
*** copying figures
** 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 'greed' as greed_0.6.1.zip
* DONE (greed)