美文网首页
【R报错】解决Linux下安装clusterProfiler:o

【R报错】解决Linux下安装clusterProfiler:o

作者: 生物信息与育种 | 来源:发表于2022-03-17 16:49 被阅读0次

报错

R version 4.0.3

$R
BiocManager::install("clusterProfiler")

Error in get(name, envir = asNamespace(pkg), inherits = FALSE) :
  object 'get_fun_from_pkg' not found
Error: unable to load R code in package ‘clusterProfiler’
Execution halted
ERROR: lazy loading failed for package ‘clusterProfiler’

解决

原因是rvcheck版本太旧。

1.重新安装rvcheck

packageurl <- "https://cran.r-project.org/src/contrib/Archive/rvcheck/rvcheck_0.1.8.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
remove.packages("clusterProfiler")
if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install("clusterProfiler")

2.用conda

conda install -c bioconda bioconductor-clusterprofiler

Ref: https://support.bioconductor.org/p/9139765/

相关文章

网友评论

      本文标题:【R报错】解决Linux下安装clusterProfiler:o

      本文链接:https://www.haomeiwen.com/subject/lonvdrtx.html