* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘imbalance’ ...
** this is package ‘imbalance’ version ‘1.0.2.1’
** package ‘imbalance’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
using C++11
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpUaxwmE/R.INSTALL29a2ee8d8ab0/imbalance/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 RcppExports.cpp -o RcppExports.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from RcppExports.cpp:4:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
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 mwmote.cpp -o mwmote.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from mwmote.cpp:1:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
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 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;
| ^~~~~~~~~
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/legacy/armadillo:673,
from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:80,
from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In member function ‘eT& arma::Mat<eT>::operator()(arma::uword, arma::uword) [with eT = double]’,
inlined from ‘void HierarchicalClustering::mergeNearestClusters()’ at mwmote.cpp:68:86:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/legacy/armadillo_bits/Mat_meat.hpp:6533:50: warning: ‘cluster_j’ may be used uninitialized [-Wmaybe-uninitialized]
6533 | arma_conform_check_bounds( ((in_row >= n_rows) || (in_col >= n_cols)), "Mat::operator(): index out of bounds" );
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
mwmote.cpp: In member function ‘void HierarchicalClustering::mergeNearestClusters()’:
mwmote.cpp:50:28: note: ‘cluster_j’ was declared here
50 | arma::uword cluster_i, cluster_j;
| ^~~~~~~~~
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 neater.cpp -o neater.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from neater.cpp:1:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
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 pdfos.cpp -o pdfos.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from pdfos.cpp:1:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
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++-14 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o imbalance.so RcppExports.o mwmote.o neater.o pdfos.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/RtmpUaxwmE/R.INSTALL29a2ee8d8ab0/imbalance/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpUaxwmE/R.INSTALL29a2ee8d8ab0/imbalance/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpUaxwmE/R.INSTALL29a2ee8d8ab0/imbalance/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-imbalance/00new/imbalance/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘imbalance’
finding HTML links ... done
banana html
ecoli1 html
glass0 html
haberman html
imbalance html
imbalanceRatio html
iris0 html
mwmote html
neater html
newthyroid1 html
oversample html
pdfos html
plotComparison html
racog html
rwo html
trainWrapper html
wisconsin html
wracog html
yeast4 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 (imbalance)