src-{i386,x64} folders in R package

时间:2017-08-04 12:39:06

标签: r rcpp devtools

While installing an R package containing Rcpp code using the devtools::install() command, two new folders - src-i386 and src-x64 were created. This would not happen earlier. Also this happens on a Windows system only. I'm guessing this is a result of a new feature added in the devtools package.

Question: Should these folders be included in the git repository?

1 个答案:

答案 0 :(得分:2)

没有

只有src/应该包含在git存储库中。

src-i386src-x64文件夹是Windows上多架构构建遗留下来的工件(例如x86和x64)。这些文件夹是 R 使用R CMD INSTALL ...进行命令行安装的结果,devtools包含这些文件夹。