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’
这是我的错误信息尾部。我已经在Fedora上安装了curl。
sudo dnf install curl
我完全不知道如何解决这个问题,而更改操作系统或运行虚拟机对我来说不是一个选项。
tidyverse
,尝试安装单独的包,例如install.packages('dplyr', dependencies = TRUE)
。 - akrunoptions()$repos["CRAN"]
返回什么? - MrFlicksudo dnf install libcurl-devel
。对于openssl-devel
也是如此。 - MrFlick