libcurlVersion Report Version of libcurl
Description
Report version of libcurl in use.
Usage
libcurlVersion()
Value
A character string, with value the libcurl version in use or "" if none is. If libcurl is available, has attributes
ssl_version | A character string naming the SSL/TLS implementation and version, possibly |
libssh_version | A character string naming the |
protocols | A character vector of the names of supported protocols, also known as ‘schemes’ when part of a URL. |
Warning
In late 2017 a libcurl installation was seen divided into two libraries, libcurl and libcurl-feature, and the first had been updated but not the second. As the compiled function recording the version was in the latter, the version reported by libcurlVersion was misleading.
See Also
extSoftVersion for versions of other third-party software.
curlGetHeaders, download.file and url for functions which (optionally) use libcurl.
https://curl.se/docs/sslcerts.html and https://curl.se/docs/ssl-compared.html for more details on SSL versions (the current standard being known as TLS). Normally libcurl used with R uses SecureTransport on macOS, OpenSSL on Windows and GnuTLS, NSS or OpenSSL on Unix-alikes. (At the time of writing Debian-based Linuxen use GnuTLS and RedHat-based ones use NSS, but it has been announced that Fedora 27 will switch to OpenSSL.)
Examples
libcurlVersion()
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.