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

Not able to install clusterProfiler on Colab #665

Open
pmhchang opened this issue Feb 5, 2024 · 3 comments
Open

Not able to install clusterProfiler on Colab #665

pmhchang opened this issue Feb 5, 2024 · 3 comments

Comments

@pmhchang
Copy link

pmhchang commented Feb 5, 2024

Not able to install clusterProfiler on Colab

install.packages("BiocManager")
BiocManager::install("clusterProfiler")

Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)

'getOption("repos")' replaces Bioconductor standard repositories, see
'help("repositories", package = "BiocManager")' for details.
Replacement repositories:
BioCsoft: https://bioconductor.org/packages/3.18/bioc
BioCann: https://bioconductor.org/packages/3.18/data/annotation
BioCexp: https://bioconductor.org/packages/3.18/data/experiment
BioCworkflows: https://bioconductor.org/packages/3.18/workflows
BioCbooks: https://bioconductor.org/packages/3.18/books
CRAN: https://cran.rstudio.com/

Bioconductor version 3.18 (BiocManager 1.30.22), R 4.3.2 (2023-10-31)

Installing package(s) 'clusterProfiler'

also installing the dependencies ‘tidygraph’, ‘graphlayouts’, ‘ggraph’, ‘enrichplot’, ‘igraph’

Warning message in install.packages(...):
“installation of package ‘igraph’ had non-zero exit status”
Warning message in install.packages(...):
“installation of package ‘tidygraph’ had non-zero exit status”
Warning message in install.packages(...):
“installation of package ‘graphlayouts’ had non-zero exit status”
Warning message in install.packages(...):
“installation of package ‘ggraph’ had non-zero exit status”
Warning message in install.packages(...):
“installation of package ‘enrichplot’ had non-zero exit status”
Warning message in install.packages(...):
“installation of package ‘clusterProfiler’ had non-zero exit status”
Old packages: 'textshaping'

@HarshKr960
Copy link

I am having the same issue. Did you find out how to fix it ?

@pmhchang
Copy link
Author

pmhchang commented Feb 8, 2024 via email

@pmhchang
Copy link
Author

Found the solution by manually install "igraph" and "tidygraph"

download.file("https://cran.r-project.org/src/contrib/Archive/igraph/igraph_1.6.0.tar.gz", "igraph_1.6.0.tar.gz")
install.packages("igraph_1.6.0.tar.gz", repos = NULL, type = "source")

download.file("https://cran.r-project.org/src/contrib/Archive/tidygraph/tidygraph_1.3.0.tar.gz", "tidygraph_1.3.0.tar.gz")
install.packages("tidygraph_1.3.0.tar.gz", repos = NULL, type = "source")

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