[Rd] Can gzfile be given the same method option as file
Ivan Krylov
|kry|ov @end|ng |rom d|@root@org
Thu Sep 12 17:23:02 CEST 2024
В Thu, 12 Sep 2024 15:06:50 +0000
Simon Andrews <simon.andrews using babraham.ac.uk> пишет:
> > download.file('https://seurat.nygenome.org/azimuth/references/homologs.rds',
> > destfile = "c:/Users/andrewss/homologs.rds", method="libcurl")
<...>
> status was 'SSL connect error'
>
> > download.file('https://seurat.nygenome.org/azimuth/references/homologs.rds',
> > destfile = "c:/Users/andrewss/homologs.rds", method="curl")
<...>
> curl: (35) schannel: next InitializeSecurityContext
> failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation
> function was unable to check revocation for the certificate.
This extra error code is useful, thank you for trying the "curl"
method. https://github.com/curl/curl/issues/14315 suggests a libcurl
option and a curl command line option.
Does download.file(method = 'curl', extra = '--ssl-no-revoke') work for
you?
Since R-4.2.2, R understands the R_LIBCURL_SSL_REVOKE_BEST_EFFORT
environment variable. Does it help to set it to "TRUE" (e.g. in the
.Renviron file) before invoking download.file(method = "libcurl")?
Some extra context can be found in
news(grepl('R_LIBCURL_SSL_REVOKE_BEST_EFFORT', Text)) and
<https://bugs.r-project.org/show_bug.cgi?id=18379>.
--
Best regards,
Ivan
More information about the R-devel
mailing list