* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘hclust1d’ ...
** package ‘hclust1d’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/tmp/Rtmp8mNHfM/R.INSTALL3c86d84c02d6d0/hclust1d/src'
g++-13 -std=gnu++17 -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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c dedistance.cpp -o dedistance.o
g++-13 -std=gnu++17 -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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c hclust1d_heapbased.cpp -o hclust1d_heapbased.o
hclust1d_heapbased.cpp: In function ‘Rcpp::List hclust1d_heapbased(Rcpp::NumericVector&, int)’:
hclust1d_heapbased.cpp:221:53: warning: ‘id_centroid_aggregate’ may be used uninitialized [-Wmaybe-uninitialized]
  221 |             double distance = id_centroid_aggregate / id_cluster_count -
      |                               ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
hclust1d_heapbased.cpp:150:12: note: ‘id_centroid_aggregate’ was declared here
  150 |     double id_centroid_aggregate;
      |            ^~~~~~~~~~~~~~~~~~~~~
hclust1d_heapbased.cpp:315:63: warning: ‘id_cluster_count’ may be used uninitialized [-Wmaybe-uninitialized]
  315 |                          (right_part_cluster_counts[right_id] * id_cluster_count) /
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
hclust1d_heapbased.cpp:149:9: note: ‘id_cluster_count’ was declared here
  149 |     int id_cluster_count;
      |         ^~~~~~~~~~~~~~~~
hclust1d_heapbased.cpp:291:63: warning: ‘id_rightish_weighted_distance_sums’ may be used uninitialized [-Wmaybe-uninitialized]
  291 |                            id_rightish_weighted_distance_sums / id_cluster_count +
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
hclust1d_heapbased.cpp:151:12: note: ‘id_rightish_weighted_distance_sums’ was declared here
  151 |     double id_rightish_weighted_distance_sums;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hclust1d_heapbased.cpp:295:62: warning: ‘id_leftish_weighted_distance_sums’ may be used uninitialized [-Wmaybe-uninitialized]
  295 |           left_part_leftish_weighted_distance_sums[right_id] = id_leftish_weighted_distance_sums;
hclust1d_heapbased.cpp:152:12: note: ‘id_leftish_weighted_distance_sums’ was declared here
  152 |     double id_leftish_weighted_distance_sums;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c hclust1d_single.cpp -o hclust1d_single.o
g++-13 -std=gnu++17 -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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c heap.cpp -o heap.o
g++-13 -std=gnu++17 -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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c order.cpp -o order.o
g++-13 -std=gnu++17 -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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c sqrt.cpp -o sqrt.o
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o hclust1d.so RcppExports.o dedistance.o hclust1d_heapbased.o hclust1d_single.o heap.o order.o sqrt.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmp8mNHfM/R.INSTALL3c86d84c02d6d0/hclust1d/src'
make[1]: Entering directory '/tmp/Rtmp8mNHfM/R.INSTALL3c86d84c02d6d0/hclust1d/src'
make[1]: Leaving directory '/tmp/Rtmp8mNHfM/R.INSTALL3c86d84c02d6d0/hclust1d/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-hclust1d/00new/hclust1d/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘hclust1d’
    finding HTML links ... done
    hclust1d-package                        html  
    hclust1d                                html  
    supported_dist.methods                  html  
    supported_methods                       html  
** 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 (hclust1d)