问题描述:

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.

相关阅读:
Top