-
Notifications
You must be signed in to change notification settings - Fork 336
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
Invalid "use pkgdown::clean_site()" advice #2699
Comments
Hmmm, I think it's the advice that's wrong here — |
@Bisaloo what advice do you think pkgdown should provide in this case? |
Actually, in testing this, the advice is to "make sure it contains no important information and use pkgdown::clean_site() to |
We could just add |
When
docs/
is not empty and not created by pkgdown, an error message will be returned:pkgdown/R/clean.R
Lines 30 to 41 in c7c4865
But when running
pkgdown::clean_site()
, the same message is returned becauseclean_site()
itself callscheck_dest_is_pkgdown()
:pkgdown/R/clean.R
Lines 19 to 21 in c7c4865
I can create a reprex package for this issue if helpful.
The text was updated successfully, but these errors were encountered: