ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’

ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’
removing ‘/usr/local/lib/R/site-library/httr’

apt-get install openssl
apt-get install openssl-devel

apt-get install libcurl

Or:

wget https://www.openssl.org/source/openssl-1.1.1i.tar.gz

tar -xvf  openssl-1.1.1i.tar.gz

cd openssl-1.1.1i/

./config 

make && make install

./config shared 

make clean

make  && make install

‘curl’:

wget  http://curl.haxx.se/download/curl-7.38.0.tar.gz

tar -xzvf curl-7.38.0.tar.gz

cd curl-7.38.0

./configure

make

make install

Read More: