You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I initialized a package with an empty README.md intending to fill it in later, and when I later tried to build a site with pkgdown::build_site(), I ran into an error:
The error wasn't very informative, but I was able to fix the issue by removing the README.md file in the package root directory.
Following the error trace, the build_home_index() function seems to check if specific files exist (e.g. "pkgdown/index.md", "index.md", "README.md"), but if those files exist and are empty, it results in an error.
The text was updated successfully, but these errors were encountered:
I initialized a package with an empty README.md intending to fill it in later, and when I later tried to build a site with
pkgdown::build_site()
, I ran into an error:The error wasn't very informative, but I was able to fix the issue by removing the README.md file in the package root directory.
Following the error trace, the
build_home_index()
function seems to check if specific files exist (e.g. "pkgdown/index.md", "index.md", "README.md"), but if those files exist and are empty, it results in an error.The text was updated successfully, but these errors were encountered: