Rstudio compiles .cpp files using Rcpp::sourceCpp and Rcpp::compileAttributes.
perhaps we can register a fake Rcpp so that Rcpp::sourceCpp calls attributes::sourceCpp so that sourceing a .cpp file in rstudio really uses attributes.
cc @jjallaire, @kevinushey
Rstudio compiles
.cppfiles usingRcpp::sourceCppandRcpp::compileAttributes.perhaps we can register a fake Rcpp so that
Rcpp::sourceCppcallsattributes::sourceCppso that sourceing a .cpp file in rstudio really uses attributes.cc @jjallaire, @kevinushey