* installing *source* package ‘LOMAR’ ...
** this is package ‘LOMAR’ version ‘0.5.0’
** package ‘LOMAR’ 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/LOMAR/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DBOOST_DISABLE_THREADS -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. -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DBOOST_DISABLE_THREADS -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 diag.cpp -o diag.o
In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:17,
from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/vector_property_map.hpp:14,
from /data/gannet/ripley/R/test-dev/BH/include/boost/property_map/property_map.hpp:598,
from ./utilities/property-maps.h:6,
from ./topology/complex-traits.h:6,
from ./topology/filtration.h:7,
from ./tdautils/ripsL2.h:6,
from diag.cpp:9:
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/shared_count.hpp:326:33: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
326 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
| ^~~~~~~~
In file included from /usr/include/c++/15/memory:80,
from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35,
from /data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/detail/shared_count.hpp:23:
/usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:354:31: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
354 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
| ^~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:365:22: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
365 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
| ^~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:423:34: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
423 | shared_ptr & operator=( std::auto_ptr<Y> & r )
| ^~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:430:34: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
430 | shared_ptr & operator=( std::auto_ptr<Y> && r )
| ^~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)’:
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/shared_ptr.hpp:432:38: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
432 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
| ^~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/bind/mem_fn.hpp:23,
from /data/gannet/ripley/R/test-dev/BH/include/boost/bind/bind.hpp:23,
from /data/gannet/ripley/R/test-dev/BH/include/boost/multi_index/detail/ord_index_impl.hpp:82,
from /data/gannet/ripley/R/test-dev/BH/include/boost/multi_index/ordered_index.hpp:17,
from ./topology/filtration.h:14:
/data/gannet/ripley/R/test-dev/BH/include/boost/get_pointer.hpp: At global scope:
/data/gannet/ripley/R/test-dev/BH/include/boost/get_pointer.hpp:48:40: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
48 | template<class T> T * get_pointer(std::auto_ptr<T> const& p)
| ^~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./topology/dynamic-persistence.h:332,
from ./tdautils/ripsL2.h:8:
./topology/dynamic-persistence.hpp: In member function ‘bool DynamicPersistenceTrails<Data_, ChainTraits_, ContainerTraits_, Element_, Comparison_, ConsistencyComparison_>::transpose(iterator, const DimensionFunctor&, Visitor)’:
./topology/dynamic-persistence.hpp:60:73: warning: typedef ‘TrailIterator’ locally defined but not used [-Wunused-local-typedefs]
60 | typedef typename Element::Trail::iterator TrailIterator;
| ^~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/BH/include/boost/scoped_ptr.hpp:13,
from /data/gannet/ripley/R/test-dev/BH/include/boost/graph/adjacency_list.hpp:22,
from ./topology/persistence-diagram.hpp:143,
from ./topology/persistence-diagram.h:176,
from ./tdautils/ripsL2.h:9:
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/scoped_ptr.hpp: At global scope:
/data/gannet/ripley/R/test-dev/BH/include/boost/smart_ptr/scoped_ptr.hpp:75:31: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
75 | explicit scoped_ptr( std::auto_ptr<T> p ) noexcept : px( p.release() )
| ^~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from diag.cpp:26:
./kde.h: In instantiation of ‘RealVector kde(const RealMatrix&, const RealMatrix&, unsigned int, unsigned int, unsigned int, double, const std::string&, const RealVector&, bool, const Print&) [with RealVector = Rcpp::Vector<14, Rcpp::PreserveStorage>; RealMatrix = Rcpp::Matrix<14>; Print = void(const char*, ...); std::string = std::__cxx11::basic_string<char>]’:
diag.cpp:166:13: required from here
166 | return kde(
| ~~~^
167 | X, Grid, X.nrow(), Grid.ncol(), Grid.nrow(), h, kertype, weight,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
168 | printProgress, Rprintf);
| ~~~~~~~~~~~~~~~~~~~~~~~
./kde.h:21:16: warning: unused variable ‘pi’ [-Wunused-variable]
21 | const double pi = 3.141592653589793;
| ^~
In file included from diag.cpp:13:
./tdautils/gridUtils.h: In instantiation of ‘void addOddTets(int, int, int, int, int, VectorList&) [with VectorList = std::vector<std::vector<unsigned int> >]’:
./tdautils/gridUtils.h:315:14: required from ‘void addAllTetrahedra(int, int, int, int, int, VectorList&) [with VectorList = std::vector<std::vector<unsigned int> >]’
315 | addOddTets(ncols, nrows, i, j, k, cmplx);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./tdautils/gridUtils.h:363:20: required from ‘void simplicesFromGrid(const DimensionVector&, int, VectorList&) [with DimensionVector = Rcpp::Vector<13>; VectorList = std::vector<std::vector<unsigned int> >]’
363 | addAllTetrahedra(ncols, nrows, i, j, k, cmplx);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./grid.h:90:22: required from ‘void gridFiltration(const RealVector&, const DimensionVector&, int, const std::string&, bool, const Print&, std::vector<ValueT>&, std::vector<double>&) [with RealVector = Rcpp::Vector<14, Rcpp::PreserveStorage>; DimensionVector = Rcpp::Vector<13>; Print = void(const char*, ...); VertexVector = std::vector<unsigned int>; std::string = std::__cxx11::basic_string<char>]’
90 | simplicesFromGrid(gridDim, maxdimension + 1, cmplx);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diag.cpp:68:17: required from here
68 | gridFiltration(
| ~~~~~~~~~~~~~~^
69 | FUNvalues, gridDim, maxdimension, decomposition, printProgress, Rprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | cmplx, values);
| ~~~~~~~~~~~~~~
./tdautils/gridUtils.h:183:13: warning: unused variable ‘value’ [-Wunused-variable]
183 | double value, value2; // max of value and value 2 is the fcn value.
| ^~~~~
./tdautils/gridUtils.h:183:20: warning: unused variable ‘value2’ [-Wunused-variable]
183 | double value, value2; // max of value and value 2 is the fcn value.
| ^~~~~~
In file included from /data/gannet/ripley/R/R-devel/include/R.h:73,
from diag.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/exceptions.h: In function ‘void Rcpp::Rf_warning(const char*, Args&& ...) [with Args = {const char*}]’:
/data/gannet/ripley/R/R-devel/include/R_ext/Error.h:85:17: warning: infinite recursion detected [-Winfinite-recursion]
85 | #define warning Rf_warning
| ^~~~~~~~~~
/data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/exceptions.h:190:17: note: in expansion of macro ‘warning’
190 | inline void warning(const char* fmt, Args&&... args ) {
| ^~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:133,
from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27,
from diag.cpp:6:
/data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/exceptions.h:191:19: note: recursive call
191 | Rf_warning("%s", tfm::format(fmt, std::forward<Args>(args)... ).c_str());
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -shared -L/usr/local/lib64 -o LOMAR.so RcppExports.o diag.o -lgmp
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/LOMAR/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/LOMAR/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/LOMAR/src'
installing to /data/gannet/ripley/R/packages/tests-devel/LOMAR.Rcheck/00LOCK-LOMAR/00new/LOMAR/libs
** R
** inst
** 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 (LOMAR)