-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Error - R/Conda #295
Comments
Hi @desmodus1984, The recommended way to install methylKit from within R would be via Bioconductor:
If you are installing methylKit via Conda and are facing conflicts, sometimes it helps to install into a fresh environment. Concerning your update, it seems like you are missing curl headers to build rhtslib and a common solution seems to be installing Best |
Hi,
I tried installing methylkit in R but I got an error:
Error in install_github("al2na/methylKit", build_vignettes = FALSE, repos = BiocManager::repositories(), :
could not find function "install_github"
Then, I found that it is also available in conda, and I got an error:
conda install -c bioconda bioconductor-methylkit
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with your system:
Your installed version is: 2.17
Could you help me tell what can I do to install it?
I work in a computer cluster with Linux installed.
Thanks;
Update:
I tried installing it again. I managed to install R in Linux, and this time I got different error:
hfile_libcurl.c:47:10: fatal error: curl/curl.h: No such file or directory
47 | #include <curl/curl.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.Rhtslib:135: hfile_libcurl.o] Error 1
make[1]: Leaving directory '/tmp/RtmpQQkXm3/R.INSTALL32d77c12749967/Rhtslib/src/htslib-1.15.1'
make: *** [Makevars.common:22: htslib] Error 2
ERROR: compilation failed for package ‘Rhtslib’
ERROR: dependencies ‘XML’, ‘RCurl’ are not available for package ‘restfulr’
ERROR: dependency ‘RCurl’ is not available for package ‘GenomeInfoDb’
ERROR: dependency ‘GenomeInfoDb’ is not available for package ‘Biostrings’
ERROR: dependency ‘GenomeInfoDb’ is not available for package ‘GenomicRanges’
ERROR: dependencies ‘GenomicRanges’, ‘GenomeInfoDb’ are not available for package ‘SummarizedExperiment’
ERROR: dependencies ‘GenomeInfoDb’, ‘GenomicRanges’, ‘Biostrings’, ‘Rhtslib’ are not available for package ‘Rsamtools’
ERROR: dependency ‘GenomicRanges’ is not available for package ‘fastseg’
ERROR: dependencies ‘GenomeInfoDb’, ‘GenomicRanges’, ‘SummarizedExperiment’, ‘Biostrings’, ‘Rsamtools’ are not available for package ‘GenomicAlignments’
ERROR: dependencies ‘GenomicRanges’, ‘XML’, ‘GenomeInfoDb’, ‘Biostrings’, ‘RCurl’, ‘Rsamtools’, ‘GenomicAlignments’, ‘restfulr’ are not available for package ‘rtracklayer’
ERROR: dependencies ‘GenomicRanges’, ‘GenomeInfoDb’, ‘Rsamtools’, ‘fastseg’, ‘rtracklayer’, ‘Rhtslib’ are not available for package ‘methylKit’
The downloaded source packages are in
‘/tmp/RtmpJrWfoM/downloaded_packages’
Installation paths not writeable, unable to update packages
path: /usr/lib/R/library
packages:
boot, foreign, Matrix, nlme, spatial, survival
There were 13 warnings (use warnings() to see them)
I followed the instructions as stated in the website.
Thanks;
The text was updated successfully, but these errors were encountered: