After I updated R to 3.5, I found I couldn't render .Rmd file. I tried to reinstall the relevant packages, but it seemed it didn't solve the problem. More specifically, the error message is:
blogdown:::serve_site()
Rendering content/post/mypost.Rmd
Fatal error: cannot open file 'C:/Users/John': No such file or directory
Error in render_page(f) : Failed to render 'content/post/mypost.Rmd'
My blogdown.Rproj is under the folder C:\Users\John Smith\Documents\GitHub\blogdown. I am not sure why the path in the error message only shows cannot open file 'C:/Users/John', the remaining part of the path was missing. Note the space in "John Smith"
Your help will be really appreciated!
You ran into the same problem as Is this a bug in R 3.5?, and I just applied a workaround in the devel version of blogdown:
devtools::install_github('rstudio/blogdown')
来源:https://stackoverflow.com/questions/50077412/in-r-3-5-blogdownserve-site-cannot-render-rmd-file