本文介绍了R CMD检查中的黑名单.git文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我非常肯定你们很多人都在使用 git
作为CVS。如何绕过 R CMD检查
的以下警告:
I'm pretty sure that a lot of you guys out there are using git
as CVS. How do you bypass the following warning on R CMD check
:
* checking for executable files ... WARNING
Found the following executable file(s):
我尝试在 .Rbuildignore
中放入 .git
文件夹,但没有运气。
I tried by putting .git
folder in .Rbuildignore
, but with no luck.
我认为对于所有使用Github托管R软件包的人来说,这是一件小事。任何想法?
I reckon that this one is trivial for all of you who are using Github to host R packages. Any ideas?
推荐答案
是的,使用 .Rbuildignore
然后构建然后检查 .tar.gz
,而不是源目录。
Yes, use .Rbuildignore
and then build the .tar.gz
and then check the .tar.gz
and not the source directory.
这篇关于R CMD检查中的黑名单.git文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!