首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >installation雇工包安装错误

installation雇工包安装错误
EN

Stack Overflow用户
提问于 2021-02-20 16:42:44
回答 2查看 4K关注 0票数 7

我正在尝试安装rnaturalearthhires软件包,但我遇到了许多错误。

以下是第一个错误:

代码语言:javascript
复制
Installing the rnaturalearthhires package.
Installing package into ‘C:/Users/kkost/OneDrive/Dokumenti/R/win-library/4.0’
(as ‘lib’ is unspecified)

value3L中的错误:未能安装rnaturalearthhires雇用包。请尝试使用以下命令为自己安装该软件包:install.packages("rnaturalearthhires", repos = http://packages.ropensci.org", type = "source")

然后,我尝试以下代码:

代码语言:javascript
复制
install.packages("rnaturalearthhires", repos = "http://packages.ropensci.org", type = "source")

我明白了:

代码语言:javascript
复制
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/kkost/OneDrive/Dokumenti/R/win-library/4.0’
(as ‘lib’ is unspecified)
**Error in install.packages : error reading from connection**

然后我尝试使用以下代码:

代码语言:javascript
复制
devtools::install_github("ropensci/rnaturalearthhires")

但最终得到的是:

loadNamespace中的错误(i,c(lib.loc,.libPaths(),versionCheck = vI[i]):名称空间‘rlang’0.4.8已经加载,但需要>= 0.4.10

我还尝试了以下代码:

代码语言:javascript
复制
install_github("ropensci/rnaturalearthhires")

但我明白了:

install_github中的错误(“ropensci/rNatal土方雇用”):找不到函数"install_github"

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2021-02-21 00:08:37

我找到了这个,也许会有帮助:https://github.com/ropensci/rnaturalearthhires/issues/2

代码语言:javascript
复制
install.packages("devtools") # I guess you also need this
devtools::install_github("ropensci/rnaturalearthhires")
library("rnaturalearth")
票数 8
EN

Stack Overflow用户

发布于 2021-09-30 17:49:13

devtools需要花费大量的时间来编译和安装一些用户。直接从github安装现在可以完成远程包。

remotes::install_github("ropensci/rnaturalearthhires")

票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66294044

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档