* installing *source* package ‘ernest’ ... ** this is package ‘ernest’ version ‘1.2.4’ ** package ‘ernest’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++ (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-LTO/ernest/src' g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -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 -flto=10 -c KMeansRexCore.cpp -o KMeansRexCore.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -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 -flto=10 -c cpp11.cpp -o cpp11.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -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 -flto=10 -c ellipsoid.cpp -o ellipsoid.o In file included from ellipsoid.h:17, from ellipsoid.cpp:10: utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref >)’: utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare] 71 | for (size_t i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ ellipsoid.cpp: In member function ‘std::__cxx11::list vol::Ellipsoid::Split(ern::ConstRef >, double, int) const’: ellipsoid.cpp:216:19: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 216 | if (idx0.size() < 2 * nvar_ || idx1.size() < 2 * nvar_) { | ~~~~~~~~~~~~^~~~~~~~~~~ ellipsoid.cpp:216:46: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 216 | if (idx0.size() < 2 * nvar_ || idx1.size() < 2 * nvar_) { | ~~~~~~~~~~~~^~~~~~~~~~~ g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -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 -flto=10 -c exported_utils.cpp -o exported_utils.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -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 -flto=10 -c propose-impl.cpp -o propose-impl.o In file included from ellipsoid.h:17, from rectangle.h:12, from propose-impl.cpp:11: utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref >)’: utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare] 71 | for (size_t i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ rectangle.h: In member function ‘ern::Vector vol::Rectangle::UniformSample() const’: rectangle.h:37:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 37 | for (size_t d = 0; d < nvar_; d++) { | ~~^~~~~~~ propose-impl.cpp: In function ‘cpp11::list RandomWalkImpl(cpp11::doubles, cpp11::function, double, int, double)’: propose-impl.cpp:26:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 26 | for (size_t draw = 0; draw < steps; draw++) { | ~~~~~^~~~~~~ propose-impl.cpp: In function ‘cpp11::list SliceImpl(cpp11::doubles, cpp11::function, double, cpp11::doubles, cpp11::doubles, int)’: propose-impl.cpp:57:15: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 57 | for (; draw < max_loop; draw++) { | ~~~~~^~~~~~~~~~ g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -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 -flto=10 -c rectangle.cpp -o rectangle.o In file included from ellipsoid.h:17, from rectangle.h:12, from rectangle.cpp:10: utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref >)’: utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare] 71 | for (size_t i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ rectangle.h: In member function ‘ern::Vector vol::Rectangle::UniformSample() const’: rectangle.h:37:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 37 | for (size_t d = 0; d < nvar_; d++) { | ~~^~~~~~~ rectangle.cpp: In member function ‘bool vol::Rectangle::Clamp(ern::ConstRef >, ern::ConstRef >)’: rectangle.cpp:22:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 22 | for (size_t d = 0; d < nvar_; d++) { | ~~^~~~~~~ g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -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 -flto=10 -c test-bounding.cpp -o test-bounding.o In file included from ellipsoid.h:17, from test-bounding.cpp:12: utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref >)’: utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare] 71 | for (size_t i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ In file included from test-bounding.cpp:13: rectangle.h: In member function ‘ern::Vector vol::Rectangle::UniformSample() const’: rectangle.h:37:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 37 | for (size_t d = 0; d < nvar_; d++) { | ~~^~~~~~~ test-bounding.cpp: In function ‘void ____C_A_T_C_H____T_E_S_T____0()’: test-bounding.cpp:79:19: warning: variable ‘shape’ set but not used [-Wunused-but-set-variable] 79 | Eigen::Matrix2d shape = Eigen::Matrix2d::Identity(); | ^~~~~ g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -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 -flto=10 -c test-random_vector.cpp -o test-random_vector.o In file included from test-random_vector.cpp:13: utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref >)’: utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare] 71 | for (size_t i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -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 -flto=10 -c test-runner.cpp -o test-runner.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_DONT_PARALLELIZE -I'/data/gannet/ripley/R/test-dev/cpp11/include' -I'/data/gannet/ripley/R/test-dev/cpp11eigen/include' -I'/data/gannet/ripley/R/test-dev/testthat/include' -I/usr/local/include -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 -flto=10 -c update_lrps-impl.cpp -o update_lrps-impl.o In file included from ellipsoid.h:17, from update_lrps-impl.cpp:16: utils.h: In function ‘void ern::ReflectWithinUnitCube(Ref >)’: utils.h:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase, 0, Eigen::InnerStride<1> > >::Index’ {aka ‘long int’} [-Wsign-compare] 71 | for (size_t i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ g++ -std=gnu++20 -shared -L/usr/local/lib64 -o ernest.so KMeansRexCore.o cpp11.o ellipsoid.o exported_utils.o propose-impl.o rectangle.o test-bounding.o test-random_vector.o test-runner.o update_lrps-impl.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath cpp11.cpp:60:13: warning: ‘run_testthat_tests’ violates the C++ One Definition Rule [-Wodr] 60 | extern SEXP run_testthat_tests(void *); | ^ /data/gannet/ripley/R/test-dev/testthat/include/testthat/testthat.h:172:17: note: ‘run_testthat_tests’ was previously declared here 172 | extern "C" SEXP run_testthat_tests(SEXP use_xml_sxp) { | ^ make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-LTO/ernest/src' installing to /data/gannet/ripley/R/packages/tests-LTO/Libs/ernest-lib/00LOCK-ernest/00new/ernest/libs ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 (ernest) Time 2:00.84, 148.14 + 9.68