* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘Ckmeans.1d.dp’ ...
** package ‘Ckmeans.1d.dp’ 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 '/home/hornik/tmp/scratch/Rtmp0syQf7/R.INSTALLe26fd2d90c5ff/Ckmeans.1d.dp/src'
g++-13 -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   -c Ckmeans.1d.dp.cpp -o Ckmeans.1d.dp.o
g++-13 -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   -c Ckmeans.1d.dp_main.cpp -o Ckmeans.1d.dp_main.o
g++-13 -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   -c EWL2_dynamic_prog.cpp -o EWL2_dynamic_prog.o
g++-13 -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   -c EWL2_fill_SMAWK.cpp -o EWL2_fill_SMAWK.o
EWL2_fill_SMAWK.cpp: In function ‘void EWL2::reduce_in_place(int, int, int, int, const std::vector<long unsigned int>&, std::vector<long unsigned int>&, const std::vector<std::vector<double> >&, const std::vector<std::vector<long unsigned int> >&, const std::vector<double>&, const std::vector<double>&)’:
EWL2_fill_SMAWK.cpp:46:8: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   46 |   if(N >= js.size()) {
      |      ~~^~~~~~~~~~~~
EWL2_fill_SMAWK.cpp:56:11: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
   56 |   while(m > N) { // js_reduced has more than N positions / columns
      |         ~~^~~
EWL2_fill_SMAWK.cpp:90:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   90 |   for(int r=(left+1); r < m; ++r) {
      |                       ~~^~~
EWL2_fill_SMAWK.cpp: In function ‘void EWL2::fill_even_positions(int, int, int, int, const std::vector<long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long unsigned int> >&, const std::vector<double>&, const std::vector<double>&)’:
EWL2_fill_SMAWK.cpp:135:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  135 |     for(++ r; r < n && js[r]<=jmax; r++) {
      |               ~~^~~
EWL2_fill_SMAWK.cpp:135:29: warning: comparison of integer expressions of different signedness: ‘const __gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare]
  135 |     for(++ r; r < n && js[r]<=jmax; r++) {
EWL2_fill_SMAWK.cpp:139:15: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare]
  139 |       if(jabs > i) break;
      |          ~~~~~^~~
EWL2_fill_SMAWK.cpp: In function ‘void EWL2::find_min_from_candidates(int, int, int, int, const std::vector<long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long unsigned int> >&, const std::vector<double>&, const std::vector<double>&)’:
EWL2_fill_SMAWK.cpp:187:16: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare]
  187 |       if(j_abs > i) break;
      |          ~~~~~~^~~
g++-13 -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   -c EWL2_fill_log_linear.cpp -o EWL2_fill_log_linear.o
g++-13 -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   -c EWL2_fill_quadratic.cpp -o EWL2_fill_quadratic.o
g++-13 -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   -c MCW_fill_SMAWK.cpp -o MCW_fill_SMAWK.o
MCW_fill_SMAWK.cpp: In function ‘void MCW_reduce_in_place(int, int, int, int, const std::vector<long unsigned int>&, std::vector<long unsigned int>&, const std::vector<std::vector<double> >&, const std::vector<std::vector<long unsigned int> >&, const std::vector<std::vector<double> >&, const std::vector<double>&, const std::vector<std::vector<double> >&)’:
MCW_fill_SMAWK.cpp:25:8: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   25 |   if(N >= js.size()) {
      |      ~~^~~~~~~~~~~~
MCW_fill_SMAWK.cpp:35:11: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
   35 |   while(m > N) { // js_reduced has more than N positions / columns
      |         ~~^~~
MCW_fill_SMAWK.cpp:69:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   69 |   for(int r=(left+1); r < m; ++r) {
      |                       ~~^~~
MCW_fill_SMAWK.cpp: In function ‘void MCW_fill_even_positions(int, int, int, int, const std::vector<long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long unsigned int> >&, const std::vector<std::vector<double> >&, const std::vector<double>&, const std::vector<std::vector<double> >&)’:
MCW_fill_SMAWK.cpp:116:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  116 |     for(++ r; r < n && js[r]<=jmax; r++) {
      |               ~~^~~
MCW_fill_SMAWK.cpp:116:29: warning: comparison of integer expressions of different signedness: ‘const __gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare]
  116 |     for(++ r; r < n && js[r]<=jmax; r++) {
MCW_fill_SMAWK.cpp:120:15: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare]
  120 |       if(jabs > i) break;
      |          ~~~~~^~~
MCW_fill_SMAWK.cpp: In function ‘void MCW_find_min_from_candidates(int, int, int, int, const std::vector<long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long unsigned int> >&, const std::vector<std::vector<double> >&, const std::vector<double>&, const std::vector<std::vector<double> >&)’:
MCW_fill_SMAWK.cpp:169:16: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare]
  169 |       if(j_abs > i) break;
      |          ~~~~~~^~~
g++-13 -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   -c MCW_functions.cpp -o MCW_functions.o
MCW_functions.cpp: In function ‘void MCW_fill_dp_matrix(const std::vector<double>&, const std::vector<std::vector<double> >&, std::vector<std::vector<double> >&, std::vector<std::vector<long unsigned int> >&, const std::string&)’:
MCW_functions.cpp:101:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  101 |     for (size_t l = 0; l < W; l++) {
      |                        ~~^~~
MCW_functions.cpp:113:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  113 |         for (size_t l = 0; l < W; l++) {
      |                            ~~^~~
MCW_functions.cpp: In function ‘void MCW_optimal_zoning(const std::vector<double>&, const std::vector<std::vector<double> >&, size_t, size_t, std::vector<int>&, std::vector<double>&, std::vector<double>&, std::vector<double>&, std::vector<double>&, std::string, std::string)’:
MCW_functions.cpp:551:9: warning: storing the address of local variable ‘x_sorted’ in ‘spx’ [-Wdangling-pointer=]
  551 |     spx = & x_sorted;
      |     ~~~~^~~~~~~~~~~~
MCW_functions.cpp:542:23: note: ‘x_sorted’ declared here
  542 |   std::vector<double> x_sorted(x);
      |                       ^~~~~~~~
MCW_functions.cpp:509:36: note: ‘spx’ declared here
  509 | static const std::vector<double> * spx;
      |                                    ^~~
g++-13 -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   -c MCW_main.cpp -o MCW_main.o
g++-13 -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   -c RcppExports.cpp -o RcppExports.o
g++-13 -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   -c dynamic_prog.cpp -o dynamic_prog.o
g++-13 -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   -c fill_SMAWK.cpp -o fill_SMAWK.o
fill_SMAWK.cpp: In function ‘void reduce_in_place(int, int, int, int, const std::vector<long unsigned int>&, std::vector<long unsigned int>&, const std::vector<std::vector<double> >&, const std::vector<std::vector<long unsigned int> >&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, DISSIMILARITY)’:
fill_SMAWK.cpp:56:8: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   56 |   if(N >= js.size()) {
      |      ~~^~~~~~~~~~~~
fill_SMAWK.cpp:66:11: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
   66 |   while(m > N) { // js_reduced has more than N positions / columns
      |         ~~^~~
fill_SMAWK.cpp:100:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  100 |   for(int r=(left+1); r < m; ++r) {
      |                       ~~^~~
fill_SMAWK.cpp: In function ‘void fill_even_positions(int, int, int, int, const std::vector<long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long unsigned int> >&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, DISSIMILARITY)’:
fill_SMAWK.cpp:148:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  148 |     for(++ r; r < n && js[r]<=jmax; r++) {
      |               ~~^~~
fill_SMAWK.cpp:148:29: warning: comparison of integer expressions of different signedness: ‘const __gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare]
  148 |     for(++ r; r < n && js[r]<=jmax; r++) {
fill_SMAWK.cpp:152:15: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare]
  152 |       if(jabs > i) break;
      |          ~~~~~^~~
fill_SMAWK.cpp: In function ‘void find_min_from_candidates(int, int, int, int, const std::vector<long unsigned int>&, std::vector<std::vector<double> >&, std::vector<std::vector<long unsigned int> >&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, DISSIMILARITY)’:
fill_SMAWK.cpp:203:16: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int’ [-Wsign-compare]
  203 |       if(j_abs > i) break;
      |          ~~~~~~^~~
g++-13 -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   -c fill_log_linear.cpp -o fill_log_linear.o
g++-13 -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   -c fill_quadratic.cpp -o fill_quadratic.o
g++-13 -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   -c select_levels.cpp -o select_levels.o
g++-13 -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   -c weighted_select_levels.cpp -o weighted_select_levels.o
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o Ckmeans.1d.dp.so Ckmeans.1d.dp.o Ckmeans.1d.dp_main.o EWL2_dynamic_prog.o EWL2_fill_SMAWK.o EWL2_fill_log_linear.o EWL2_fill_quadratic.o MCW_fill_SMAWK.o MCW_functions.o MCW_main.o RcppExports.o dynamic_prog.o fill_SMAWK.o fill_log_linear.o fill_quadratic.o select_levels.o weighted_select_levels.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp0syQf7/R.INSTALLe26fd2d90c5ff/Ckmeans.1d.dp/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp0syQf7/R.INSTALLe26fd2d90c5ff/Ckmeans.1d.dp/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp0syQf7/R.INSTALLe26fd2d90c5ff/Ckmeans.1d.dp/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-Ckmeans.1d.dp/00new/Ckmeans.1d.dp/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** 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 (Ckmeans.1d.dp)