Found the following significant warnings:
  exp_counts_occu.cpp:12:17: warning: 'bool arma::is_finite(eT, const typename arma_scalar_only<eT>::result*) [with eT = double; typename arma_scalar_only<eT>::result = double]' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  exp_counts_occu.cpp:58:19: warning: 'bool arma::is_finite(eT, const typename arma_scalar_only<eT>::result*) [with eT = double; typename arma_scalar_only<eT>::result = double]' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  simz.cpp:22:20: warning: 'bool arma::is_finite(eT, const typename arma_scalar_only<eT>::result*) [with eT = double; typename arma_scalar_only<eT>::result = double]' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  simz.cpp:31:24: warning: 'bool arma::is_finite(eT, const typename arma_scalar_only<eT>::result*) [with eT = double; typename arma_scalar_only<eT>::result = double]' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  simz.cpp:31:46: warning: 'bool arma::is_finite(eT, const typename arma_scalar_only<eT>::result*) [with eT = double; typename arma_scalar_only<eT>::result = double]' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  simz.cpp:71:20: warning: 'bool arma::is_finite(eT, const typename arma_scalar_only<eT>::result*) [with eT = double; typename arma_scalar_only<eT>::result = double]' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  simz.cpp:80:24: warning: 'bool arma::is_finite(eT, const typename arma_scalar_only<eT>::result*) [with eT = double; typename arma_scalar_only<eT>::result = double]' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
  simz.cpp:134:20: warning: 'bool arma::is_finite(eT, const typename arma_scalar_only<eT>::result*) [with eT = double; typename arma_scalar_only<eT>::result = double]' is deprecated: change arma::is_finite(val) to std::isfinite(val) [-Wdeprecated-declarations]
See 'd:/Rcompile/CRANpkg/local/4.6/ubms.Rcheck/00install.out' for details.
* used C++ compiler: 'g++.exe (GCC) 14.2.0'