* installing *source* package ‘greed’ ...
** this is package ‘greed’ version ‘0.6.2’
** package ‘greed’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)’
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-devel/greed/src'
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -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++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c DcLbm.cpp -o DcLbm.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c DcSbm.cpp -o DcSbm.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c DcSbmUndirected.cpp -o DcSbmUndirected.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c DiagGmm.cpp -o DiagGmm.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -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;
      |       ^
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Gmm.cpp -o Gmm.o
Fit.cpp: In function ‘IclModelEmission* init_emission_model(Rcpp::S4, Rcpp::List, arma::uvec, bool)’:
Fit.cpp:167:21: warning: ‘Memission’ may be used uninitialized [-Wmaybe-uninitialized]
  167 |     return(Memission);
      |                     ^
Fit.cpp:46:22: note: ‘Memission’ was declared here
   46 |   IclModelEmission * Memission;
      |                      ^~~~~~~~~
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c IclModel.cpp -o IclModel.o
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++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Lca.cpp -o Lca.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c MergeMat.cpp -o MergeMat.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)){
      |            ~~~^~~~~~~~~~~
IclModel.cpp:101:7: warning: variable ‘nbmove’ set but not used [-Wunused-but-set-variable=]
  101 |   int nbmove = 0;
      |       ^~~~~~
IclModel.cpp: In member function ‘arma::sp_mat IclModel::greedy_merge(const arma::sp_mat&)’:
IclModel.cpp:326:7: warning: variable ‘nbmerge’ set but not used [-Wunused-but-set-variable=]
  326 |   int nbmerge = 0;
      |       ^~~~~~~
IclModel.cpp: In member function ‘void IclModel::greedy_merge()’:
IclModel.cpp:391:7: warning: variable ‘nbmerge’ set but not used [-Wunused-but-set-variable=]
  391 |   int nbmerge = 0;
      |       ^~~~~~~
IclModel.cpp: In member function ‘Rcpp::List IclModel::greedy_merge_path()’:
IclModel.cpp:436:7: warning: variable ‘nbmerge’ set but not used [-Wunused-but-set-variable=]
  436 |   int nbmerge = 0;
      |       ^~~~~~~
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Mm.cpp -o Mm.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++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Mregs.cpp -o Mregs.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c MultSbm.cpp -o MultSbm.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c MultSbmUndirected.cpp -o MultSbmUndirected.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c RcppExports.cpp -o RcppExports.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++){
      |                           ~^~
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++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Sbm.cpp -o Sbm.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c SbmUndirected.cpp -o SbmUndirected.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -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++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c SimpleIclModel.cpp -o SimpleIclModel.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c SpMergeMat.cpp -o SpMergeMat.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -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++ -std=gnu++20 -shared -L/usr/local/lib64 -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/data/localhost/ripley/R/R-devel/lib -lRblas -lgfortran -lm -latomic_asneeded -lquadmath
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-devel/greed/src'
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-devel/greed/src'
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-devel/greed/src'
installing to /data/localhost/ripley/R/packages/tests-devel/greed.Rcheck/00LOCK-greed/00new/greed/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
creating formal generic function 'cut' in package 'greed'
creating formal generic function 'plot' in package 'greed'
creating formal generic function 'coef' in package 'greed'
  using implicit definition in package 'stats'
creating formal generic function 'reorder' in package 'greed'
  ignoring implicit definition in package 'stats'
** help
*** installing help indices
*** 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)