* installing *source* package ‘rupturesRcpp’ ...
** this is package ‘rupturesRcpp’ version ‘1.0.2’
** package ‘rupturesRcpp’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/rupturesRcpp/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c L1_cwMed.cpp -o L1_cwMed.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c L2.cpp -o L2.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinearL2.cpp -o LinearL2.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c SIGMA.cpp -o SIGMA.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c VAR.cpp -o VAR.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c tmplBinSeg.cpp -o tmplBinSeg.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c tmplPelt.cpp -o tmplPelt.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:457:13: warning: ‘void LinearL2()’ defined but not used [-Wunused-function]
457 | static void LinearL2() {
| ^~~~~~~~
tmplBinSeg.cpp:411:13: warning: ‘void SIGMA()’ defined but not used [-Wunused-function]
411 | static void SIGMA() {
| ^~~~~
tmplBinSeg.cpp:364:13: warning: ‘void VAR()’ defined but not used [-Wunused-function]
364 | static void VAR() {
| ^~~
tmplBinSeg.cpp:316:13: warning: ‘void L2()’ defined but not used [-Wunused-function]
316 | static void L2() {
| ^~
tmplBinSeg.cpp:271:13: warning: ‘void L1_cwMedian()’ defined but not used [-Wunused-function]
271 | static void L1_cwMedian() {
| ^~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c tmplWindow.cpp -o tmplWindow.o
tmplPelt.cpp: In instantiation of ‘std::vector<int, std::allocator<int> > PELTCppTmpl<CostType>::predict(double) [with CostType = Cost_L1_cwMed]’:
tmplPelt.cpp:209:53: required from here
209 | .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:253:47: required from here
253 | .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:299:48: required from here
299 | .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:344:50: required from here
344 | .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:392:53: required from here
392 | .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:354:13: warning: ‘void LinearL2()’ defined but not used [-Wunused-function]
354 | static void LinearL2() {
| ^~~~~~~~
tmplPelt.cpp:309:13: warning: ‘void SIGMA()’ defined but not used [-Wunused-function]
309 | static void SIGMA() {
| ^~~~~
tmplPelt.cpp:263:13: warning: ‘void VAR()’ defined but not used [-Wunused-function]
263 | static void VAR() {
| ^~~
tmplPelt.cpp:218:13: warning: ‘void L2()’ defined but not used [-Wunused-function]
218 | static void L2() {
| ^~
tmplPelt.cpp:174:13: warning: ‘void L1_cwMedian()’ defined but not used [-Wunused-function]
174 | 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:132:24: warning: ‘minlErr’ may be used uninitialized [-Wmaybe-uninitialized]
132 | minErr};
| ^
tmplBinSeg.cpp:107:10: note: ‘minlErr’ was declared here
107 | double minlErr;
| ^~~~~~~
tmplBinSeg.cpp:132:24: warning: ‘minrErr’ may be used uninitialized [-Wmaybe-uninitialized]
132 | minErr};
| ^
tmplBinSeg.cpp:108:10: note: ‘minrErr’ was declared here
108 | double minrErr;
| ^~~~~~~
tmplWindow.cpp:438:13: warning: ‘void LinearL2()’ defined but not used [-Wunused-function]
438 | static void LinearL2() {
| ^~~~~~~~
tmplWindow.cpp:382:13: warning: ‘void SIGMA()’ defined but not used [-Wunused-function]
382 | static void SIGMA() {
| ^~~~~
tmplWindow.cpp:326:13: warning: ‘void VAR()’ defined but not used [-Wunused-function]
326 | static void VAR() {
| ^~~
tmplWindow.cpp:272:13: warning: ‘void L2()’ defined but not used [-Wunused-function]
272 | static void L2() {
| ^~
tmplWindow.cpp:213:13: warning: ‘void L1_cwMedian()’ defined but not used [-Wunused-function]
213 | static void L1_cwMedian() {
| ^~~~~~~~~~~
g++ -std=gnu++17 -shared -L/usr/local/lib64 -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/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/rupturesRcpp/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/rupturesRcpp/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/rupturesRcpp/src'
installing to /data/gannet/ripley/R/packages/tests-devel/rupturesRcpp.Rcheck/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)