无法 conda 构建 R 包

洛根杨 |

我正在尝试使用 conda 和 Jupypter 编写一些 R 代码。我找到了一个名为“treatSens”的有用软件包,并尝试按照此处的说明通过 conda 进行安装

conda install conda-build
conda skeleton cran treatSens
conda build r-treatsens
conda install -c local r-treatsens

然后我得到了这个错误conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform osx-64: {"r-dbarts[version='>=0.9_1']"}我如何满足这种依赖性?任何建议表示赞赏。

===更新====

添加--recursive然后我遇到了一个新错误,在这里发布了一个新问题

凯尔·英格拉汉姆

请尝试以下操作:

conda install conda-build
conda skeleton cran --recursive treatSens
conda build r-treatsens
conda install -c local r-treatsens

递归选项应该考虑您需要的依赖项。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章