R包安装错误:install.packages('stringi')

installing via 'install.libs.R' to C:/Program Files/R/R-3.6.0/library/00LOCK-stringi/00new/stringi
downloading the ICU data library (icudt)
output path: icu69/data/icu4c-69_1-data-bin-l.zip
trying URL 'https://raw.githubusercontent.com/gagolews/stringi/master/src/icu69/data/icu4c-69_1-data-bin-l.zip'
Warning in download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb") :
  InternetOpenUrl failed: 'The server name or address could not be resolved'
Error in download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb"): cannot open URL 'https://raw.githubusercontent.com/gagolews/stringi/master/src/icu69/data/icu4c-69_1-data-bin-l.zip'

trying URL 'http://raw.githubusercontent.com/gagolews/stringi/master/src/icu69/data/icu4c-69_1-data-bin-l.zip'
Warning in download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb") :
  InternetOpenUrl failed: 'The server name or address could not be resolved'
Error in download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb"): cannot open URL 'http://raw.githubusercontent.com/gagolews/stringi/master/src/icu69/data/icu4c-69_1-data-bin-l.zip'

icudt download failed
Error in eval(ei, envir) : 
  icudt could not be downloaded. check your internet connectivity
* removing 'C:/Program Files/R/R-3.6.0/library/stringi'
Warning in install.packages :
  installation of package ‘stringi’ had non-zero exit status


Warning in system("sh ./configure.win") : 'sh' not found
ERROR: configuration failed for package 'stringi'

 
posted @ 2021-06-23 19:46  emanlee  阅读(2017)  评论(0编辑  收藏  举报