<div dir="ltr"><pre style="font-size:13px">Hi,<br> <br>When I create a Rcpp package with the function Rcpp.package.skeleton, <br>I do not have the of the makevars and makevars.win files in src, however, the package work<br> on my computer, but i have a problem when I try to install it on other<br> machines, especially with the using of the C++11, because I must add <br> the variable  "CXX_STD = CXX11" in the Makevars.win file. <br> Here is the execution result:(There is no Makevars files in the execution): <br> <br>------------------------------------------------- <br>> Rcpp.package.skeleton("newpackage", attributes=TRUE)<br> Creating directories ...<br> Creating DESCRIPTION ...<br> Creating NAMESPACE ...<br> Creating Read-and-delete-me ...<br> Saving functions and data ...<br> Making help files ...<br> Done.<br> Further steps are described in './newpackage/Read-and-delete-me'.<br> <br> Adding Rcpp settings<br>  >> added Imports: Rcpp<br>  >> added LinkingTo: Rcpp<br>  >> added useDynLib directive to NAMESPACE<br>  >> added importFrom(Rcpp, evalCpp) directive to NAMESPACE<br>  >> added example src file using Rcpp attributes<br>  >> compiled Rcpp attributes<br>  >> added Rd file for rcpp_hello_world<br>-------------------------------------------------<br> <br>The ~/.R/Makevars file is as follow : <br>-------------------------------------------------<br>CXX=clang++ -arch x86_64 -ftemplate-depth-256 <br>CFLAGS=-mtune=native -g -O2 -Wall -pedantic -Wconversion<br>CXXFLAGS= -stdlib=libc++ -std=c++11<br>-------------------------------------------------<br></pre><pre style="font-size:13px">Could anybody explain me where come from this problem ?<br><br></pre><pre style="font-size:13px">Youssef<br>Thanks in advance,<br></pre></div>