Re: [R-pkg-devel] Compiling error with the new R.h header (R-devel 3.3.0 for Windows) when using the C++ function isnan() of

2016-04-20 Thread Martyn Plummer
Short answer: use the R macro ISNAN instead. See the Writing R Extensions manual for details. Long answer: The default standard for C++ code in R packages is C++98, which does not define a function "isnan". The C++11 standard introduced a std::isnan function to C++. What you were previously

[R-pkg-devel] Compiling error with the new R.h header (R-devel 3.3.0 for Windows) when using the C++ function isnan() of

2016-04-20 Thread Antonio Canale
Dear all, my problem is related to the new version of my msBP package but it actually applies also to the current version uploaded on CRAN (https://cran.r-project.org/web/checks/check_results_msBP.html). It turns out that the package cannot be compiled under the new R-devel for windows. The