当前位置: 动力学知识库 > 问答 > 编程问答 >

git - Remove test dependencies from R package

问题描述:

I'm developing an R package that has a shiny app as part of it. I have been trying to add testing for the shiny component, which means that I now have dependencies required for that testing.

However, they make life potentially difficult for users given their own dependencies, and for future CRAN submission, since they are only available on github.

Is there a method for only including test dependencies (and tests) on non-master branches? I can remove those tests and dependencies manually on the master branch as a possible solution, but doesn't seem at all ideal.

分享给朋友:
您可能感兴趣的文章:
随机阅读: