Skip to content
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

Should clean_site() also delete the cache? #2718

Closed
jayhesselberth opened this issue Jul 13, 2024 · 4 comments · Fixed by #2719
Closed

Should clean_site() also delete the cache? #2718

jayhesselberth opened this issue Jul 13, 2024 · 4 comments · Fixed by #2719

Comments

@jayhesselberth
Copy link
Collaborator

jayhesselberth commented Jul 13, 2024

Might help with intermittent cache-related issues.

See relevant work in now closed #2715

@hadley
Copy link
Member

hadley commented Jul 13, 2024

It doesn't feel quite right to me since the cache isn't associated with a specific package. Maybe it's worth having a separate clean_cache() function?

@shikokuchuo
Copy link
Member

Just FYI I ran into some sort of cache issue after upgrading to the latest pkgdown locally. Kept running into a callr error for readRDS(path) that I couldn't clear. After I came across clean_cache(), clearing the cache fixed things. Thanks @jayhesselberth. Posting as it might be useful for others with the same problem.

@maelle
Copy link
Collaborator

maelle commented Jul 16, 2024

@shikokuchuo I think you were a victim of #2696

@hadley
Copy link
Member

hadley commented Jul 16, 2024

FWIW the version of httr2 that should fixe this is now on CRAN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants