* using log directory 'd:/Rcompile/CRANpkg/local/3.6/mixture.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'mixture/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'mixture' version '2.0.4' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'mixture' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.6/mixture.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'mixture' ... ** package 'mixture' successfully unpacked and MD5 sums checked ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpwTFEqb/R.INSTALLaaa871db2d5/mixture/src-i386' d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Id:/Compiler/gcc-4.9.3/local330/include -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/lib/3.6/BH/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppGSL/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -fopenmp -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -Id:/Compiler/gcc-4.9.3/local330/include -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/lib/3.6/BH/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppGSL/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -fopenmp -O2 -Wall -mtune=core2 -c pcm.cpp -o pcm.o In file included from pcm.cpp:50:0: gpcm_arma.hpp: In member function 'void Mixture_Model::RE_step()': gpcm_arma.hpp:660:16: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ gpcm_arma.hpp:660:16: note: suggested alternative: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from pcm.cpp:50:0: gpcm_arma.hpp: In member function 'void Mixture_Model::SE_step()': gpcm_arma.hpp:736:16: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ gpcm_arma.hpp:736:16: note: suggested alternative: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from pcm.cpp:50:0: gpcm_arma.hpp: In member function 'void Mixture_Model::SEMI_step()': gpcm_arma.hpp:823:18: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ gpcm_arma.hpp:823:18: note: suggested alternative: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:11:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp: At global scope: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:99:75: note: #pragma message: CAUTION: One or more C++11 features were found to be unavailable BOOST_PRAGMA_MESSAGE("CAUTION: One or more C++11 features were found to be unavailable") ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:11:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:100:126: note: #pragma message: CAUTION: Compiling Boost.Math in pre-C++11 conformance modes is now deprecated and will be removed from March 2021. BOOST_PRAGMA_MESSAGE("CAUTION: Compiling Boost.Math in pre-C++11 conformance modes is now deprecated and will be removed from March 2021.") ^ d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:101:93: note: #pragma message: CAUTION: Define BOOST_MATH_DISABLE_DEPRECATED_03_WARNING to suppress this message. BOOST_PRAGMA_MESSAGE("CAUTION: Define BOOST_MATH_DISABLE_DEPRECATED_03_WARNING to suppress this message.") ^ d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/cxx03_warn.hpp:102:96: note: #pragma message: CAUTION: This message was generated due to the define: BOOST_NO_CXX11_THREAD_LOCAL BOOST_PRAGMA_MESSAGE("CAUTION: This message was generated due to the define: " BOOST_MATH_CXX03_WARN_REASON) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h: In member function 'double GH_Mixture_Model::LG_k_bessel(double, double)': GH_Model/GH_Mixture_Model.h:223:24: error: 'isnan' was not declared in this scope if(isnan(result.val)){ ^ GH_Model/GH_Mixture_Model.h:223:24: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h:235:24: error: 'isnan' was not declared in this scope if(isnan(result.val)){ ^ GH_Model/GH_Mixture_Model.h:235:24: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h:249:33: error: 'isnan' was not declared in this scope if(isnan(approx_result)){ ^ GH_Model/GH_Mixture_Model.h:249:33: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h: In member function 'bool GH_Mixture_Model::check_aitkens()': GH_Model/GH_Mixture_Model.h:374:23: error: 'isnan' was not declared in this scope if( isnan(l_p1) || isinf(l_p1) ){ ^ GH_Model/GH_Mixture_Model.h:374:23: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h:374:38: error: 'isinf' was not declared in this scope if( isnan(l_p1) || isinf(l_p1) ){ ^ GH_Model/GH_Mixture_Model.h:374:38: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:614:5: note: 'std::isinf' isinf(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:516:14: note: 'boost::math::isinf' inline bool (isinf)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h: In member function 'bool GH_Mixture_Model::track_lg(bool)': GH_Model/GH_Mixture_Model.h:411:23: error: 'isnan' was not declared in this scope if( isnan(c_loglik) || isinf(c_loglik) ){ ^ GH_Model/GH_Mixture_Model.h:411:23: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h:411:42: error: 'isinf' was not declared in this scope if( isnan(c_loglik) || isinf(c_loglik) ){ ^ GH_Model/GH_Mixture_Model.h:411:42: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:614:5: note: 'std::isinf' isinf(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:516:14: note: 'boost::math::isinf' inline bool (isinf)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h: In member function 'double GH_Mixture_Model::log_density(arma::vec, arma::vec, arma::vec, double, double, double, arma::mat, double, double, double)': GH_Model/GH_Mixture_Model.h:538:24: error: 'isnan' was not declared in this scope if( isnan(bessel_term)){ ^ GH_Model/GH_Mixture_Model.h:538:24: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h: In member function 'void GH_Mixture_Model::SE_step()': GH_Model/GH_Mixture_Model.h:734:16: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ GH_Model/GH_Mixture_Model.h:734:16: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h: In member function 'void GH_Mixture_Model::RE_step()': GH_Model/GH_Mixture_Model.h:827:16: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ GH_Model/GH_Mixture_Model.h:827:16: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h: In member function 'void GH_Mixture_Model::SEMI_step()': GH_Model/GH_Mixture_Model.h:905:18: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ GH_Model/GH_Mixture_Model.h:905:18: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h: In member function 'void GH_Mixture_Model::M_step_gamma()': GH_Model/GH_Mixture_Model.h:1142:24: error: 'isnan' was not declared in this scope if(isnan(lambda_new) || isinf(lambda_new)){} ^ GH_Model/GH_Mixture_Model.h:1142:24: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h:1142:45: error: 'isinf' was not declared in this scope if(isnan(lambda_new) || isinf(lambda_new)){} ^ GH_Model/GH_Mixture_Model.h:1142:45: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:614:5: note: 'std::isinf' isinf(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:516:14: note: 'boost::math::isinf' inline bool (isinf)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h:1144:23: error: 'isnan' was not declared in this scope if(isnan(omega_new) || isinf(omega_new)){} ^ GH_Model/GH_Mixture_Model.h:1144:23: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:57:0: GH_Model/GH_Mixture_Model.h:1144:43: error: 'isinf' was not declared in this scope if(isnan(omega_new) || isinf(omega_new)){} ^ GH_Model/GH_Mixture_Model.h:1144:43: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:614:5: note: 'std::isinf' isinf(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:516:14: note: 'boost::math::isinf' inline bool (isinf)(T x) ^ In file included from pcm.cpp:59:0: ghpcm_arma.hpp: In function 'Rcpp::List main_loop_gh(arma::mat, int, int, int, arma::mat, int, double, int, double, arma::vec, int)': ghpcm_arma.hpp:111:20: error: 'isnan' was not declared in this scope if(isnan(in_l_tol)){ ^ ghpcm_arma.hpp:111:20: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h: In member function 'double ST_Mixture_Model::LG_k_bessel(double, double)': ST_Model/ST_Mixture_Model.h:205:24: error: 'isnan' was not declared in this scope if(isnan(result.val)){ ^ ST_Model/ST_Mixture_Model.h:205:24: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h:217:24: error: 'isnan' was not declared in this scope if(isnan(result.val)){ ^ ST_Model/ST_Mixture_Model.h:217:24: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h:231:33: error: 'isnan' was not declared in this scope if(isnan(approx_result)){ ^ ST_Model/ST_Mixture_Model.h:231:33: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h: In member function 'bool ST_Mixture_Model::check_aitkens()': ST_Model/ST_Mixture_Model.h:353:23: error: 'isnan' was not declared in this scope if( isnan(l_p1) || isinf(l_p1) ){ ^ ST_Model/ST_Mixture_Model.h:353:23: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h:353:38: error: 'isinf' was not declared in this scope if( isnan(l_p1) || isinf(l_p1) ){ ^ ST_Model/ST_Mixture_Model.h:353:38: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:614:5: note: 'std::isinf' isinf(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:516:14: note: 'boost::math::isinf' inline bool (isinf)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h: In member function 'bool ST_Mixture_Model::track_lg(bool)': ST_Model/ST_Mixture_Model.h:391:23: error: 'isnan' was not declared in this scope if( isnan(c_loglik) || isinf(c_loglik) ){ ^ ST_Model/ST_Mixture_Model.h:391:23: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h:391:42: error: 'isinf' was not declared in this scope if( isnan(c_loglik) || isinf(c_loglik) ){ ^ ST_Model/ST_Mixture_Model.h:391:42: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:614:5: note: 'std::isinf' isinf(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:516:14: note: 'boost::math::isinf' inline bool (isinf)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h: In member function 'double ST_Mixture_Model::log_density(arma::vec, arma::vec, arma::vec, double, double, double, arma::mat, double, double)': ST_Model/ST_Mixture_Model.h:529:24: error: 'isnan' was not declared in this scope if( isnan(bessel_term)){ ^ ST_Model/ST_Mixture_Model.h:529:24: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h: In member function 'void ST_Mixture_Model::SE_step()': ST_Model/ST_Mixture_Model.h:724:16: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ ST_Model/ST_Mixture_Model.h:724:16: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h: In member function 'void ST_Mixture_Model::RE_step()': ST_Model/ST_Mixture_Model.h:821:16: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ ST_Model/ST_Mixture_Model.h:821:16: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h: In member function 'void ST_Mixture_Model::SEMI_step()': ST_Model/ST_Mixture_Model.h:900:18: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ ST_Model/ST_Mixture_Model.h:900:18: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:63:0: ST_Model/ST_Mixture_Model.h: In member function 'void ST_Mixture_Model::M_step_gamma()': ST_Model/ST_Mixture_Model.h:1306:22: error: 'isnan' was not declared in this scope if(!isnan(gam_g) && !comparison_st(gam_g,20.0)){ ^ ST_Model/ST_Mixture_Model.h:1306:22: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:64:0: stpcm_arma.hpp: In function 'Rcpp::List main_loop_st(arma::mat, int, int, int, arma::mat, int, double, int, double, arma::vec, int)': stpcm_arma.hpp:112:20: error: 'isnan' was not declared in this scope if(isnan(in_l_tol)){ ^ stpcm_arma.hpp:112:20: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h: In member function 'double VG_Mixture_Model::LG_k_bessel(double, double)': VG_Model/VG_Mixture_Model.h:201:24: error: 'isnan' was not declared in this scope if(isnan(result.val)){ ^ VG_Model/VG_Mixture_Model.h:201:24: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h:213:24: error: 'isnan' was not declared in this scope if(isnan(result.val)){ ^ VG_Model/VG_Mixture_Model.h:213:24: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h:227:33: error: 'isnan' was not declared in this scope if(isnan(approx_result)){ ^ VG_Model/VG_Mixture_Model.h:227:33: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h: In member function 'bool VG_Mixture_Model::check_aitkens()': VG_Model/VG_Mixture_Model.h:350:23: error: 'isnan' was not declared in this scope if( isnan(l_p1) || isinf(l_p1) ){ ^ VG_Model/VG_Mixture_Model.h:350:23: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h:350:38: error: 'isinf' was not declared in this scope if( isnan(l_p1) || isinf(l_p1) ){ ^ VG_Model/VG_Mixture_Model.h:350:38: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:614:5: note: 'std::isinf' isinf(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:516:14: note: 'boost::math::isinf' inline bool (isinf)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h: In member function 'bool VG_Mixture_Model::track_lg(bool)': VG_Model/VG_Mixture_Model.h:388:23: error: 'isnan' was not declared in this scope if( isnan(c_loglik) || isinf(c_loglik) ){ ^ VG_Model/VG_Mixture_Model.h:388:23: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h:388:42: error: 'isinf' was not declared in this scope if( isnan(c_loglik) || isinf(c_loglik) ){ ^ VG_Model/VG_Mixture_Model.h:388:42: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:614:5: note: 'std::isinf' isinf(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:516:14: note: 'boost::math::isinf' inline bool (isinf)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h: In member function 'double VG_Mixture_Model::log_density(arma::vec, arma::vec, arma::vec, double, double, double, arma::mat, double, double)': VG_Model/VG_Mixture_Model.h:525:24: error: 'isnan' was not declared in this scope if( isnan(bessel_term)){ ^ VG_Model/VG_Mixture_Model.h:525:24: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h: In member function 'void VG_Mixture_Model::SE_step()': VG_Model/VG_Mixture_Model.h:716:16: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ VG_Model/VG_Mixture_Model.h:716:16: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h: In member function 'void VG_Mixture_Model::RE_step()': VG_Model/VG_Mixture_Model.h:810:16: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ VG_Model/VG_Mixture_Model.h:810:16: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h: In member function 'void VG_Mixture_Model::SEMI_step()': VG_Model/VG_Mixture_Model.h:889:18: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ VG_Model/VG_Mixture_Model.h:889:18: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:68:0: VG_Model/VG_Mixture_Model.h: In member function 'void VG_Mixture_Model::M_step_gamma()': VG_Model/VG_Mixture_Model.h:1110:22: error: 'isnan' was not declared in this scope if(!isnan(gam_g) && !comparison_vg(gam_g,10.0)){ ^ VG_Model/VG_Mixture_Model.h:1110:22: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:69:0: vgpcm_arma.hpp: In function 'Rcpp::List main_loop_vg(arma::mat, int, int, int, arma::mat, int, double, int, double, arma::vec, int)': vgpcm_arma.hpp:109:20: error: 'isnan' was not declared in this scope if(isnan(in_l_tol)){ ^ vgpcm_arma.hpp:109:20: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from T_Model/T_Mixture_Model.hpp:383:0, from pcm.cpp:72: T_Model/General_Methods.hpp: In member function 'void T_Mixture_Model::RE_step()': T_Model/General_Methods.hpp:285:16: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ T_Model/General_Methods.hpp:285:16: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from T_Model/T_Mixture_Model.hpp:383:0, from pcm.cpp:72: T_Model/General_Methods.hpp: In member function 'void T_Mixture_Model::SE_step()': T_Model/General_Methods.hpp:359:16: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ T_Model/General_Methods.hpp:359:16: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from T_Model/T_Mixture_Model.hpp:383:0, from pcm.cpp:72: T_Model/General_Methods.hpp: In member function 'void T_Mixture_Model::SEMI_step()': T_Model/General_Methods.hpp:447:18: error: 'isnan' was not declared in this scope if(isnan(ss)){ ^ T_Model/General_Methods.hpp:447:18: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ In file included from pcm.cpp:73:0: tpcm_arma.hpp: In function 'Rcpp::List main_loop_t(arma::mat, int, int, int, arma::mat, int, double, int, double, arma::vec, int)': tpcm_arma.hpp:125:20: error: 'isnan' was not declared in this scope if(isnan(in_l_tol)){ ^ tpcm_arma.hpp:125:20: note: suggested alternatives: In file included from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/platform/compiler.h:100:0, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/Rcpp/r/headers.h:67, from d:/RCompile/CRANpkg/lib/3.6/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadilloForward.h:26, from d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from pcm.cpp:17: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ In file included from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/inf_nan.hpp:35:0, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast/try_lexical_convert.hpp:44, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/lexical_cast.hpp:32, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/tools/convert_from_string.hpp:15, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/constants/constants.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/gamma.hpp:23, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/detail/bessel_jy.hpp:14, from d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/bessel.hpp:20, from GH_Model/GH_Mixture_Model.h:4, from pcm.cpp:57: d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/math/special_functions/fpclassify.hpp:606:14: note: 'boost::math::isnan' inline bool (isnan)(T x) ^ make[1]: *** [pcm.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpwTFEqb/R.INSTALLaaa871db2d5/mixture/src-i386' ERROR: compilation failed for package 'mixture' * removing 'd:/Rcompile/CRANpkg/lib/3.6/mixture' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.6/mixture'