Initially I was trying to use devtools::install_github(\"EdwinTh/padr\")
where I got the following error:
Error in curl::new_handle() : An unknown opt
I'm running Ubuntu 18.04, and ran into the same problem when I tried and failed to install the Tidyerse R package. As a dependency it tried to install curl 4.3 although I have already curl 7.58.0-2ubuntu3.12 installed. So to update the OS wouldn't help as long as R doesn't realize there is already an existing curl version installed.
Solved it for me: sudo apt install libcurl4-openssl-dev and sudo apt install libssl-dev