How to update RCurl and curl to the version on the host machine?

前端 未结 1 1487
别那么骄傲
别那么骄傲 2021-02-06 11:38

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

相关标签:
1条回答
  • 2021-02-06 12:34

    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

    0 讨论(0)
提交回复
热议问题