Skip to content
Prev 398202 / 398500 Next

`install.packages()` and https proxy with R 4.5

Thanks for the suggestions.

I tried "http_proxy", "https_proxy" and "all_proxy". All to no avail.

A colleague of mine still has the 4.4 version of R where everything works,
and she reports that getOption("download.file.method") reports "libcurl"
which leads me to believe that wininet was never used. Also "libcurl" is
reported now.

The package {pak} works and {pak} uses the package {curl} (which uses
libcurl) to download things as far as I can tell. When using
"curl::curl_download()" directly on the repository PACKAGES file, it also
works.
"download.file()" does give me an error. It really seems there is something
wrong with "download.file()". Or they are bundling/using different versions
of libcurl and libcurl has a bug in one of those?
On Thu, Oct 2, 2025, 08:24 Jan van der Laan <rhelp at eoos.dds.nl> wrote: