r语言从giuthb安装失败_r - 从GitHub安装软件包的问题 - 堆栈内存溢出

在尝试使用R的devtools从GitHub安装'flipPlots'及其依赖包时遇到错误,包括无法移除已有安装的'Rcpp'、'rlang'和'backports'包。尝试单独安装这些包后,仍出现错误,提示无法打开GitHub上的URL。问题尚未解决。
摘要由CSDN通过智能技术生成

我尝试从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'

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值