* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘greed’ ...
** package ‘greed’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
using C++11
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMTuZps/R.INSTALL2fa35243ffd8e1/greed/src'
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -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 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 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 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 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 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 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 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 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 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 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 unsigned int’} [-Wsign-compare]
  231 |   for(int i=0;i<IclModels.size();i++){
      |               ~^~~~~~~~~~~~~~~~~
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c DcLbm.cpp -o DcLbm.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c DcSbm.cpp -o DcSbm.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c DcSbmUndirected.cpp -o DcSbmUndirected.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c DiagGmm.cpp -o DiagGmm.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -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 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++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Gmm.cpp -o Gmm.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c MergeMat.cpp -o MergeMat.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Mm.cpp -o Mm.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Mregs.cpp -o Mregs.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Sbm.cpp -o Sbm.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c SbmUndirected.cpp -o SbmUndirected.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c SimpleIclModel.cpp -o SimpleIclModel.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c SpMergeMat.cpp -o SpMergeMat.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-14 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o greed.so 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 -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMTuZps/R.INSTALL2fa35243ffd8e1/greed/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMTuZps/R.INSTALL2fa35243ffd8e1/greed/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMTuZps/R.INSTALL2fa35243ffd8e1/greed/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-greed/00new/greed/libs
** 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
  converting help for package ‘greed’
    finding HTML links ... done
    Alg-class                               html  
    Books                                   html  
    CombinedModels                          html  
    CombinedModelsFit-class                 html  
    CombinedModelsPath-class                html  
    DcLbm                                   html  
    DcLbmFit-class                          html  
    DcLbmPath-class                         html  
    DcSbm                                   html  
    DcSbmFit-class                          html  
    DcSbmPath-class                         html  
    DiagGmm                                 html  
    DiagGmmFit-class                        html  
    DiagGmmPath-class                       html  
    DlvmCoPrior-class                       html  
    DlvmPrior-class                         html  
    Fifa                                    html  
    Football                                html  
    Genetic-class                           html  
    Gmm                                     html  
    GmmFit-class                            html  
    GmmPath-class                           html  
    H                                       html  
    Hybrid-class                            html  
    ICL                                     html  
    IclFit-class                            html  
    IclPath-class                           html  
    Jazz                                    html  
    K                                       html  
    Lca                                     html  
    LcaFit-class                            html  
    LcaPath-class                           html  
    MI                                      html  
    MoM                                     html  
    MoMFit-class                            html  
    MoMPath-class                           html  
    MoR                                     html  
    MoRFit-class                            html  
    MoRPath-class                           html  
    MultSbm                                 html  
    MultSbmFit-class                        html  
    MultSbmPath-class                       html  
    Multistarts-class                       html  
    NMI                                     html  
    Ndrangheta                              html  
    NewGuinea                               html  
    Sbm                                     html  
    SbmFit-class                            html  
    SbmPath-class                           html  
    Seed-class                              html  
    SevenGraders                            html  
    Youngpeoplesurvey                       html  
    available_algorithms                    html  
    available_models                        html  
    clustering                              html  
    coef-DcLbmFit-method                    html  
    coef-DcSbmFit-method                    html  
    coef-DiagGmmFit-method                  html  
    coef-GmmFit-method                      html  
    coef-IclFit-method                      html  
    coef-LcaFit-method                      html  
    coef-MoMFit-method                      html  
    coef-MoRFit-method                      html  
    coef-MultSbmFit-method                  html  
    coef-SbmFit-method                      html  
    cut-DcLbmPath-method                    html  
    cut-IclPath-method                      html  
    extractSubModel                         html  
    fashion                                 html  
    gmmpairs                                html  
    finding level-2 HTML links ... done

    greed                                   html  
    mushroom                                html  
    plot-DcLbmFit-missing-method            html  
    plot-DcLbmPath-missing-method           html  
    plot-DcSbmFit-missing-method            html  
    plot-DiagGmmFit-missing-method          html  
    plot-GmmFit-missing-method              html  
    plot-IclPath-missing-method             html  
    plot-LcaFit-missing-method              html  
    plot-MoMFit-missing-method              html  
    plot-MultSbmFit-missing-method          html  
    plot-SbmFit-missing-method              html  
    prior                                   html  
    rdcsbm                                  html  
    rlbm                                    html  
    rlca                                    html  
    rmm                                     html  
    rmreg                                   html  
    rmultsbm                                html  
    rsbm                                    html  
    show-IclFit-method                      html  
    spectral                                html  
    to_multinomial                          html  
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (greed)