繁体   English   中英

Github 的“粉末”未安装(RStudio)

[英]“Powder” from Github not installing (RStudio)

我正在尝试从 Github read.me 文件中运行这段代码

## Install
```{r,eval=FALSE}
#install.packages('devtools')
devtools::install_github('jeff324/powder',build_vignettes = TRUE)
```   

然而。 我不断在控制台中收到此错误消息:

Downloading GitHub repo jeff324/powder@HEAD
Installing 1 packages: tibble
Installing package into ‘C:/Users/tessc/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/tibble_3.0.6.zip'
Content type 'application/zip' length 836388 bytes (816 KB)
downloaded 816 KB

package ‘tibble’ successfully unpacked and MD5 sums checked
Error: Failed to install 'powder' from GitHub:
  (converted from warning) cannot remove prior installation of package ‘tibble’
> 

有谁知道可能会发生什么?

当我遇到这些类型的错误时,我要做的第一件事是重新启动 R。 Go 到 Session -> 重启 R。 如果这不起作用,请尝试在 R Studio 中打开一个全新的 session。 我刚刚能够安装这个 package。 所以从根本上说,它是有效的。

暂无
暂无

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

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