curl package new_handle() error on Centos7

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

curl package new_handle() error on Centos7

WU Degang
Hi everyone,

I am using R-3.6.0 on CentOS 7.7. I got the following error message when I typed �curl::curl_download(url,tempfile())�:

Error in new_handle() : An unknown option was passed in to libcurl

Because of this error, I cannot use devtools::install_github. The version of curl is the one that comes with CentOS 7.7: curl 7.29.0. My R session info:

R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS:   /home/opt/software/R-3.6.0/lib64/R/lib/
LAPACK: /home/opt/software/R-3.6.0/lib64/R/lib/

[3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8       LC_NAME=C
[9] LC_ADDRESS=C               LC_TELEPHONE=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] curl_4.1        RCurl_1.95-4.12 bitops_1.0-6

loaded via a namespace (and not attached):
[1] compiler_3.6.0

How can I deal with this error?


        [[alternative HTML version deleted]]

[hidden email] mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.