My issue is this:
Rigth now i have R 3.2 wooden xmas tree version, but theres some packages I need that dosent work on this version, so when i try to install the new
I had the same problem on Ubuntu 16.04LTS. Unfortunately installing libcurl4-openssl-dev did not solve the issue. However, installing libcurl4-gnutls-dev did work.