Entering edit mode
I was trying to install clusterProfiler on google colab but getting this error Code used to install -
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("clusterProfiler")
Tell me how to fix it.
it looks like the dependencies needed also failed to install. Does it show specific ERROR's for the packages listed? For "igraph", they made updates recently and I had to install system dependencies that are needed; you might need to install a system dependency for these packages to install correctly.
I am trying to install it on google colab. So how should I fix it there ? If the same way then what system dependency should I install ?
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")