Possible to state explicit versions of package dependencies?

浪子不回头ぞ 提交于 2019-12-05 05:25:20

You do use Depends. For example:

Depends: R (>= 2.15.0), foo (== 1.17-12)

would place a dependency on R versions greater than or equal to 2.15.0 and on package foo being equal to 1.17-12.

(At least if I have understood you correctly, that you want to state explicitly that your package works only with version x.yy-zz of package foo.)

I'm not sure how helpful this will be for end users though; you are probably going to be forcing them to maintain separate libraries of packages in order to use your package just to maintain the exact versions you stipulate.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!