On several occasions when I have tried to update a package requiring compilation on my Windows 10 machine (most recently trying to update rstanarm) the installation has failed with the error message:
Error in .shlib_internal(args) :
C++14 standard requested but CXX14 is not defined
I have no problem updating these packages on my Ubuntu machine. Ultimately I am able to update these packages if/when a compiled version appears on CRAN.
But I'd like to fix the problem. I suspect some glitch on the compile system on my Windows machine, but I have no idea how to fix this problem.
For what it's worth, RTools 3.5 is installed, devtools 2.0.0 is installed, and pkgbuild::chk_rtools() returns TRUE. As has been true for some time now, there appears to be no Rtools package available for R 3.5.1.
Thanks in advance for any suggestions how to fix this.