* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘apcluster’ ...
** package ‘apcluster’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/tmp/RtmpC4KzHG/R.INSTALL25e96050becbac/apcluster/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c R_init_apcluster.cpp -o R_init_apcluster.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c aggExClusterC.cpp -o aggExClusterC.o
aggExClusterC.cpp: In function ‘int which_max_NoNA(Rcpp::NumericVector)’:
aggExClusterC.cpp:74:12: warning: ‘index’ may be used uninitialized [-Wmaybe-uninitialized]
   74 |     return index;
      |            ^~~~~
aggExClusterC.cpp:57:9: note: ‘index’ was declared here
   57 |     int index;
      |         ^~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c apclusterC.cpp -o apclusterC.o
apclusterC.cpp: In function ‘SEXPREC* apclusterC(SEXP, SEXP, SEXP, SEXP, SEXP)’:
apclusterC.cpp:69:44: warning: ‘yMax’ may be used uninitialized [-Wmaybe-uninitialized]
   69 |                                 (j == yMax ? max2 : max1)) + lam * oldVal;
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~~
apclusterC.cpp:49:17: note: ‘yMax’ was declared here
   49 |             int yMax;
      |                 ^~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c apclusterLeveragedC.cpp -o apclusterLeveragedC.o
apclusterLeveragedC.cpp: In function ‘SEXPREC* apclusterLeveragedC(SEXP, SEXP, SEXP, SEXP, SEXP)’:
apclusterLeveragedC.cpp:63:44: warning: ‘yMax’ may be used uninitialized [-Wmaybe-uninitialized]
   63 |                                 (j == yMax ? max2 : max1)) + lam * R(j, ii);
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~~
apclusterLeveragedC.cpp:37:17: note: ‘yMax’ was declared here
   37 |             int yMax;
      |                 ^~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c apclusterSparseC.cpp -o apclusterSparseC.o
gcc-14 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c distanceL.c -o distanceL.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c preferenceRangeC.cpp -o preferenceRangeC.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c preferenceRangeSparseC.cpp -o preferenceRangeSparseC.o
preferenceRangeSparseC.cpp: In function ‘SEXPREC* preferenceRangeSparseC(SEXP, SEXP, SEXP, SEXP, SEXP)’:
preferenceRangeSparseC.cpp:20:12: warning: unused variable ‘j’ [-Wunused-variable]
   20 |     int i, j, ii, K,  temp1, temp2, length;
      |            ^
preferenceRangeSparseC.cpp:20:15: warning: unused variable ‘ii’ [-Wunused-variable]
   20 |     int i, j, ii, K,  temp1, temp2, length;
      |               ^~
preferenceRangeSparseC.cpp:20:19: warning: unused variable ‘K’ [-Wunused-variable]
   20 |     int i, j, ii, K,  temp1, temp2, length;
      |                   ^
preferenceRangeSparseC.cpp:20:37: warning: unused variable ‘length’ [-Wunused-variable]
   20 |     int i, j, ii, K,  temp1, temp2, length;
      |                                     ^~~~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o apcluster.so R_init_apcluster.o aggExClusterC.o apclusterC.o apclusterLeveragedC.o apclusterSparseC.o distanceL.o preferenceRangeC.o preferenceRangeSparseC.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpC4KzHG/R.INSTALL25e96050becbac/apcluster/src'
make[1]: Entering directory '/tmp/RtmpC4KzHG/R.INSTALL25e96050becbac/apcluster/src'
make[1]: Leaving directory '/tmp/RtmpC4KzHG/R.INSTALL25e96050becbac/apcluster/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-apcluster/00new/apcluster/libs
** R
** inst
** byte-compile and prepare package for lazy loading
Creating a new generic function for ‘heatmap’ in package ‘apcluster’
Creating a generic function for ‘cutree’ from package ‘stats’ in package ‘apcluster’
** help
*** installing help indices
** 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 (apcluster)