从GitHub安装软件包的问题

我尝试从GitHub安装软件包,并且在R中使用了以下代码:

install.packages("devtools")
library(devtools)
install_github("Displayr/flipPlots")

但是我得到了以下错误:

 Error: Failed to install 'flipPlots' from GitHub:
Failed to install 'flipTransformations' from GitHub:
Failed to install 'flipFormat' from GitHub:
Failed to install 'formattable' from GitHub:
(converted from warning) cannot remove prior installation of package ‘Rcpp’

我该如何解决这个问题?

编辑。在注释中包含建议之后,我执行了以下步骤:

install.packages("Rcpp")

但是我获得了

Error: Failed to install 'flipPlots' from GitHub:
Failed to install 'flipTransformations' from GitHub:
Failed to install 'flipFormat' from GitHub:
Failed to install 'formattable' from GitHub:
(converted from warning) cannot remove prior installation of package ‘rlang’

然后:

install.packages("rlang")

Error: Failed to install 'unknown package' from GitHub:
Failed to install 'unknown package' from GitHub:
Failed to install 'unknown package' from GitHub:
(converted from warning) cannot remove prior installation of package ‘backports’

最后我安装了backports软件包,但获得了以下新错误:

Error: Failed to install 'unknown package' from GitHub:
 cannot open URL 
'https://api.github.com/repos/Displayr/flipPlots/contents/DESCRIPTION?ref=master'
daneee 回答:从GitHub安装软件包的问题

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3145375.html

大家都在问