cytomining / cytominer

Methods for Image-Based Cell Profiling
https://cytomining.github.io/cytominer/
Other
48 stars 28 forks source link

Consider adding cytominer on conda #132

Open gwaybio opened 5 years ago

gwaybio commented 5 years ago

@hkhawar and I were troubleshooting cytominer install. It was failing originally because of the issues described in #131 - we are trying to install in a conda environment, but are getting some errors.

hkhawar commented 5 years ago

ERROR: dependency ‘KernSmooth’ is not available for package ‘prodlim’

hkhawar commented 5 years ago

name: Target_ID channels:

gwaybio commented 5 years ago

@hkhawar - I was able to install cytominer after adding:

- conda-forge::r-caret=6.0_84

to the environment.yml file

hkhawar commented 5 years ago

Great

gwaybio commented 5 years ago

I have a feeling that the installation using devtools

devtools::install_github("cytomining/cytominer", dependencies = TRUE, build_vignettes = TRUE)

will still break cytominer. Maybe you can try setting dependencies = FALSE. But this could also require more packages to add to environment.yml

hkhawar commented 5 years ago

Screen Shot 2019-07-01 at 4 03 02 PM

hkhawar commented 5 years ago

Should I add these packages in environment file?

hkhawar commented 5 years ago

It didn't work even by setting Dependencies=FALSE

gwaybio commented 5 years ago

It didn't work even by setting Dependencies=FALSE

Great!

Try adding these packages to the environment.yml file. Warning! You may get caught in conda hell

hkhawar commented 5 years ago

Screen Shot 2019-07-01 at 4 11 28 PM

hkhawar commented 5 years ago

It complains about incompatibility

gwaybio commented 5 years ago

not surprisingly! Try removing r-tinytex

edit - can also remove r-xfun

hkhawar commented 5 years ago

Removing r-tinytex and r-xfun packages from environment

Installing from CRAN using following below command worked for me

packageurl <- "https://cran.r-project.org/src/contrib/Archive/cytominer/cytominer_0.1.0.tar.gz" install.packages(packageurl, repos=NULL, type="source")

gwaybio commented 5 years ago

:tada: :tada: