简体   繁体   English

当尝试在 R 工作室中安装 tidyverse 时,fedora tidyverse 的依赖项不会安装

[英]When attempting to install tidyverse in R studio on fedora tidyverse's dependencies wont install

Warning in install.packages :
  installation of package ‘googledrive’ had non-zero exit status
ERROR: dependencies ‘curl’, ‘gargle’, ‘googledrive’, ‘httr’, ‘ids’ are not available for package ‘googlesheets4’
* removing ‘/home/lanewhitten/R/x86_64-redhat-linux-gnu-library/4.0/googlesheets4’
Warning in install.packages :
  installation of package ‘googlesheets4’ had non-zero exit status
ERROR: dependencies ‘googledrive’, ‘googlesheets4’, ‘httr’, ‘rvest’ are not available for package ‘tidyverse’
* removing ‘/home/lanewhitten/R/x86_64-redhat-linux-gnu-library/4.0/tidyverse’
Warning in install.packages :
  installation of package ‘tidyverse’ had non-zero exit status

The downloaded source packages are in
    ‘/tmp/RtmpxCRrL7/downloaded_packages’

That is the tail of my error messages.那是我的错误消息的尾巴。 Ive already installed curl on fedora using sudo dnf install curl I am at a total loss as to how to resolve this and switching operating systems or running a virtual machine is not an option for me.我已经使用sudo dnf install curl在 fedora 上安装了 curl 我完全不知道如何解决这个问题,切换操作系统或运行虚拟机对我来说不是一个选择。

The development packages which are not specified in the error message need to be installed需要安装报错信息中没有指定的开发包

sudo dnf install libcurl-devel
sudo dnf install openssl-devel 

then do install.packages("tidyverse")

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

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