[英]Failing to conda build R package
I'm trying to use conda and Jupypter to write some R code.我正在尝试使用 conda 和 Jupypter 编写一些 R 代码。 I found a useful package called 'treatSens' and tried to install via conda following the instructions here .
我找到了一个名为“treatSens”的有用软件包,并尝试按照此处的说明通过 conda 进行安装。
conda install conda-build
conda skeleton cran treatSens
conda build r-treatsens
conda install -c local r-treatsens
Then I got this error conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform osx-64: {"r-dbarts[version='>=0.9_1']"}
.然后我得到了这个错误
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform osx-64: {"r-dbarts[version='>=0.9_1']"}
。 How do I satisfy this dependency?我如何满足这种依赖性? Any suggestion is appreciated.
任何建议表示赞赏。
===UPDATE==== ===更新====
Added --recursive
then I got a new error, posted a new question here .添加
--recursive
然后我得到一个新错误,在这里发布了一个新问题。
Try the following:请尝试以下操作:
conda install conda-build
conda skeleton cran --recursive treatSens
conda build r-treatsens
conda install -c local r-treatsens
The recursive option should account for the dependencies you need.递归选项应该考虑到您需要的依赖项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.