You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---title:"Untitled"output:html_documentbibliography:references.bib---```{r}
# Long compute
Sys.sleep(3600)
```
Save as zzz.Rmd. Running rmarkdown::render("zzz.Rmd") will fail after an hour with all compute finished but no output file generated, with the following error, simply because the .bib file is not there:
File references.bib not found in resource path
Error: pandoc document conversion failed with error 99
I wonder if it makes sense to fail early here. It will protect the users from waiting for a long time to get no results due to a trivial condition that can be easily verified by rmarkdown.
I think that's a good idea. The output_file/output_dir/intermediates_dir business in render() may once again complicates this seemingly simple issue, though (i.e., the pain of multiple possible working directories).
Activity
yihui commentedon Mar 24, 2025
I think that's a good idea. The
output_file/output_dir/intermediates_dirbusiness inrender()may once again complicates this seemingly simple issue, though (i.e., the pain of multiple possible working directories).