configure: error:
---------------------------------------------
OpenSSL library required
Please install:
libssl-dev (deb) or openssl-devel (rpm)
---------------------------------------------
See `config.log' for more details
ERROR: configuration failed for package ‘git2r’
* removing ‘/home/udi/R/x86_64-pc-linux-gnu-library/3.2/git2r’
ERROR: dependency ‘openssl’ is not available for package ‘httr’
* removing ‘/home/udi/R/x86_64-pc-linux-gnu-library/3.2/httr’
ERROR: dependencies ‘httr’, ‘git2r’ are not available for package ‘devtools’
* removing ‘/home/udi/R/x86_64-pc-linux-gnu-library/3.2/devtools’
但是,当我尝试安装 libssl-dev(我有 Ubuntu 14.04.3)时,我收到消息“‘libssl-dev’不可用(对于 R 版本 3.2.2)”。
知道要做什么吗?下载新的 R 版本还是有其他解决方案?
最佳答案
那是一个系统包——不是 R 包。您可以从命令行运行
sudo apt-get install libssl-dev
关于r - 由于依赖关系,安装 devtools 失败,但依赖关系不适用于我拥有的 R 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35063883/