Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use workaround proposed by @gaborcsardi
r-lib/pkgdown#2211 (comment)). Worked already locally on in my Win10 Pro OS
- Loading branch information
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mrustl so you can reproduce the failure locally?
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes @gaborcsardi I can reproduce it without your fix! Could try to create a
reprex
example if that helps!9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should repro it:
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undefined
CURL_SSL_BACKEND
Created on 2022-10-17 by the reprex package (v2.0.1)
Session info
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here with
CURL_SSL_BACKEND
=openssl
defined in.Renviron
Created on 2022-10-17 by the reprex package (v2.0.1)
Session info
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you try with base R's libcurl?
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same (as above)
Created on 2022-10-17 by the reprex package (v2.0.1)
Session info
Created on 2022-10-17 by the reprex package (v2.0.1)
Session info
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is very useful!
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mrustl on this same machine that fails, can you test if you can open that url in the default microsoft browser (edge I think)?
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jeroen!
Yes, https://crandb.r-pkg.org/dplyr/all works with:
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Catching up, is this a curl or API problem and can pkgdown do something to avoid it?
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the only solution is for Gabor to update the nginx server. There seems to be a recent change in Windows that has made it incompatible with old openssl servers.
9259441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gaborcsardi is it something that is possible to do for crandb?
Alternatively pkgdown could set the environment variable locally but I wonder whether that has downsides.