Hi,
I'm a package engineer currently trying to package Rstudio 2023.06.1 build 524 with R 4.3.1
With these versions install.packages doesn't work anymore and results in:
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'
In previous versions Rstudio 1.4.1106 with R 4.2.2 it works fine.
Tried disabling 'Use secure download method' in 2023.06.1 build 524 with R 4.3.1 but it didn't help.
This setting is enabled with 1.4.1106 and R 4.2.2 where installing packages still works.
Then I noticed that when changing the download.file.method to wininet install.packages works again.
I then found that since R 4.2+ wininet is deprecated and libcurl is now the default.
Does this mean wininet will stop working entirely at some point?
Nothing changed in our network environment but I guess something is blocked with libcurl?
I don't want to go down the road having to change firewalls/proxies so I rather set the default download.file.method to wininet.
To prevent users having to set it each time they start Rstudio how can I set the default for download.file.method to wininet at the start of Rstudio?