Found the following significant warnings:
  Grouping.cpp:343:8: warning: ‘eT arma::Mat<eT>::max(arma::uword&, arma::uword&) const [with eT = double; arma::uword = unsigned int]’ is deprecated: use .index_max() with ind2sub() instead [-Wdeprecated-declarations]
  Grouping.cpp:429:13: warning: ‘eT arma::Mat<eT>::max(arma::uword&, arma::uword&) const [with eT = double; arma::uword = unsigned int]’ is deprecated: use .index_max() with ind2sub() instead [-Wdeprecated-declarations]
  Grouping.cpp:496:13: warning: ‘eT arma::Mat<eT>::max(arma::uword&, arma::uword&) const [with eT = double; arma::uword = unsigned int]’ is deprecated: use .index_max() with ind2sub() instead [-Wdeprecated-declarations]
  Grouping.cpp:546:14: warning: ‘eT arma::Mat<eT>::max(arma::uword&, arma::uword&) const [with eT = double; arma::uword = unsigned int]’ is deprecated: use .index_max() with ind2sub() instead [-Wdeprecated-declarations]
  Grouping.cpp:584:14: warning: ‘eT arma::Mat<eT>::max(arma::uword&, arma::uword&) const [with eT = double; arma::uword = unsigned int]’ is deprecated: use .index_max() with ind2sub() instead [-Wdeprecated-declarations]
  pacotestFunctions.cpp:98:24: warning: ‘bool arma::is_finite(eT, const typename arma_scalar_only<T>::result*) [with eT = double; typename arma_scalar_only<T>::result = double]’ is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  pacotestFunctions.cpp:98:57: warning: ‘bool arma::is_finite(eT, const typename arma_scalar_only<T>::result*) [with eT = double; typename arma_scalar_only<T>::result = double]’ is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  pacotestFunctions.cpp:98:90: warning: ‘bool arma::is_finite(eT, const typename arma_scalar_only<T>::result*) [with eT = double; typename arma_scalar_only<T>::result = double]’ is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
See ‘/data/gannet/ripley/R/packages/tests-devel/pacotest.Rcheck/00install.out’ for details.
* used C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
* used C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’