0

我正在尝试使用 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然后我得到一个新错误,在 这里发布了一个新问题。

4

1 回答 1

2

尝试以下操作:

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

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

于 2018-12-04T22:01:29.283 回答