简体   繁体   中英

Failing to conda build R package

I'm trying to use conda and Jupypter to write some R code. I found a useful package called 'treatSens' and tried to install via conda following the instructions here .

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']"} . How do I satisfy this dependency? Any suggestion is appreciated.

===UPDATE====

Added --recursive then I got a new error, posted a new question here .

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM