Warning in install.packages : installation of package ‘tidyverse’ had non-zero exit status

…衆ロ難τιáo~ 提交于 2019-11-30 08:22:25

You find the answer in your error message:

------------------------ ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:
 * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
....
....

Copy and paste the following to your Terminal and than try installing tidyverse again. Should solve the problem.

# Required for many packages
sudo apt-get install -y libxml2-dev libcurl4-openssl-dev libssl-dev

The problem occurred because tidyverse has system dependencies (i.e., libcurl4-openssl-dev, libssl-dev, libxml2-dev). I wrote a blog post that explains the solution in more details.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!