eval(exprs[i], envir) 错误:找不到对象 'confint.default'

Error in eval(exprs[i], envir) : object 'confint.default' not found

R包安装错误

englianhu 17 年 7 月 3 日

install.packages()update.packages() 都面临错误,如下所示:

Error in eval(exprs[i], envir) : object 'confint.default' not found
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo tidyverse/tidyverse@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All                            
2: CRAN packages only             
3: None                           
4: stringi (1.6.2 -> 1.7.3) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 1
stringi (1.6.2 -> 1.7.3) [CRAN]
Rcpp    (NA    -> 1.0.7) [CRAN]
isoband (NA    -> 0.2.5) [CRAN]
Skipping 1 packages ahead of CRAN: data.table
Installing 3 packages: stringi, Rcpp, isoband
Installing packages into ‘/usr/lib/R/library’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/stringi_1.7.3.tar.gz'
Content type 'application/x-gzip' length 7599615 bytes (7.2 MB)
==================================================
downloaded 7.2 MB

trying URL 'https://cloud.r-project.org/src/contrib/Rcpp_1.0.7.tar.gz'
Content type 'application/x-gzip' length 2941808 bytes (2.8 MB)

... ...

相信在install.packages()update.packages()中使用不同的下载方法。有人看一下吗?暂时在学习Coursera课程

来源:RStudio Community - R package Installation error

虽然错误仍然存​​在,但至少 :$ sudo su - -c "R -e \"devtools::update_packages()\"" 使更新和安装包工作正常。

https://community.rstudio.com/t/r-package-installation-error/110251/7?u=englianhu