On Tue, Feb 4, 2020 at 5:51 PM Guido Kraemer <gkrae...@bgc-jena.mpg.de> wrote: > I have also set `~/.R/Makevars.win` as suggested in the manual "Writing > R extensions", Section 1.2.5 "Using C++14 code".
What exactly do you have in src/Makevars.win? Just the simple CXX_STD = CXX14 or the more complex set-up from the end of section 1.2.5.. The rstan package is on CRAN including windows binaries and uses C++14. In src/Makevars.win they have CXX_STD = CXX14 CXX14STD = -std=c++1y c.f. https://github.com/stan-dev/rstan/blob/40e93534e771d8c536ddb60fc62e86a5b55596de/rstan/rstan/src/Makevars.win#L2-L3 cheerio ralf ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel