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 centos 7. I fixed it by installing the libcurl-devel. The mistake I had made was that I just had libcurl installed and not it's development packages.
libcurl-devel
libcurl