Found the following significant warnings:
  Rcpp_jSDM_useful.cpp:85:23: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = Mat<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
  Rcpp_jSDM_useful.cpp:120:23: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = Mat<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
  Rcpp_jSDM_useful.cpp:154:23: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = Mat<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
  Rcpp_jSDM_useful.cpp:220:23: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = Mat<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
  Rcpp_jSDM_useful.cpp:257:23: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = Mat<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
  Rcpp_jSDM_useful.cpp:292:23: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = Mat<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
  Rcpp_jSDM_useful.cpp:326:23: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = Mat<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
  Rcpp_jSDM_useful.cpp:392:23: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = Mat<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
See 'd:/Rcompile/CRANpkg/local/4.6/jSDM.Rcheck/00install.out' for details.
* used C++ compiler: 'g++.exe (GCC) 14.2.0'