* installing *source* package 'imbalance' ...
** package 'imbalance' 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/RtmpCezOjC/R.INSTALL29a485393e7/imbalance/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 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 mwmote.cpp -o mwmote.o
mwmote.cpp: In constructor 'HierarchicalClustering::HierarchicalClustering(arma::mat&)':
mwmote.cpp:25:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   25 |     for(int i = 0; i < dists.n_cols; i++){
      |                    ~~^~~~~~~~~~~~~~
mwmote.cpp:36:28: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   36 |       for(int j = i + 1; j < distance_matrix.n_cols; j++){
      |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~
mwmote.cpp: In member function 'void HierarchicalClustering::mergeNearestClusters()':
mwmote.cpp:53:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   53 |     for(int i = 0; i < distance_matrix.n_rows; i++){
      |                    ~~^~~~~~~~~~~~~~~~~~~~~~~~
mwmote.cpp:54:28: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   54 |       for(int j = i + 1; j < distance_matrix.n_cols; j++){
      |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~
mwmote.cpp:67:22: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
   67 |     for(int i = 0; i < cluster_i; i++)
      |                    ~~^~~~~~~~~~~
mwmote.cpp:70:34: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   70 |     for(int j = cluster_i + 1; j < distance_matrix.n_cols; j++)
      |                                ~~^~~~~~~~~~~~~~~~~~~~~~~~
mwmote.cpp: In member function 'std::vector<int, std::allocator<int> > HierarchicalClustering::getClusterAssignation()':
mwmote.cpp:97:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   97 |     for(int i=0; i < clusters.size(); i++){
      |                  ~~^~~~~~~~~~~~~~~~~
mwmote.cpp: In member function 'void HierarchicalClustering::mergeNearestClusters()':
mwmote.cpp:67:22: warning: 'cluster_i' may be used uninitialized [-Wmaybe-uninitialized]
   67 |     for(int i = 0; i < cluster_i; i++)
      |                    ~~^~~~~~~~~~~
mwmote.cpp:50:17: note: 'cluster_i' was declared here
   50 |     arma::uword cluster_i, cluster_j;
      |                 ^~~~~~~~~
mwmote.cpp:78:40: warning: 'cluster_j' may be used uninitialized [-Wmaybe-uninitialized]
   78 |     for (auto elem : clusters[cluster_j])
      |                                        ^
mwmote.cpp:50:28: note: 'cluster_j' was declared here
   50 |     arma::uword cluster_i, cluster_j;
      |                            ^~~~~~~~~
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 neater.cpp -o neater.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 pdfos.cpp -o pdfos.o
pdfos.cpp: In function 'CrossEvaluation computeCV(arma::mat&, arma::mat&, double)':
pdfos.cpp:29:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   29 |   for(arma::uword i = 0; i < m; i++){
      |                          ~~^~~
pdfos.cpp:30:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   30 |     for(arma::uword j = i + 1; j < m; j++){
      |                                ~~^~~
pdfos.cpp: In function 'double bestGaussianBandwidth(arma::mat&, arma::mat&)':
pdfos.cpp:122:10: warning: 'best_bandwidth' may be used uninitialized [-Wmaybe-uninitialized]
  122 |   return best_bandwidth;
      |          ^~~~~~~~~~~~~~
pdfos.cpp:79:10: note: 'best_bandwidth' was declared here
   79 |   double best_bandwidth;
      |          ^~~~~~~~~~~~~~
g++ -shared -s -static-libgcc -o imbalance.dll tmp.def RcppExports.o mwmote.o neater.o pdfos.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/RtmpCezOjC/R.INSTALL29a485393e7/imbalance/src'
make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpCezOjC/R.INSTALL29a485393e7/imbalance/src'
make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpCezOjC/R.INSTALL29a485393e7/imbalance/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-imbalance/00new/imbalance/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** 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 'imbalance' as imbalance_1.0.2.1.zip
* DONE (imbalance)