* installing *source* package ‘hdtg’ ...
** this is package ‘hdtg’ version ‘0.2.1’
** package ‘hdtg’ successfully unpacked and MD5 sums checked
** using staged installation
SIMD optimizations DISABLED for Debian/CRAN.
** libs
using C++ compiler: ‘g++ (GCC) 15.1.1 20250425 (Red Hat 15.1.1-1)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/hdtg/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/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I'/data/gannet/ripley/R/test-dev/RcppXsimd/include' -I/usr/local/include   -I. -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 RcppHarmonic.cpp -o RcppHarmonic.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/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I'/data/gannet/ripley/R/test-dev/RcppXsimd/include' -I/usr/local/include   -I. -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 RcppZigZag.cpp -o RcppZigZag.o
In file included from NoUTurn.h:30,
                 from RcppZigZag.cpp:11:
NutsTreeState.h: In member function ‘bool nuts::TreeState::checkNoUturn()’:
NutsTreeState.h:111:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘tcb::span<double>::index_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  111 |             for (int i = 0; i < positionFront.size(); ++i) {
      |                             ~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/tbb.h:32,
                 from /data/gannet/ripley/R/test-dev/RcppParallel/include/RcppParallel/TBB.h:10,
                 from /data/gannet/ripley/R/test-dev/RcppParallel/include/RcppParallel.h:24,
                 from RcppZigZag.cpp:8:
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h: In instantiation of ‘tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]’:
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/tbb_thread.h:251:29:   required from here
  251 |             return as_atomic(location.my_id).compare_and_swap(value.my_id, comparand.my_id);
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h:544:12: warning: casting ‘long unsigned int’ to ‘tbb::atomic<long unsigned int>&’ does not use ‘constexpr tbb::atomic<long unsigned int>::atomic(long unsigned int)’ [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h: In instantiation of ‘tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = tbb::interface5::internal::hash_map_base::bucket*]’:
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/concurrent_hash_map.h:291:31:   required from here
  291 |                   && as_atomic(my_table[new_seg]).compare_and_swap(is_allocating, NULL) == NULL )
      |                      ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h:544:12: warning: casting ‘tbb::interface5::internal::hash_map_base::bucket*’ to ‘tbb::atomic<tbb::interface5::internal::hash_map_base::bucket*>&’ does not use ‘constexpr tbb::atomic<T*>::atomic(T*) [with T = tbb::interface5::internal::hash_map_base::bucket]’ [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
In file included from RcppZigZag.cpp:10:
ZigZag.h: In instantiation of ‘double zz::ZigZag<TypeInfo>::getKineticEnergy(zz::DblSpan) [with TypeInfo = zz::DoubleSseTypeInfo; zz::DblSpan = tcb::span<double>]’:
ZigZag.h:465:33:   required from ‘double zz::ZigZag<TypeInfo>::getLogPDFnoDet(zz::DblSpan, zz::DblSpan) [with TypeInfo = zz::DoubleSseTypeInfo; zz::DblSpan = tcb::span<double>]’
  465 |             return likelihood - getKineticEnergy(momentum);
      |                                 ^~~~~~~~~~~~~~~~
NoUTurn.h:65:71:   required from here
   65 |             const double initialJointDensity = zzEngine.getLogPDFnoDet(initialPosition, initialMomentum);
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ZigZag.h:470:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘tcb::span<double>::index_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  470 |             for (int i = 0; i < momentum.size(); ++i) {
      |                             ~~^~~~~~~~~~~~~~~~~
ZigZag.h: In instantiation of ‘std::vector<double> zz::ZigZag<TypeInfo>::getVelocity(zz::DblSpan) [with TypeInfo = zz::DoubleSseTypeInfo; zz::DblSpan = tcb::span<double>]’:
ZigZag.h:197:37:   required from ‘double zz::ZigZag<TypeInfo>::operate(zz::DblSpan, zz::DblSpan, double) [with TypeInfo = zz::DoubleSseTypeInfo; zz::DblSpan = tcb::span<double>]’
  197 |             std::vector<double> v = getVelocity(momentum);
      |                                     ^~~~~~~~~~~
ZigZag.h:447:20:   required from ‘void zz::ZigZag<TypeInfo>::reversiblePositionMomentumUpdate(zz::DblSpan, zz::DblSpan, zz::DblSpan, int, double) [with TypeInfo = zz::DoubleSseTypeInfo; zz::DblSpan = tcb::span<double>]’
  447 |             operate(position, momentum, time);
      |             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
NoUTurn.h:151:54:   required from here
  151 |             zzEngine.reversiblePositionMomentumUpdate(position, momentum, gradient, direction, stepSize);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ZigZag.h:175:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  175 |             for (int i = 0; i < dimension; ++i) {
      |                             ~~^~~~~~~~~~~
ZigZag.h: In instantiation of ‘std::vector<double> zz::ZigZag<TypeInfo>::getVelocity(zz::DblSpan) [with TypeInfo = zz::DoubleNoSimdTypeInfo; zz::DblSpan = tcb::span<double>]’:
ZigZag.h:197:37:   required from ‘double zz::ZigZag<TypeInfo>::operate(zz::DblSpan, zz::DblSpan, double) [with TypeInfo = zz::DoubleNoSimdTypeInfo; zz::DblSpan = tcb::span<double>]’
  197 |             std::vector<double> v = getVelocity(momentum);
      |                                     ^~~~~~~~~~~
ZigZag.h:193:16:   required from here
  193 |         double operate(DblSpan position,
      |                ^~~~~~~
ZigZag.h:175:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  175 |             for (int i = 0; i < dimension; ++i) {
      |                             ~~^~~~~~~~~~~
ZigZag.h: In instantiation of ‘zz::MinTravelInfo zz::ZigZag<TypeInfo>::getNextBounceIrreversible(const Dynamics<T>&) [with R = double; TypeInfo = zz::DoubleNoSimdTypeInfo]’:
ZigZag.h:304:67:   required from ‘double zz::ZigZag<TypeInfo>::operateIrreversibleImpl(Dynamics<T>&, double) [with T = double; TypeInfo = zz::DoubleNoSimdTypeInfo]’
  304 |                 const auto firstBounce = getNextBounceIrreversible(dynamics);
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
ZigZag.h:217:43:   required from ‘double zz::ZigZag<TypeInfo>::operateIrreversible(zz::DblSpan, zz::DblSpan, double) [with TypeInfo = zz::DoubleNoSimdTypeInfo; zz::DblSpan = tcb::span<double>]’
  217 |             return operateIrreversibleImpl(dynamics, time);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ZigZag.h:208:16:   required from here
  208 |         double operateIrreversible(DblSpan position,
      |                ^~~~~~~~~~~~~~~~~~~
ZigZag.h:370:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  370 |             for (int i = 0; i < dimension; ++i) {
      |                             ~~^~~~~~~~~~~
ZigZag.h: In instantiation of ‘zz::MinTravelInfo zz::ZigZag<TypeInfo>::getNextBounceIrreversible(const Dynamics<T>&) [with R = double; TypeInfo = zz::DoubleSseTypeInfo]’:
ZigZag.h:304:67:   required from ‘double zz::ZigZag<TypeInfo>::operateIrreversibleImpl(Dynamics<T>&, double) [with T = double; TypeInfo = zz::DoubleSseTypeInfo]’
  304 |                 const auto firstBounce = getNextBounceIrreversible(dynamics);
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
ZigZag.h:217:43:   required from ‘double zz::ZigZag<TypeInfo>::operateIrreversible(zz::DblSpan, zz::DblSpan, double) [with TypeInfo = zz::DoubleSseTypeInfo; zz::DblSpan = tcb::span<double>]’
  217 |             return operateIrreversibleImpl(dynamics, time);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ZigZag.h:208:16:   required from here
  208 |         double operateIrreversible(DblSpan position,
      |                ^~~~~~~~~~~~~~~~~~~
ZigZag.h:370:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  370 |             for (int i = 0; i < dimension; ++i) {
      |                             ~~^~~~~~~~~~~
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/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I'/data/gannet/ripley/R/test-dev/RcppXsimd/include' -I/usr/local/include   -I. -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 -shared -L/usr/local/lib64 -o hdtg.so RcppHarmonic.o RcppZigZag.o RcppExports.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/hdtg/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/hdtg/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/hdtg/src'
installing to /data/gannet/ripley/R/packages/tests-devel/hdtg.Rcheck/00LOCK-hdtg/00new/hdtg/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 (hdtg)