Not able to install clusterProfiler
0
0
Entering edit mode
Snehal • 0
@5a65f5e9
Last seen 15 months ago
India

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("clusterProfiler")
clusterProfiler • 2.4k views
ADD COMMENT
0
Entering edit mode

You do not provide any clue to find a solution, a minimum would be to add the error message you have after running this code

ADD REPLY
0
Entering edit mode

I have trouble install the "clusterProfiler" on Google colab. It was working until 1 weeks ago. Here is the error message:

if (!require("BiocManager", quietly = TRUE)) install.packages("BiocManager")

BiocManager::install("clusterProfiler") output 'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")' for details. Replacement repositories: 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'
ADD REPLY
0
Entering edit mode

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")

ADD REPLY

Login before adding your answer.

Traffic: 866 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6