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!