You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在RStudio中安装microbiomeSeq包?遇依赖问题求助

解决microbiomeSeq包安装失败问题

你遇到的核心问题是microbiomeSeq的依赖包KMDA无法通过常规CRAN渠道获取,导致安装中断。错误信息如下:

ERROR: dependency 'KMDA' is not available for package 'microbiomeSeq'

removing 'C:/Users/14142/AppData/Local/R/win-library/4.2/microbiomeSeq'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/Public/Documents/Wondershare/CreatorTemp/Rtmpc7iXOi/file7643cdd730b/microbiomeSeq_0.1.tar.gz’ had non-zero exit status
library(microbiomeSeq)
Error in library(microbiomeSeq) :
there is no package called ‘microbiomeSeq’

解决步骤:

  • 先安装devtools工具包(未安装时执行):
    install.packages("devtools")
    
  • 从GitHub安装KMDA依赖包:
    library(devtools)
    install_github("jyyulab/KMDA")
    
  • 重新安装microbiomeSeq:
    若包来自GitHub,执行:
    install_github("microbiomeSeq对应的GitHub仓库地址")
    
    若使用本地.tar.gz文件,确认依赖安装完成后执行:
    install.packages("C:/Users/Public/Documents/Wondershare/CreatorTemp/Rtmpc7iXOi/file7643cdd730b/microbiomeSeq_0.1.tar.gz", repos = NULL, type = "source")
    

内容的提问来源于stack exchange,提问作者Sarah

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.24 18:46:05