* installing *source* package 'coda.base' ...
** package 'coda.base' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpKIdloZ/R.INSTALL1a3d47d5b46d9/coda.base/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -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.2/include" -DNDEBUG  -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 coda.cpp -o coda.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -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 principal_balances.cpp -o principal_balances.o
In file included from balance.h:5,
                 from principal_balances.cpp:5:
balance_evaluate.h: In constructor 'MaximumVariance::MaximumVariance(std::map<int, arma::Col<unsigned int> >&, arma::mat&)':
balance_evaluate.h:38:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::map<int, arma::Col<unsigned int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   38 |     for(int i = 0; i < nodes0.size(); i++){
      |                    ~~^~~~~~~~~~~~~~~
balance_evaluate.h:40:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::map<int, arma::Col<unsigned int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   40 |       for(int j = 0; j < nodes0.size(); j++){
      |                      ~~^~~~~~~~~~~~~~~
balance_evaluate.h: In member function 'virtual double MaximumVariance::eval(arma::uvec&, arma::uvec&, int, int)':
balance_evaluate.h:50:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
   50 |     for(unsigned int i=0; i<l;nL+=N[L[i++]]);
      |                           ~^~
balance_evaluate.h:53:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
   53 |     for(unsigned int i=0; i<r;nR+=N[R[i++]]);
      |                           ~^~
principal_balances.cpp: In function 'void optimise_balance_using_pc(Balance<MaximumVariance>&, arma::mat&)':
principal_balances.cpp:26:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   26 |     for(int i = 0; i < Xsub.n_cols; i++){
      |                    ~~^~~~~~~~~~~~~
principal_balances.cpp:28:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   28 |       for(int j = 1; j < balance.nodes[i].n_elem; j++){
      |                      ~~^~~~~~~~~~~~~~~~~~~~~~~~~
principal_balances.cpp: In function 'void optimise_using_pc_forcing_branch(Balance<MaximumVariance>&, arma::mat&, unsigned int)':
principal_balances.cpp:112:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  112 |     for(int i = 0; i < Xsub.n_cols; i++){
      |                    ~~^~~~~~~~~~~~~
principal_balances.cpp:114:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  114 |       for(int j = 1; j < balance.nodes[i].n_elem; j++){
      |                      ~~^~~~~~~~~~~~~~~~~~~~~~~~~
principal_balances.cpp: In function 'arma::mat find_PB_using_pc_recursively_forcing_parents(arma::mat&)':
principal_balances.cpp:383:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  383 |       for(int i = 0; i < zeros.n_elem; i++) Xsub.col(i) = X.col(zeros[i]);
      |                      ~~^~~~~~~~~~~~~~
balance.h: In instantiation of 'void Balance<EB>::setWithLogContrastForceBranch(arma::vec, arma::uvec) [with EB = MaximumVariance; arma::vec = arma::Col<double>; arma::uvec = arma::Col<unsigned int>]':
principal_balances.cpp:124:42:   required from here
balance.h:111:20: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
  111 |     for(int i=1; i < forced.size(); i++){
      |                  ~~^~~~~~~~~~~~~~~
In file included from balance.h:6:
balance_optimal.h: In instantiation of 'void b(int, int, int, arma::uvec&, arma::uvec&, std::vector<arma::Col<unsigned int> >&, int*, EB&) [with EB = MaximumVariance; arma::uvec = arma::Col<unsigned int>]':
balance_optimal.h:87:12:   required from 'void f(int, int, int, arma::uvec&, arma::uvec&, std::vector<arma::Col<unsigned int> >&, int*, EB&) [with EB = MaximumVariance; arma::uvec = arma::Col<unsigned int>]'
balance.h:80:10:   required from 'void Balance<EB>::setWithExhaustiveSearch() [with EB = MaximumVariance]'
principal_balances.cpp:13:34:   required from here
balance_optimal.h:112:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  112 |     while(A[nu] < mu - 1){
balance_optimal.h:132:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  132 |     while(A[nu] < mu - 1){
principal_balances.cpp:410:49: warning: 'bestR' may be used uninitialized [-Wmaybe-uninitialized]
  410 |       bal(no_zeros).fill(-1.0/l * sqrt((double)l*bestR/(l+bestR)));
      |                                        ~~~~~~~~~^~~~~~
principal_balances.cpp:373:21: note: 'bestR' was declared here
  373 |     unsigned r = 0, bestR;
      |                     ^~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o coda.base.dll tmp.def RcppExports.o coda.o principal_balances.o -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.2/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.2/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpKIdloZ/R.INSTALL1a3d47d5b46d9/coda.base/src'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpKIdloZ/R.INSTALL1a3d47d5b46d9/coda.base/src'
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpKIdloZ/R.INSTALL1a3d47d5b46d9/coda.base/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-coda.base/00new/coda.base/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** 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 'coda.base' as coda.base_0.5.5.zip
* DONE (coda.base)