I work from different computers on the same R package with Rstudio, but for some reason, whenever I build the package, some of the computers will modify the RcppExports.R
and RcppExports.cpp
files by adding underscore in front of some functions. For example, this can be found when looking at the dif between the files before and after compiling the package (first line is before, second is after):
.Call('PkgName_FunctionName', PACKAGE = 'PkgName', arguments)
.Call('_PkgName_FunctionName', PACKAGE = 'PkgName', arguments)
This bothers me because git sees this as a change.
My questions are:
- Why is the underscore included?
- What can I do to have compiling the package not modify any of the files?