安装R包“MAST”失败,解决办法:
install.packages("MAST")
输出:
Warning in install.packages :
package ‘MAST’ is not available (for R version 4.0.2)
试了以下各种方法,全部失败:
install.packages("MAST",repos=NULL, type="source")
install.packages("MAST", repos="https://mran.microsoft.com/snapshot/2019-02/01/")
source("http://bioconductor.org/biocLite.R")
require(MAST)
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("MAST")
最后:
http://www.bioconductor.org/packages/release/bioc/html/MAST.html
在Rstudio右下角界面中,选择Package->install:
完成