I tried to search for a solution but couldn't find one.
Below are my system information:
devtools::session_info()
Session info ---------------------------------------------------------------------------------------------
setting value
version R version 3.6.1 (2019-07-05)
os Windows 10 x64
system x86_64, mingw32
ui RStudio
language (EN)
collate English_United States.1252
ctype English_United States.1252
tz Europe/Berlin
date 2019-11-26
At it's simplest, the function is trying to render a file in a non-existent path. Without a reproducible example, called a reprex , it's hard to say where this train went off the tracks.
I've run into my own share of problems with blogdown that I've found a way to troubleshoot. I create a test site locally following the guidance in the definitive source
Thanks for your reply.
I also thought that it might be the problem of path, because the ... in the error message was really odd to me.
I checked the path, there are many subfolders under the path myBlog\public\authors\, a folder name as "admin" is one of them. Is there any way that I can specify which folder should serve_site() use to build site?
About the reproducible example, I agree with you. But it's hard for me to provide that code, because basically serve_site() was the only code I run. I guess the only way to let others' to reproduce this error would be uploading the public folder to github. Do you have any suggestions?
Did you mean that I should click the terminal window of R studio, and input cat /Users/rc/projects/locus/content/post/index.html? And then run serve_site().
That's what I've just done (changed the path of index.html to mine), but it didn't change anything.
Forgive my inexperience. When using R, I only used Console of Rstudio (and also I run blogdown on a windows system).
Would you just give a bit more instructions? e.g., which terminal I should use, or with file I should edit?
Sorry to be obscure again, and Unix-centric to boot.
The goal is to confirm the existence and location of the file identified in the error message. cat is just one tool to do that. However you do it in Windows normally will work just as well.
Thanks a lot, which part of the site should I upload? The whole folder that including all files (which includes config, content, 'public', and other subfolders), or just the folder public?
Does that mean, all names in the authors' folder should avoid . ?
But Actually I didn't create these folders, these were automatically added when I added information of papers.