Re: [Rcpp-devel] Rstudio package build and Rcpp::compileAttributes()

2013-02-07 Thread Smith, Dale
To: Smith, Dale Cc: rcpp-devel Subject: Re: [Rcpp-devel] Rstudio package build and Rcpp::compileAttributes() Hi Dale, In order to ensure that the RcppExports.cpp file is correct it needs to be deterministically generated, so in all cases we need write access to it. One possible workaround is this:

Re: [Rcpp-devel] Rstudio package build and Rcpp::compileAttributes()

2013-02-07 Thread JJ Allaire
Hi Dale, In order to ensure that the RcppExports.cpp file is correct it needs to be deterministically generated, so in all cases we need write access to it. One possible workaround is this: - Use a custom SOURCES variable in Makevars to explicitly list the source files to compile as part of the p

[Rcpp-devel] Rstudio package build and Rcpp::compileAttributes()

2013-02-07 Thread Smith, Dale
Hello all, I'm using Rstudio 0.97.306, R 2.15-2, and Rcpp 0.10.2 with Windows 7 Professional x64. I recently switched to using the build tool in Rstudio, however, my generated file RcppExports.cpp and RcppExports.R are checked into version control, so they are read-only. The build fails with