* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘offlineChange’ ...
** package ‘offlineChange’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpdLnRQw/R.INSTALL27173135dad36/offlineChange/src'
g++-14 -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++-14 -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 min_wgss.cpp -o min_wgss.o
min_wgss.cpp: In function ‘Rcpp::List PriorRangeOrderKmeansCpp(Rcpp::NumericMatrix, Rcpp::List, int)’:
min_wgss.cpp:291:109: warning: ‘best_ell’ may be used uninitialized [-Wmaybe-uninitialized]
  291 |         mean_each(i,_) = (num_each[i] * mean_each(i,_) - best_ell * best_mean_candidatePart) / (num_each[i] - best_ell);
      |                                                                                                ~~~~~~~~~~~~~^~~~~~~~~~~
min_wgss.cpp:264:11: note: ‘best_ell’ was declared here
  264 |       int best_ell;
      |           ^~~~~~~~
min_wgss.cpp: In function ‘Rcpp::List OrderKmeansCpp(Rcpp::NumericMatrix, int, int)’:
min_wgss.cpp:134:111: warning: ‘best_ell’ may be used uninitialized [-Wmaybe-uninitialized]
  134 |           mean_each(i,_) = (num_each[i] * mean_each(i,_) - best_ell * best_mean_candidatePart) / (num_each[i] - best_ell);
      |                                                                                                  ~~~~~~~~~~~~~^~~~~~~~~~~
min_wgss.cpp:108:13: note: ‘best_ell’ was declared here
  108 |         int best_ell;
      |             ^~~~~~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o offlineChange.so RcppExports.o min_wgss.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpdLnRQw/R.INSTALL27173135dad36/offlineChange/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpdLnRQw/R.INSTALL27173135dad36/offlineChange/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpdLnRQw/R.INSTALL27173135dad36/offlineChange/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-offlineChange/00new/offlineChange/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘offlineChange’
    finding HTML links ... done
    ChangePoints                            html  
    ChangePointsPlot                        html  
    GetLogLik                               html  
    GetMle                                  html  
    GetMleAr                                html  
    MultiWindow                             html  
    OrderKmeans                             html  
    OrderKmeansCpp                          html  
    PeakRange                               html  
    PriorRangeOrderKmeans                   html  
    PriorRangeOrderKmeansCpp                html  
    RangeToPoint                            html  
    ScorePlot                               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 (offlineChange)