* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘rupturesRcpp’ ...
** this is package ‘rupturesRcpp’ version ‘1.0.0’
** package ‘rupturesRcpp’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp7voT9S/R.INSTALL3a456053505657/rupturesRcpp/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c L1_cwMed.cpp -o L1_cwMed.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c L2.cpp -o L2.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c LinearL2.cpp -o LinearL2.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c SIGMA.cpp -o SIGMA.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c VAR.cpp -o VAR.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c tmplBinSeg.cpp -o tmplBinSeg.o
tmplBinSeg.cpp: In function ‘Segment miniOptHeapCpp(const CostBase&, int, int, int, int, int, double)’:
tmplBinSeg.cpp:113:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
113 | for(int i = 0; i < allBkps.n_elem; i++){
| ~~^~~~~~~~~~~~~~~~
tmplBinSeg.cpp: At global scope:
tmplBinSeg.cpp:459:13: warning: ‘void LinearL2()’ defined but not used [-Wunused-function]
459 | static void LinearL2() {
| ^~~~~~~~
tmplBinSeg.cpp:412:13: warning: ‘void SIGMA()’ defined but not used [-Wunused-function]
412 | static void SIGMA() {
| ^~~~~
tmplBinSeg.cpp:365:13: warning: ‘void VAR()’ defined but not used [-Wunused-function]
365 | static void VAR() {
| ^~~
tmplBinSeg.cpp:317:13: warning: ‘void L2()’ defined but not used [-Wunused-function]
317 | static void L2() {
| ^~
tmplBinSeg.cpp:271:13: warning: ‘void L1_cwMedian()’ defined but not used [-Wunused-function]
271 | static void L1_cwMedian() {
| ^~~~~~~~~~~
tmplBinSeg.cpp: In function ‘Segment miniOptHeapCpp(const CostBase&, int, int, int, int, int, double)’:
tmplBinSeg.cpp:132:24: warning: ‘cp’ may be used uninitialized [-Wmaybe-uninitialized]
132 | minErr};
| ^
tmplBinSeg.cpp:102:7: note: ‘cp’ was declared here
102 | int cp;
| ^~
tmplBinSeg.cpp:107:10: warning: ‘minlErr’ may be used uninitialized [-Wmaybe-uninitialized]
107 | double minlErr;
| ^~~~~~~
tmplBinSeg.cpp:108:10: warning: ‘minrErr’ may be used uninitialized [-Wmaybe-uninitialized]
108 | double minrErr;
| ^~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c tmplPelt.cpp -o tmplPelt.o
tmplPelt.cpp: In instantiation of ‘std::vector<int, std::allocator<int> > PELTCppTmpl<CostType>::predict(double) [with CostType = Cost_L1_cwMed]’:
tmplPelt.cpp:210:53: required from here
210 | .method("predict", &PELTCppTmpl<Cost_L1_cwMed>::predict)
| ^~~~~~~
tmplPelt.cpp:109:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
109 | for (int j = 0; j < admissibleBkps.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
tmplPelt.cpp: In instantiation of ‘std::vector<int, std::allocator<int> > PELTCppTmpl<CostType>::predict(double) [with CostType = Cost_L2]’:
tmplPelt.cpp:255:47: required from here
255 | .method("predict", &PELTCppTmpl<Cost_L2>::predict)
| ^~~~~~~
tmplPelt.cpp:109:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
109 | for (int j = 0; j < admissibleBkps.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
tmplPelt.cpp: In instantiation of ‘std::vector<int, std::allocator<int> > PELTCppTmpl<CostType>::predict(double) [with CostType = Cost_VAR]’:
tmplPelt.cpp:302:48: required from here
302 | .method("predict", &PELTCppTmpl<Cost_VAR>::predict)
| ^~~~~~~
tmplPelt.cpp:109:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
109 | for (int j = 0; j < admissibleBkps.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
tmplPelt.cpp: In instantiation of ‘std::vector<int, std::allocator<int> > PELTCppTmpl<CostType>::predict(double) [with CostType = Cost_SIGMA]’:
tmplPelt.cpp:347:50: required from here
347 | .method("predict", &PELTCppTmpl<Cost_SIGMA>::predict)
| ^~~~~~~
tmplPelt.cpp:109:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
109 | for (int j = 0; j < admissibleBkps.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
tmplPelt.cpp: In instantiation of ‘std::vector<int, std::allocator<int> > PELTCppTmpl<CostType>::predict(double) [with CostType = Cost_LinearL2]’:
tmplPelt.cpp:396:53: required from here
396 | .method("predict", &PELTCppTmpl<Cost_LinearL2>::predict)
| ^~~~~~~
tmplPelt.cpp:109:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
109 | for (int j = 0; j < admissibleBkps.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
tmplPelt.cpp:357:13: warning: ‘void LinearL2()’ defined but not used [-Wunused-function]
357 | static void LinearL2() {
| ^~~~~~~~
tmplPelt.cpp:312:13: warning: ‘void SIGMA()’ defined but not used [-Wunused-function]
312 | static void SIGMA() {
| ^~~~~
tmplPelt.cpp:265:13: warning: ‘void VAR()’ defined but not used [-Wunused-function]
265 | static void VAR() {
| ^~~
tmplPelt.cpp:219:13: warning: ‘void L2()’ defined but not used [-Wunused-function]
219 | static void L2() {
| ^~
tmplPelt.cpp:174:13: warning: ‘void L1_cwMedian()’ defined but not used [-Wunused-function]
174 | static void L1_cwMedian() {
| ^~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c tmplWindow.cpp -o tmplWindow.o
tmplWindow.cpp:437:13: warning: ‘void LinearL2()’ defined but not used [-Wunused-function]
437 | static void LinearL2() {
| ^~~~~~~~
tmplWindow.cpp:381:13: warning: ‘void SIGMA()’ defined but not used [-Wunused-function]
381 | static void SIGMA() {
| ^~~~~
tmplWindow.cpp:324:13: warning: ‘void VAR()’ defined but not used [-Wunused-function]
324 | static void VAR() {
| ^~~
tmplWindow.cpp:273:13: warning: ‘void L2()’ defined but not used [-Wunused-function]
273 | static void L2() {
| ^~
tmplWindow.cpp:213:13: warning: ‘void L1_cwMedian()’ defined but not used [-Wunused-function]
213 | static void L1_cwMedian() {
| ^~~~~~~~~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o rupturesRcpp.so L1_cwMed.o L2.o LinearL2.o RcppExports.o SIGMA.o VAR.o tmplBinSeg.o tmplPelt.o tmplWindow.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp7voT9S/R.INSTALL3a456053505657/rupturesRcpp/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp7voT9S/R.INSTALL3a456053505657/rupturesRcpp/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp7voT9S/R.INSTALL3a456053505657/rupturesRcpp/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-rupturesRcpp/00new/rupturesRcpp/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (rupturesRcpp)