-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating favicons produces "Path exists and overwrite is FALSE"
error with devel-pkgdown
#2553
Comments
There are two problems here:
|
I am not manually running this step in CI, it is run as part of The workflow has been working with devel-pkgdown fine for a long time; the change in behaviour seems to be related to changes made in 350854a#diff-26463c4a1c19b09efab07b1bf9d404f4103a028f98a8cd2dd0f810bded97cee0. Here is a minimal reprex showing how that change is not backward-compatible: Beforetmp <- tempfile()
on.exit(unlink(tmp))
result <- httr::RETRY(
"GET",
"http://httpbin.org/status/200",
httr::write_disk(tmp),
quiet = TRUE
) Created on 2024-05-17 with reprex v2.1.0 Aftertmp <- withr::local_tempdir()
result <- httr::RETRY(
"GET",
"http://httpbin.org/status/200",
httr::write_disk(tmp),
quiet = TRUE
)
#> Error: Path exists and overwrite is FALSE Created on 2024-05-17 with reprex v2.1.0 |
GHA = CI |
Yes, I am aware. I have a 100-page slidedeck on how to use GHA/CI for effective R package development. |
A workaround here is to just store the favicons in |
And fix bug introduced by use of fs everywhere. Fixes #2553. Tested by re-buidling pkgdown's favicons.
And fix bug introduced by use of fs everywhere. Fixes #2553. Tested by re-buidling pkgdown's favicons.
And fix bug introduced by use of fs everywhere. Fixes r-lib#2553. Tested by re-buidling pkgdown's favicons.
CI logs: https://github.com/IndrajeetPatil/statsExpressions/actions/runs/9120963709/job/25079334023?pr=279
The text was updated successfully, but these errors were encountered: