* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’ * installing *source* package ‘lessSEM’ ... ** this is package ‘lessSEM’ version ‘1.5.6’ ** package ‘lessSEM’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.3.0-8) 14.3.0’ using C++17 make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpyKT5T2/R.INSTALL28ac55609e107e/lessSEM/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from RcppExports.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from ../inst/include/lesstimate/include/lesstimate/common_headers.h:21, from ../inst/include/lesstimate/include/lesstimate.h:4: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c SEM.cpp -o SEM.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c WLS.cpp -o WLS.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c callFitFunction.cpp -o callFitFunction.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c cappedL1.cpp -o cappedL1.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from cappedL1.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from cappedL1.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersCappedL1; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: cappedL1.cpp:89:52: required from ‘Rcpp::List istaCappedL1<sem>::optimize(Rcpp::NumericVector, sem&, double, double, double) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 89 | lessSEM::fitResults fitResults_ = lessSEM::ista( | ~~~~~~~~~~~~~^ 90 | SEMFF, | ~~~~~~ 91 | startingValues_, | ~~~~~~~~~~~~~~~~ 92 | proximalOperatorCappedL1_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | penalty_, | ~~~~~~~~~ 94 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 95 | tp, | ~~~ 96 | smoothTp, | ~~~~~~~~~ 97 | controlIsta | ~~~~~~~~~~~ 98 | ); | ~ cappedL1.cpp:133:44: required from here 133 | .method( "optimize", &istaCappedL1SEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, theta, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c dataset.cpp -o dataset.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c derivativeStructure.cpp -o derivativeStructure.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c elasticNet.cpp -o elasticNet.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from elasticNet.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from elasticNet.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersEnet; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: elasticNet.cpp:80:52: required from ‘Rcpp::List istaEnet<sem>::optimize(Rcpp::NumericVector, sem&, double, double) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 80 | lessSEM::fitResults fitResults_ = lessSEM::ista( | ~~~~~~~~~~~~~^ 81 | SEMFF, | ~~~~~~ 82 | startingValues_, | ~~~~~~~~~~~~~~~~ 83 | proximalOperatorLasso_, | ~~~~~~~~~~~~~~~~~~~~~~~ 84 | penalty_, | ~~~~~~~~~ 85 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 86 | tp, | ~~~ 87 | smoothTp, | ~~~~~~~~~ 88 | controlIsta | ~~~~~~~~~~~ 89 | ); | ~ elasticNet.cpp:462:40: required from here 462 | .method( "optimize", &istaEnetSEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In instantiation of ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int) [with T = tuningParametersSmoothElasticNet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:341:36: required from ‘lessSEM::fitResults lessSEM::bfgsOptim(model&, numericVector, smoothPenalty<T>&, const T&, const controlBFGS&) [with T = tuningParametersSmoothElasticNet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 341 | parameters_k = bfgsLineSearch(model_, | ~~~~~~~~~~~~~~^~~~~~~~ 342 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 343 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 344 | parameterLabels, | ~~~~~~~~~~~~~~~~ 345 | direction, | ~~~~~~~~~~ 346 | fit_kMinus1, | ~~~~~~~~~~~~ 347 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 348 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 349 | | 350 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 351 | | 352 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 353 | control_.sigma, | ~~~~~~~~~~~~~~~ 354 | control_.gamma, | ~~~~~~~~~~~~~~~ 355 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 356 | control_.verbose); | ~~~~~~~~~~~~~~~~~ elasticNet.cpp:329:57: required from ‘Rcpp::List bfgsEnet<sem>::optimize(Rcpp::NumericVector, sem&, double, double) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 329 | lessSEM::fitResults fitResults_ = lessSEM::bfgsOptim( | ~~~~~~~~~~~~~~~~~~^ 330 | SEMFF, | ~~~~~~ 331 | startingValues_, | ~~~~~~~~~~~~~~~~ 332 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 333 | tp, | ~~~ 334 | control_ | ~~~~~~~~ 335 | ); | ~ elasticNet.cpp:373:40: required from here 373 | .method( "optimize", &bfgsEnetSEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyLASSOGlmnet; smoothPenalty = penaltyRidgeGlmnet; tuning = tuningParametersEnetGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyLASSOGlmnet; smoothPenalty = penaltyRidgeGlmnet; tuning = tuningParametersEnetGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ elasticNet.cpp:209:54: required from ‘Rcpp::List glmnetEnet<sem>::optimize(Rcpp::NumericVector, sem&, arma::rowvec, arma::rowvec) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>; arma::rowvec = arma::Row<double>]’ 209 | lessSEM::fitResults fitResults_ = lessSEM::glmnet( | ~~~~~~~~~~~~~~~^ 210 | SEMFF, | ~~~~~~ 211 | startingValues_, | ~~~~~~~~~~~~~~~~ 212 | penalty_, | ~~~~~~~~~ 213 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 214 | tp, | ~~~ 215 | control_ | ~~~~~~~~ 216 | ); | ~ elasticNet.cpp:418:42: required from here 418 | .method( "optimize", &glmnetEnetSEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c generalPurposeElasticNet.cpp -o generalPurposeElasticNet.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from gpFitFramework.h:4, from generalPurposeElasticNet.cpp:3: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from generalPurposeElasticNet.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersEnet; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: generalPurposeElasticNet.cpp:89:52: required from here 89 | lessSEM::fitResults fitResults_ = lessSEM::ista( | ~~~~~~~~~~~~~^ 90 | gpFF, | ~~~~~ 91 | startingValues_, | ~~~~~~~~~~~~~~~~ 92 | proximalOperatorLasso_, | ~~~~~~~~~~~~~~~~~~~~~~~ 93 | penalty_, | ~~~~~~~~~ 94 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 95 | tp, | ~~~ 96 | smoothTp, | ~~~~~~~~~ 97 | controlIsta | ~~~~~~~~~~~ 98 | ); | ~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyLASSOGlmnet; smoothPenalty = penaltyRidgeGlmnet; tuning = tuningParametersEnetGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyLASSOGlmnet; smoothPenalty = penaltyRidgeGlmnet; tuning = tuningParametersEnetGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ generalPurposeElasticNet.cpp:231:54: required from here 231 | lessSEM::fitResults fitResults_ = lessSEM::glmnet( | ~~~~~~~~~~~~~~~^ 232 | gpFF, | ~~~~~ 233 | startingValues_, | ~~~~~~~~~~~~~~~~ 234 | penalty_, | ~~~~~~~~~ 235 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 236 | tp, | ~~~ 237 | control_ | ~~~~~~~~ 238 | ); | ~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c glmnet_cappedL1.cpp -o glmnet_cappedL1.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from glmnet_cappedL1.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from glmnet_cappedL1.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyCappedL1Glmnet; smoothPenalty = noSmoothPenalty<tuningParametersCappedL1Glmnet>; tuning = tuningParametersCappedL1Glmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyCappedL1Glmnet; smoothPenalty = noSmoothPenalty<tuningParametersCappedL1Glmnet>; tuning = tuningParametersCappedL1Glmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ glmnet_cappedL1.cpp:91:56: required from ‘Rcpp::List glmnetCappedL1<sem>::optimize(Rcpp::NumericVector, sem&, double, double) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 91 | lessSEM::fitResults fitResults_ = lessSEM::glmnet( | ~~~~~~~~~~~~~~~^ 92 | SEMFF, | ~~~~~~ 93 | startingValues_, | ~~~~~~~~~~~~~~~~ 94 | penalty_, | ~~~~~~~~~ 95 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 96 | tp, | ~~~ 97 | control_ | ~~~~~~~~ 98 | ); | ~ glmnet_cappedL1.cpp:136:44: required from here 136 | .method( "optimize", &glmnetCappedL1SEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c glmnet_generalPurposeMixedPenalty.cpp -o glmnet_generalPurposeMixedPenalty.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from gpFitFramework.h:4, from glmnet_generalPurposeMixedPenalty.cpp:3: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from glmnet_generalPurposeMixedPenalty.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c glmnet_lsp.cpp -o glmnet_lsp.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from glmnet_lsp.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from glmnet_lsp.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyLSPGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersLspGlmnet>; tuning = tuningParametersLspGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyLSPGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersLspGlmnet>; tuning = tuningParametersLspGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ glmnet_lsp.cpp:95:56: required from ‘Rcpp::List glmnetLsp<sem>::optimize(Rcpp::NumericVector, sem&, double, double) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 95 | lessSEM::fitResults fitResults_ = lessSEM::glmnet( | ~~~~~~~~~~~~~~~^ 96 | SEMFF, | ~~~~~~ 97 | startingValues_, | ~~~~~~~~~~~~~~~~ 98 | penalty_, | ~~~~~~~~~ 99 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 100 | tp, | ~~~ 101 | control_ | ~~~~~~~~ 102 | ); | ~ glmnet_lsp.cpp:140:39: required from here 140 | .method( "optimize", &glmnetLspSEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c glmnet_mcp.cpp -o glmnet_mcp.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from glmnet_mcp.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from glmnet_mcp.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMcpGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMcpGlmnet>; tuning = tuningParametersMcpGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMcpGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMcpGlmnet>; tuning = tuningParametersMcpGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ glmnet_mcp.cpp:95:54: required from ‘Rcpp::List glmnetMcp<sem>::optimize(Rcpp::NumericVector, sem&, double, double) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 95 | lessSEM::fitResults fitResults_ = lessSEM::glmnet( | ~~~~~~~~~~~~~~~^ 96 | SEMFF, | ~~~~~~ 97 | startingValues_, | ~~~~~~~~~~~~~~~~ 98 | penalty_, | ~~~~~~~~~ 99 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 100 | tp, | ~~~ 101 | control_ | ~~~~~~~~ 102 | ); | ~ glmnet_mcp.cpp:140:41: required from here 140 | .method( "optimize", &glmnetMcpSEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c glmnet_mixed.cpp -o glmnet_mixed.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from glmnet_mixed.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from glmnet_mixed.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c glmnet_scad.cpp -o glmnet_scad.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from glmnet_scad.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from glmnet_scad.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltySCADGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersScadGlmnet>; tuning = tuningParametersScadGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltySCADGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersScadGlmnet>; tuning = tuningParametersScadGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ glmnet_scad.cpp:95:54: required from ‘Rcpp::List glmnetScad<sem>::optimize(Rcpp::NumericVector, sem&, double, double) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 95 | lessSEM::fitResults fitResults_ = lessSEM::glmnet( | ~~~~~~~~~~~~~~~^ 96 | SEMFF, | ~~~~~~ 97 | startingValues_, | ~~~~~~~~~~~~~~~~ 98 | penalty_, | ~~~~~~~~~ 99 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 100 | tp, | ~~~ 101 | control_ | ~~~~~~~~ 102 | ); | ~ glmnet_scad.cpp:140:42: required from here 140 | .method( "optimize", &glmnetScadSEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c gradients.cpp -o gradients.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c implied.cpp -o implied.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c impliedDerivatives.cpp -o impliedDerivatives.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c ista_generalPurposeMixedPenalty.cpp -o ista_generalPurposeMixedPenalty.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from gpFitFramework.h:4, from ista_generalPurposeMixedPenalty.cpp:3: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from ista_generalPurposeMixedPenalty.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c ista_lsp.cpp -o ista_lsp.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from ista_lsp.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from ista_lsp.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersLSP; U = tuningParametersLSP; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ista_lsp.cpp:82:52: required from ‘Rcpp::List istaLSP<sem>::optimize(Rcpp::NumericVector, sem&, double, double) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 82 | lessSEM::fitResults fitResults_ = lessSEM::ista( | ~~~~~~~~~~~~~^ 83 | SEMFF, | ~~~~~~ 84 | startingValues_, | ~~~~~~~~~~~~~~~~ 85 | proximalOperatorLSP_, | ~~~~~~~~~~~~~~~~~~~~~ 86 | penalty_, | ~~~~~~~~~ 87 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 88 | tp, | ~~~ 89 | smoothTp, | ~~~~~~~~~ 90 | controlIsta | ~~~~~~~~~~~ 91 | ); | ~ ista_lsp.cpp:127:39: required from here 127 | .method( "optimize", &istaLSPSEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, theta, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c ista_mcp.cpp -o ista_mcp.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from ista_mcp.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from ista_mcp.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMcp; U = tuningParametersMcp; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ista_mcp.cpp:95:52: required from ‘Rcpp::List istaMcp<sem>::optimize(Rcpp::NumericVector, sem&, double, double) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 95 | lessSEM::fitResults fitResults_ = lessSEM::ista( | ~~~~~~~~~~~~~^ 96 | SEMFF, | ~~~~~~ 97 | startingValues_, | ~~~~~~~~~~~~~~~~ 98 | proximalOperatorMcp_, | ~~~~~~~~~~~~~~~~~~~~~ 99 | penalty_, | ~~~~~~~~~ 100 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 101 | tp, | ~~~ 102 | smoothTp, | ~~~~~~~~~ 103 | controlIsta | ~~~~~~~~~~~ 104 | ); | ~ ista_mcp.cpp:139:37: required from here 139 | .method( "optimize", &istaMcpSEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, theta, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c ista_mixed.cpp -o ista_mixed.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from ista_mixed.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from ista_mixed.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c ista_scad.cpp -o ista_scad.o In file included from ../inst/include/lesstimate/include/lesstimate.h:5, from ../inst/include/lessSEM.h:4, from SEMFitFramework.h:4, from ista_scad.cpp:4: ../inst/include/lesstimate/include/lesstimate/ista_class.h: In function ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&)’: ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:518, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32, from ista_scad.cpp:1: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:10, from ../inst/include/lesstimate/include/lesstimate.h:7: ../inst/include/lesstimate/include/lesstimate/bfgs.h: In function ‘arma::mat lessSEM::BFGS(const arma::rowvec&, const arma::rowvec&, const arma::mat&, const arma::rowvec&, const arma::rowvec&, bool, double, bool)’: ../inst/include/lesstimate/include/lesstimate/bfgs.h:71:25: 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] 71 | if (!arma::is_finite(Hessian_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In function ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:9, from ../inst/include/lesstimate/include/lesstimate.h:8: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h: In member function ‘double lessSEM::penaltyMcpGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersMcpGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_mcp.h:282: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] 282 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate/glmnet_penalties.h:10: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h: In member function ‘double lessSEM::penaltyLSPGlmnet::getZ(unsigned int, const arma::rowvec&, const arma::rowvec&, const arma::rowvec&, const arma::mat&, const lessSEM::tuningParametersLspGlmnet&)’: ../inst/include/lesstimate/include/lesstimate/glmnet_lsp.h:216: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] 216 | if (!arma::is_finite(z[i])) | ~~~~~~~~~~~~~~~^~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ In file included from ../inst/include/lesstimate/include/lesstimate.h:9: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h: In function ‘arma::rowvec lessSEM::bfgsLineSearch(model&, smoothPenalty<T>&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const T&, double, double, double, int, int)’: ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:188: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] 188 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/bfgsOptim.h:226:29: 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] 226 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersMixedPenalty; U = tuningParametersEnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:308:34: required from here 308 | fitResults fitResults_ = ista( | ~~~~^ 309 | userModel, | ~~~~~~~~~~ 310 | startingValues, | ~~~~~~~~~~~~~~~ 311 | proximalOperatorMixedPenalty_, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | penalty_, | ~~~~~~~~~ 313 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 314 | tp, | ~~~ 315 | smoothTp, | ~~~~~~~~~ 316 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h: In instantiation of ‘arma::rowvec lessSEM::glmnetLineSearch(model&, nonsmoothPenalty&, smoothPenalty&, const arma::rowvec&, const stringVector&, const arma::rowvec&, double, const arma::rowvec&, const arma::mat&, const tuning&, double, double, double, int, int) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; arma::rowvec = arma::Row<double>; stringVector = Rcpp::Vector<16>; arma::mat = arma::Mat<double>]’: ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:491:38: required from ‘lessSEM::fitResults lessSEM::glmnet(model&, numericVector, nonsmoothPenalty&, smoothPenalty&, const tuning&, const controlGLMNET&) [with nonsmoothPenalty = penaltyMixedGlmnet; smoothPenalty = noSmoothPenalty<tuningParametersMixedGlmnet>; tuning = tuningParametersMixedGlmnet; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 491 | parameters_k = glmnetLineSearch(model_, | ~~~~~~~~~~~~~~~~^~~~~~~~ 492 | penalty_, | ~~~~~~~~~ 493 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 494 | parameters_kMinus1, | ~~~~~~~~~~~~~~~~~~~ 495 | parameterLabels, | ~~~~~~~~~~~~~~~~ 496 | direction, | ~~~~~~~~~~ 497 | fit_kMinus1, | ~~~~~~~~~~~~ 498 | gradients_kMinus1, | ~~~~~~~~~~~~~~~~~~ 499 | Hessian_kMinus1, | ~~~~~~~~~~~~~~~~ 500 | | 501 | tuningParameters, | ~~~~~~~~~~~~~~~~~ 502 | | 503 | control_.stepSize, | ~~~~~~~~~~~~~~~~~~ 504 | control_.sigma, | ~~~~~~~~~~~~~~~ 505 | control_.gamma, | ~~~~~~~~~~~~~~~ 506 | control_.maxIterLine, | ~~~~~~~~~~~~~~~~~~~~~ 507 | control_.verbose); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/simplified_interfaces.h:131:36: required from here 131 | fitResults fitResults_ = glmnet( | ~~~~~~^ 132 | userModel, | ~~~~~~~~~~ 133 | startingValues, | ~~~~~~~~~~~~~~~ 134 | pen, | ~~~~ 135 | smoothPen, | ~~~~~~~~~~ 136 | tp, | ~~~ 137 | controlOptimizer); | ~~~~~~~~~~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/glmnet_class.h:346:29: 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] 346 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h: In instantiation of ‘lessSEM::fitResults lessSEM::ista(model&, numericVector, proximalOperator<T>&, penalty<T>&, smoothPenalty<U>&, const T&, const U&, const control&) [with T = tuningParametersScad; U = tuningParametersScad; numericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: ista_scad.cpp:102:52: required from ‘Rcpp::List istaScad<sem>::optimize(Rcpp::NumericVector, sem&, double, double) [with sem = SEMCpp; Rcpp::List = Rcpp::Vector<19>; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 102 | lessSEM::fitResults fitResults_ = lessSEM::ista( | ~~~~~~~~~~~~~^ 103 | SEMFF, | ~~~~~~ 104 | startingValues_, | ~~~~~~~~~~~~~~~~ 105 | proximalOperatorScad_, | ~~~~~~~~~~~~~~~~~~~~~~ 106 | penalty_, | ~~~~~~~~~ 107 | smoothPenalty_, | ~~~~~~~~~~~~~~~ 108 | tp, | ~~~ 109 | smoothTp, | ~~~~~~~~~ 110 | controlIsta | ~~~~~~~~~~~ 111 | ); | ~ ista_scad.cpp:146:40: required from here 146 | .method( "optimize", &istaScadSEM::optimize, "Optimizes the model. Expects SEM, labeled vector with starting values, theta, lambda, and alpha") | ^~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:306: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] 306 | if (!arma::is_finite(fit_k)) | ~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:318: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] 318 | if (!arma::is_finite(penalizedFit_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ ../inst/include/lesstimate/include/lesstimate/ista_class.h:369:31: 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] 369 | if (!arma::is_finite(gradients_k)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:181:1: note: declared here 181 | is_finite(const Base<typename T1::elem_type,T1>& X) | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c logicalMatch.cpp -o logicalMatch.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c mgSEM.cpp -o mgSEM.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c multivariateNormal.cpp -o multivariateNormal.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c parameters.cpp -o parameters.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -c scores.cpp -o scores.o g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o lessSEM.so RcppExports.o SEM.o WLS.o callFitFunction.o cappedL1.o dataset.o derivativeStructure.o elasticNet.o generalPurposeElasticNet.o glmnet_cappedL1.o glmnet_generalPurposeMixedPenalty.o glmnet_lsp.o glmnet_mcp.o glmnet_mixed.o glmnet_scad.o gradients.o implied.o impliedDerivatives.o ista_generalPurposeMixedPenalty.o ista_lsp.o ista_mcp.o ista_mixed.o ista_scad.o logicalMatch.o mgSEM.o multivariateNormal.o parameters.o scores.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpyKT5T2/R.INSTALL28ac55609e107e/lessSEM/src' make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpyKT5T2/R.INSTALL28ac55609e107e/lessSEM/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpyKT5T2/R.INSTALL28ac55609e107e/lessSEM/src' installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-lessSEM/00new/lessSEM/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices converting help for package ‘lessSEM’ finding HTML links ... done AIC-Rcpp_SEMCpp-method html AIC-Rcpp_mgSEM-method html AIC-gpRegularized-method html AIC-regularizedSEM-method html AIC-regularizedSEMMixedPenalty-method html AIC-regularizedSEMWithCustomPenalty-method html BIC-Rcpp_SEMCpp-method html BIC-Rcpp_mgSEM-method html BIC-gpRegularized-method html BIC-regularizedSEM-method html BIC-regularizedSEMMixedPenalty-method html BIC-regularizedSEMWithCustomPenalty-method html Rcpp_SEMCpp-class html Rcpp_bfgsEnetMgSEM-class html Rcpp_bfgsEnetSEM-class html Rcpp_glmnetCappedL1MgSEM-class html Rcpp_glmnetCappedL1SEM-class html Rcpp_glmnetEnetGeneralPurpose-class html Rcpp_glmnetEnetGeneralPurposeCpp-class html Rcpp_glmnetEnetMgSEM-class html Rcpp_glmnetEnetSEM-class html Rcpp_glmnetLspMgSEM-class html Rcpp_glmnetLspSEM-class html Rcpp_glmnetMcpMgSEM-class html Rcpp_glmnetMcpSEM-class html Rcpp_glmnetScadMgSEM-class html Rcpp_glmnetScadSEM-class html Rcpp_istaCappedL1GeneralPurpose-class html Rcpp_istaCappedL1GeneralPurposeCpp-class html Rcpp_istaCappedL1SEM-class html Rcpp_istaCappedL1mgSEM-class html Rcpp_istaEnetGeneralPurpose-class html Rcpp_istaEnetGeneralPurposeCpp-class html Rcpp_istaEnetMgSEM-class html Rcpp_istaEnetSEM-class html Rcpp_istaLSPMgSEM-class html Rcpp_istaLSPSEM-class html Rcpp_istaLspGeneralPurpose-class html Rcpp_istaLspGeneralPurposeCpp-class html Rcpp_istaMcpGeneralPurpose-class html Rcpp_istaMcpGeneralPurposeCpp-class html Rcpp_istaMcpMgSEM-class html Rcpp_istaMcpSEM-class html Rcpp_istaMixedPenaltySEM-class html Rcpp_istaMixedPenaltymgSEM-class html Rcpp_istaScadGeneralPurpose-class html Rcpp_istaScadGeneralPurposeCpp-class html Rcpp_istaScadMgSEM-class html Rcpp_istaScadSEM-class html Rcpp_mgSEM-class html SEMCpp html adaptiveLasso html addCappedL1 html addElasticNet html addLasso html addLsp html addMcp html addScad html bfgs html bfgsEnet html bfgsEnetMgSEM html bfgsEnetSEM html callFitFunction html cappedL1 html coef-Rcpp_SEMCpp-method html coef-Rcpp_mgSEM-method html coef-cvRegularizedSEM-method html coef-gpRegularized-method html coef-regularizedSEM-method html coef-regularizedSEMMixedPenalty-method html coef-regularizedSEMWithCustomPenalty-method html controlBFGS html controlGlmnet html controlIsta html covariances html createSubsets html curveLambda html cvAdaptiveLasso html cvCappedL1 html cvElasticNet html cvLasso html cvLsp html cvMcp html cvRegularizedSEM-class html cvRidge html cvRidgeBfgs html cvScad html cvScaler html cvSmoothAdaptiveLasso html cvSmoothElasticNet html cvSmoothLasso html dot-SEMFromLavaan html dot-SEMdata html dot-SEMdataWLS html dot-adaptBreakingForWls html dot-addMeanStructure html dot-checkLavaanModel html dot-checkPenalties html dot-compileTransformations html dot-computeInitialHessian html dot-createMultiGroupTransformations html dot-createParameterTable html dot-createRcppTransformationFunction html dot-createTransformations html dot-cvRegularizeSEMInternal html dot-cvRegularizeSmoothSEMInternal html dot-cvregsem2LavaanParameters html dot-defineDerivatives html dot-extractParametersFromSyntax html dot-extractSEMFromLavaan html dot-fit html dot-fitElasticNetMix html dot-fitFunction html dot-fitMix html dot-getGradients html dot-getHessian html dot-getMaxLambda_C html dot-getParameters html dot-getRawData html dot-getScores html dot-gpGetMaxLambda html dot-gpOptimizationInternal html dot-gradientFunction html dot-initializeMultiGroupSEMForRegularization html dot-initializeSEMForRegularization html dot-initializeWeights html dot-labelLavaanParameters html dot-lavaan2regsemLabels html dot-likelihoodRatioFit html dot-makeSingleLine html dot-multiGroupSEMFromLavaan html dot-noDotDotDot html dot-penaltyTypes html dot-reduceSyntax html dot-regularizeSEMInternal html dot-regularizeSEMWithCustomPenaltyRsolnp html dot-regularizeSmoothSEMInternal html dot-ridgeGradient html dot-ridgeHessian html dot-ridgeValue html dot-setAMatrix html dot-setFmatrix html dot-setMVector html dot-setParameters html dot-setSMatrix html dot-setupMulticore html dot-smoothAdaptiveLASSOGradient html dot-smoothAdaptiveLASSOHessian html dot-smoothAdaptiveLASSOValue html dot-smoothCappedL1Value html dot-smoothElasticNetGradient html dot-smoothElasticNetHessian html dot-smoothElasticNetValue html dot-smoothLASSOGradient html dot-smoothLASSOHessian html dot-smoothLASSOValue html dot-smoothLspValue html dot-smoothMcpValue html dot-smoothScadValue html dot-standardErrors html dot-updateLavaan html dot-useElasticNet html elasticNet html estimates-cvRegularizedSEM-method html estimates-regularizedSEM-method html estimates-regularizedSEMMixedPenalty-method html estimates html fit html fitIndices-cvRegularizedSEM-method html fitIndices-regularizedSEM-method html fitIndices-regularizedSEMMixedPenalty-method html fitIndices html getLavaanParameters html getTuningParameterConfiguration html glmnetCappedL1MgSEM html glmnetCappedL1SEM html glmnetEnetGeneralPurpose html glmnetEnetGeneralPurposeCpp html glmnetEnetMgSEM html glmnetEnetSEM html glmnetLspMgSEM html glmnetLspSEM html glmnetMcpMgSEM html glmnetMcpSEM html glmnetMixedMgSEM html glmnetMixedPenaltyGeneralPurpose html glmnetMixedPenaltyGeneralPurposeCpp html glmnetMixedSEM html glmnetScadMgSEM html glmnetScadSEM html gpAdaptiveLasso html gpAdaptiveLassoCpp html gpCappedL1 html gpCappedL1Cpp html gpElasticNet html gpElasticNetCpp html gpLasso html gpLassoCpp html gpLsp html gpLspCpp html gpMcp html gpMcpCpp html gpRegularized-class html gpRidge html gpRidgeCpp html gpScad html gpScadCpp html istaCappedL1SEM html istaCappedL1mgSEM html istaEnetGeneralPurpose html istaEnetGeneralPurposeCpp html istaEnetMgSEM html istaEnetSEM html istaLSPMgSEM html istaLSPSEM html istaMcpMgSEM html istaMcpSEM html istaMixedPenaltyGeneralPurpose html istaMixedPenaltyGeneralPurposeCpp html istaMixedPenaltySEM html istaMixedPenaltymgSEM html istaScadMgSEM html istaScadSEM html lasso html lavaan2lslxLabels html lessSEM html lessSEM2Lavaan html lessSEMCoef-class html loadings html logLik-Rcpp_SEMCpp-method html logLik-Rcpp_mgSEM-method html logLikelihood-class html logicalMatch html lsp html makePtrs html mcp html mcpPenalty_C html mgSEM html mixedPenalty html modifyModel html newTau html plot-cvRegularizedSEM-missing-method html plot-gpRegularized-missing-method html plot-regularizedSEM-missing-method html plot-stabSel-missing-method html regressions html regsem2LavaanParameters html regularizedSEM-class html regularizedSEMMixedPenalty-class html regularizedSEMWithCustomPenalty-class html ridge html ridgeBfgs html scad html scadPenalty_C html show-Rcpp_SEMCpp-method html show-Rcpp_mgSEM-method html show-cvRegularizedSEM-method html show-gpRegularized-method html show-lessSEMCoef-method html show-logLikelihood-method html show-regularizedSEM-method html show-regularizedSEMMixedPenalty-method html show-stabSel-method html simulateExampleData html smoothAdaptiveLasso html smoothElasticNet html smoothLasso html stabSel-class html stabilitySelection html summary-cvRegularizedSEM-method html summary-gpRegularized-method html summary-regularizedSEM-method html summary-regularizedSEMMixedPenalty-method html summary-regularizedSEMWithCustomPenalty-method html variances html *** copying figures ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (lessSEM)