Found the following significant warnings:
  ./densities.h:58:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  ./densities.h:83:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  ./densities.h:108:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  ./densities.h:133:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  ./densities.h:160:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  ./densities.h:215:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  ./densities.h:240:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  ./densities.h:265:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  ./densities.h:462:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  ./densities.h:487:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  ./densities.h:512:15: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  nLogLike.cpp:242:19: warning: 'is_finite<double>' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/momentuHMM.Rcheck/00install.out’ for details.
* used C compiler: ‘Debian clang version 19.1.7 (3+b2)’
* used C++ compiler: ‘Debian clang version 19.1.7 (3+b2)’