RStudio gets stuck building a simple markdown site

RStudio 1.2.5033 sometimes gets stuck when building a simple markdown site.

For instance, say I have the "hello world" site from here: https://garrettgman.github.io/rmarkdown/rmarkdown_websites.html

When I build, sometimes it builds, but sometimes it hangs rendering a file. RStudio will just hog CPU for ages until I kill it.
But when it's killed, git starts running wild and also has to be killed:

Screen Shot 2020-03-25 at 2.13.02 PM

(I can't add a screenshot of RStudio hogging CPU because new users, for some reason, are only allowed to post one picture.)

Oddly, when I re-start RStudio and re-build the website -- changing absolutely none of the files -- sometimes it builds, and other times it hangs again, and I have to repeat the kill-restart process.

Anybody else experiencing the same problem?

The only solution I found so far is to individually render pages, e.g.

rmarkdown::render_site("index.md")

But this is cumbersome in a site with many pages.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.