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 similar problem, and I solve it by installing libcurl4-openssl-dev. This is one of packages, which R could use (R manual https://cran.r-project.org/web/packages/curl/index.html)