繁体   English   中英

为什么我在 devtools::install_github 中出现语法错误?

[英]Why do I get a syntax error in devtools::install_github?

我是 linux 的新手。 我正在尝试使用 dropEst 管道https://github.com/hms-dbmi/dropEst#dropreport分析测序数据。 我想运行DropReport ,为此我需要安装dropEstR包。

我试过:

devtools::install_github('hms-dbmi/dropEst/dropestr' , dependencies = T) 

正如他们所建议的那样,我得到了一个错误:

bash:意外标记附近的语法错误“hms-dbmi/dropEst/dropestr”,“

你知道我应该怎么做吗?

我认为您使用的是“错误”的外壳。 当您想使用devtools包时,您必须使用 R/RStudio。 来自克兰:

标题工具使开发 R 包更容易

我刚刚在 RStudio 中尝试过你的命令,但最终安装失败:

ERROR: dependency 'Rcpp' is not available for package 'dropestr'
* removing 'C:/R/R-3.4.2/library/dropestr'
Installation failed: Command failed (1)

您必须在 RStudio for R 上运行此类脚本。在此处导入您的项目并运行它。

你可以从这里输入链接描述下载它

快乐编码。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM