Hi there,
We have been using curl as our download.file.method but when we switched to using the Posit public package manager we noticed that it doesn't work. It does work with CRAN though, and libcurl works with Posit PPM. A minreprex might be:
> # Posit with curl
> install.packages(
+ "abind",
+ repos = "https://packagemanager.posit.co/cran/latest",
+ method = "curl"
+ )
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 146 100 146 0 0 68 0 0:00:02 0:00:02 --:--:-- 68
Warning in install.packages :
error 1 in extracting from zip file
Warning in install.packages :
cannot open compressed file 'abind/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection
> # CRAN with curl
> install.packages(
+ "abind",
+ repos = "https://cran.rstudio.com/",
+ method = "curl"
+ )
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 63771 100 63771 0 0 168k 0 --:--:-- --:--:-- --:--:-- 169k
package ‘abind’ successfully unpacked and MD5 sums checked
> # Posit with libcurl
> install.packages(
+ "abind",
+ repos = "https://packagemanager.posit.co/cran/latest",
+ method = "libcurl"
+ )
trying URL 'https://packagemanager.posit.co/cran/latest/bin/windows/contrib/4.3/abind_1.4-5.zip'
Content type 'binary/octet-stream' length 64122 bytes (62 KB)
downloaded 62 KB
package ‘abind’ successfully unpacked and MD5 sums checked