Skip to content
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

Please help with my issue with installing Cell Chat package in R studio #11

Open
Navya156 opened this issue Dec 29, 2023 · 1 comment
Open

Comments

@Navya156
Copy link

**I am unable to install Cell Chat package in R studio, even with BiocManager, Github repositories or devtools..

I am getting the following error. Please help me through this. Please guide me to install CellChat package either in OS or windows. Thank you in advance.**

The downloaded source packages are in
‘/private/var/folders/27/6n67zh0s6bjfkj4j582p7k2r0000gn/T/RtmpIESEZ8/downloaded_packages’
Warning messages:
1: package ‘CellChat’ is not available for Bioconductor version '3.16'

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
2: In install.packages(update[instlib == l, "Package"], l, repos = repos, :
installation of package ‘igraph’ had non-zero exit status

devtools::install_github("jinworks/CellChat")
Downloading GitHub repo jinworks/CellChat@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?
1: All
2: CRAN packages only
3: None
4: igraph (1.5.1 -> 1.6.0) [CRAN]

Enter one or more numbers, or an empty line to skip updates:
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/private/var/folders/27/6n67zh0s6bjfkj4j582p7k2r0000gn/T/RtmpIESEZ8/remotes155d830d8dac7/jinworks-CellChat-39e0f14/DESCRIPTION’ ...
─ preparing ‘CellChat’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘CellChat_2.1.1.tar.gz’

ERROR: dependencies ‘ComplexHeatmap’, ‘presto’ are not available for package ‘CellChat’

removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/CellChat’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/27/6n67zh0s6bjfkj4j582p7k2r0000gn/T//RtmpIESEZ8/file155d872824324/CellChat_2.1.1.tar.gz’ had non-zero exit status
install.packages("ComplexHeatmap")
Warning in install.packages :
package ‘ComplexHeatmap’ is not available for this version of R

@Guang-zu
Copy link

Guang-zu commented Jan 8, 2024

try install ‘ComplexHeatmap’ and ‘presto’ first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants