Warning message: package ‘clusterProfiler’ is not available for this version of R  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 

if (!requireNamespace("devtools", quietly = TRUE)) {
    install.packages("devtools")
}
devtools::install_github("YuLab-SMU/ggtree")

BiocManager::install("clusterProfiler")

暂时不知道为什么运行以上代码就成功安装了。我的R版本是4.2.1。

更多推荐