* installing *source* package 'fclust' ...
** this is package 'fclust' version '2.1.2'
** package 'fclust' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.2.0'
using C++ compiler: 'g++.exe (GCC) 14.2.0'
make[1]: Entering directory '/d/temp/2025_10_07_01_50_00_27954/RtmpcpKEG4/R.INSTALL54447f131eb5/fclust/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c F.cpp -o F.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
                 from func.h:4,
                 from F.cpp:2:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
F.cpp: In function 'arma::cube F_gkb(arma::mat, arma::mat, arma::mat, arma::mat, double, double, unsigned int, unsigned int, int, double, arma::vec)':
F.cpp:51:31: 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]
   51 |     kappaFin = arma::is_finite(kappa);
      |                ~~~~~~~~~~~~~~~^~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:518:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
F.cpp: In function 'arma::cube F_gkb_ent(arma::mat, arma::mat, arma::mat, arma::mat, double, unsigned int, unsigned int, int, double, arma::vec)':
F.cpp:112:31: 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]
  112 |     kappaFin = arma::is_finite(kappa);
      |                ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c FKM_rcpp.cpp -o FKM_rcpp.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
                 from func.h:4,
                 from FKM_rcpp.cpp:2:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM(arma::mat, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:87:23: 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]
   87 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:518:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_ent(arma::mat, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:261:23: 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]
  261 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_noise(arma::mat, double, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:431:36: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = subview<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
  431 |         nan_check = arma::is_finite(U.row(i));
      |                     ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here
  181 | is_finite(const Base<typename T1::elem_type,T1>& X)
      | ^~~~~~~~~
FKM_rcpp.cpp:476:23: 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]
  476 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:488:21: 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]
  488 |   if(arma::is_finite(func_opt)){
      |      ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_noise_U(arma::mat, double, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:587:38: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = subview<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
  587 |           nan_check = arma::is_finite(U.row(i));
      |                       ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here
  181 | is_finite(const Base<typename T1::elem_type,T1>& X)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_pf(arma::mat, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:710:23: 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]
  710 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_ent_noise(arma::mat, double, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:896:31: 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]
  896 |             if(arma::is_finite(U(i,j)) == false)
      |                ~~~~~~~~~~~~~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:919:23: 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]
  919 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_ent_noise_U(arma::mat, double, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:1018:29: 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]
 1018 |           if(arma::is_finite(U(i,j)) == false)
      |              ~~~~~~~~~~~~~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_pf_noise(arma::mat, double, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:1137:36: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = subview<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
 1137 |         nan_check = arma::is_finite(U.row(i));
      |                     ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here
  181 | is_finite(const Base<typename T1::elem_type,T1>& X)
      | ^~~~~~~~~
FKM_rcpp.cpp:1193:23: 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]
 1193 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:1206:21: 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]
 1206 |   if(arma::is_finite(func_opt)){
      |      ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_pf_noise_U(arma::mat, double, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:1289:34: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = subview<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
 1289 |       nan_check = arma::is_finite(U.row(i));
      |                   ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here
  181 | is_finite(const Base<typename T1::elem_type,T1>& X)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb(arma::mat, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:1450:23: 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]
 1450 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_ent(arma::mat, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:1644:23: 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]
 1644 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_noise(arma::mat, double, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:1880:23: 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]
 1880 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:1892:21: 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]
 1892 |   if(arma::is_finite(func_opt)){
      |      ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_noise_U(arma::mat, double, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:2004:38: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = subview<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
 2004 |           nan_check = arma::is_finite(U.row(i));
      |                       ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here
  181 | is_finite(const Base<typename T1::elem_type,T1>& X)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_ent_noise(arma::mat, double, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:2153:31: 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]
 2153 |             if(arma::is_finite(U(i,j)) == false)
      |                ~~~~~~~~~~~~~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:2175:23: 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]
 2175 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gkb_ent_noise_U(arma::mat, double, double, double, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:2286:29: 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]
 2286 |           if(arma::is_finite(U(i,j)) == false)
      |              ~~~~~~~~~~~~~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk(arma::mat, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:2442:23: 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]
 2442 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:2454:21: 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]
 2454 |   if(arma::is_finite(func_opt)){
      |      ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_ent(arma::mat, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:2695:23: 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]
 2695 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:2708:21: 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]
 2708 |   if(arma::is_finite(func_opt)){
      |      ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_noise(arma::mat, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:2974:23: 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]
 2974 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:2987:21: 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]
 2987 |   if(arma::is_finite(func_opt)){
      |      ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_noise_U(arma::mat, double, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:3107:40: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = subview<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
 3107 |             nan_check = arma::is_finite(U.row(i));
      |                         ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here
  181 | is_finite(const Base<typename T1::elem_type,T1>& X)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_ent_noise(arma::mat, double, double, arma::vec, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:3272:33: 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]
 3272 |               if(arma::is_finite(U(i,j)) == false)
      |                  ~~~~~~~~~~~~~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:3299:23: 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]
 3299 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_gk_ent_noise_U(arma::mat, double, double, arma::vec, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:3417:31: 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]
 3417 |             if(arma::is_finite(U(i,j)) == false)
      |                ~~~~~~~~~~~~~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_med(arma::mat, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:3541:38: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = subview<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
 3541 |           nan_check = arma::is_finite(U.row(i));
      |                       ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here
  181 | is_finite(const Base<typename T1::elem_type,T1>& X)
      | ^~~~~~~~~
FKM_rcpp.cpp:3583:23: 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]
 3583 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:3595:21: 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]
 3595 |   if(arma::is_finite(func_opt)){
      |      ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_med_U(arma::mat, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:3678:36: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = subview<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
 3678 |         nan_check = arma::is_finite(U.row(i));
      |                     ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here
  181 | is_finite(const Base<typename T1::elem_type,T1>& X)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_med_noise(arma::mat, double, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:3857:36: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = subview<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
 3857 |         nan_check = arma::is_finite(U.row(i));
      |                     ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here
  181 | is_finite(const Base<typename T1::elem_type,T1>& X)
      | ^~~~~~~~~
FKM_rcpp.cpp:3910:23: 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]
 3910 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:3922:21: 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]
 3922 |   if(arma::is_finite(func_opt)){
      |      ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainFKM_med_noise_U(arma::mat, double, double, unsigned int, unsigned int, unsigned int, arma::mat, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:4045:34: warning: 'bool arma::is_finite(const Base<typename T1::elem_type, T1>&) [with T1 = subview<double>; typename T1::elem_type = double]' is deprecated: change arma::is_finite(X) to X.is_finite() [-Wdeprecated-declarations]
 4045 |       nan_check = arma::is_finite(U.row(i));
      |                   ~~~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here
  181 | is_finite(const Base<typename T1::elem_type,T1>& X)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainnefrc(arma::mat, double, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:4242:26: 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]
 4242 |       if(!arma::is_finite(func))
      |           ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:4253:23: 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]
 4253 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainnefrc_U(arma::mat, arma::mat, double, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:4381:26: 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]
 4381 |       if(!arma::is_finite(func))
      |           ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainrnefrc(arma::mat, double, double, unsigned int, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:4542:26: 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]
 4542 |       if(!arma::is_finite(func))
      |           ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp:4555:23: 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]
 4555 |     if(arma::is_finite(func) == true)
      |        ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
FKM_rcpp.cpp: In function 'Rcpp::List mainrnefrc_U(arma::mat, arma::mat, double, double, unsigned int, unsigned int, double, unsigned int, std::string, double)':
FKM_rcpp.cpp:4698: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]
 4698 |     if(!arma::is_finite(func))
      |         ~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c RcppExports.cpp -o RcppExports.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
                 from RcppExports.cpp:4:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c centroids.cpp -o centroids.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
                 from func.h:4,
                 from centroids.cpp:2:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distance.cpp -o distance.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
                 from func.h:4,
                 from distance.cpp:2:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c func.cpp -o func.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
                 from func.cpp:2:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
func.cpp: In function 'void distCheck(Rcpp::NumericMatrix, int, int)':
func.cpp:124:32: 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]
  124 |       finite = (arma::is_finite(D(i,j)) && arma::is_finite(D(j,i)));
      |                 ~~~~~~~~~~~~~~~^~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:518:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
func.cpp:124:59: 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]
  124 |       finite = (arma::is_finite(D(i,j)) && arma::is_finite(D(j,i)));
      |                                            ~~~~~~~~~~~~~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c init.c -o init.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c memDeg.cpp -o memDeg.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
                 from func.h:4,
                 from memDeg.cpp:2:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
memDeg.cpp: In function 'arma::mat memb_degree_ent(arma::mat, double, unsigned int, unsigned int, unsigned int)':
memDeg.cpp:139:27: 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]
  139 |         if(arma::is_finite(out(i,j)) == false)
      |            ~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:518:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:167:1: note: declared here
  167 | is_finite(const eT x, const typename arma_scalar_only<eT>::result* junk = nullptr)
      | ^~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c partition_comp.cpp -o partition_comp.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:26,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32,
                 from partition_comp.cpp:1:
D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
  373 |   #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
      |                                                                        ^
g++ -std=gnu++17 -shared -s -static-libgcc -o fclust.dll tmp.def F.o FKM_rcpp.o RcppExports.o centroids.o distance.o func.o init.o memDeg.o partition_comp.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_07_01_50_00_27954/RtmpcpKEG4/R.INSTALL54447f131eb5/fclust/src'
make[1]: Entering directory '/d/temp/2025_10_07_01_50_00_27954/RtmpcpKEG4/R.INSTALL54447f131eb5/fclust/src'
make[1]: Leaving directory '/d/temp/2025_10_07_01_50_00_27954/RtmpcpKEG4/R.INSTALL54447f131eb5/fclust/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-fclust/00new/fclust/libs/x64
** R
** data
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'fclust' as fclust_2.1.2.zip
* DONE (fclust)