[Rd] rtools40 curl cannot handle -w variables

Jan Netík net|kj@ @end|ng |rom gm@||@com
Thu Feb 10 16:53:04 CET 2022


Hi,

I get different results when using Windows curl and curl shipped with
rtools40.

curl -Ls -o nul -w %{url_effective} --connect-timeout 30 --max-time 30
> https://mirror.ctan.org


returns %url_effective when in fact it shoud return the actual URL. With
Windows curl, it works just fine.

It could be due to old curl shipped with rtools40: curl 7.64.1
(x86_64-pc-msys) libcurl/7.64.1 OpenSSL/1.1.1k zlib/1.2.11, Windows
uses curl 7.79.1 (Windows) libcurl/7.79.1 Schannel.

It seems that system2() uses rtools40 curl and this renders many things
erroneous. Any thoughts on this?

Best regards
Jan

	[[alternative HTML version deleted]]



More information about the R-devel mailing list