无法安装disgenet2r包。

huangapple go评论86阅读模式
英文:

Unable to install the disgenet2r package

问题

library(devtools)
install_bitbucket("ibi_group/disgenet2r")

无法安装依赖项,如SPARQL
错误:无法为包‘disgenet2r’安装依赖项‘SPARQL’

  • 删除‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/disgenet2r’
    警告消息:
    1:包‘SPARQL’不适用于此版本的R

可能适用于您的R版本的此包的版本可能在其他地方可用,请参见
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages 上的想法
2:In i.p(...) :
安装包‘/var/folders/43/7hr3j7q17tn0ns1g67l5vbq80000gn/T//Rtmptk5KoF/file2d1b24460f94/disgenet2r_0.99.2.tar.gz’时出现非零退出状态

为进一步的OMIM研究安装disgenet2r库

英文:
library(devtools)
install_bitbucket("ibi_group/disgenet2r")

Unable to install dependencies such as SPARQL
ERROR: dependency ‘SPARQL’ is not available for package ‘disgenet2r’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/disgenet2r’
Warning messages:
1: package ‘SPARQL’ 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 
2: In i.p(...) :
  installation of package ‘/var/folders/43/7hr3j7q17tn0ns1g67l5vbq80000gn/T//Rtmptk5KoF/file2d1b24460f94/disgenet2r_0.99.2.tar.gz’ had non-zero exit status

Installing of library(disgenet2r) for further OMIM research

答案1

得分: 1

OK,something的版本需要更改。我将假设你的R版本将保持不变。

我不知道你使用的SPARQL版本,但这是最新版本:

install.packages("https://cran.r-project.org/src/contrib/Archive/SPARQL/SPARQL_1.16.1.tar.gz", repos=NULL, type="source")

在那之后再试一次。如果仍然不起作用,请尝试:

install.packages("devtools")
devtools::install_version("disgenet2r", version = "0.99.1")
英文:

OK, so, the version of something needs to change. I will assume your R version will remain fixed.

I don't know what version of SPARQL you're on, but this is the latest:

install.packages("https://cran.r-project.org/src/contrib/Archive/SPARQL/SPARQL_1.16.1.tar.gz", repos=NULL, type="source")

Try it again after that. If it's still not working then try:

install.packages("devtools")
devtools::install_version("disgenet2r", version = "0.99.1")

huangapple
  • 本文由 发表于 2023年2月19日 06:35:36
  • 转载请务必保留本文链接:https://go.coder-hub.com/75496803.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定