Hi,

I tried to use curl in examples and get the following error:
GnuTLS recv error (-110): The TLS connection was non-properly terminated.

Can I solve this without dontrun?

Below code of example and traceback:

> # detect encoding of the web pages content
> if (require("curl")) {
+   fetch_url <- function(u) curl_fetch_memory(u)$content
+   detect_raw_enc(fetch_url("https://www.corriere.it";))
+   detect_raw_enc(fetch_url("https://www.vk.com";))
+   detect_raw_enc(fetch_url("https://www.qq.com";))
+   detect_raw_enc(fetch_url("https://kakaku.com";))
+   detect_raw_enc(fetch_url("https://www.incruit.com/";))
+ }
Loading required package: curl
Error in curl_fetch_memory(u) : 
  GnuTLS recv error (-110): The TLS connection was non-properly terminated.
Calls: detect_raw_enc -> fetch_url -> curl_fetch_memory
Execution halted

-- 
Artem Klevtsov

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to