Long shot... Make sure the .Rmd is in it's own folder. RStudio IDE likes to believe it can upload anything in the same folder as the original document.
"...Make sure the .Rmd is in it's own folder...".
Do you mean that each .Rmd file should be:
(a) in a separate, unique Rstudio Projectfolder
(just by itself and for itself)?,
-or- (b) simply located in a subfolder of an existing Project folder
(along with other regular R and data files)?.
Thanks! (sorry for the simple, conceptual question...).
For any Rmd that I deploy, I try to make sure it's in its own folder containing only the files necessary to produce the final output.
So, option (b).
Situation:
I download a .Rmd into my ~/Downloads folder: ~/Downloads/someFile.Rmd. My ~/Downloads folder will also contain many other files. When trying to deploy ~/Downloads/someFile.Rmd, I've seen RStudio IDE not like that. If I move the file to ~/Downloads/subfolder/someFile.Rmd where there are no other unnecessary files and try to deploy it, the IDE is snappy and it deploys great.