Open utterances-bot opened 3 years ago
Neat, thanks!
I was trying to do the same, but for a single distill
article, but I'm a bit puzzled about what would be the right command in this case. rmarkdown::render("article.Rmd", output_dir = "docs")
does not seem to be completely equivalent to pressing Knit
in RStudio, and (ugh!) I can't find out what R
commands does the latter button call. Any idea on this?
Cheers, Valerio
How do you know that rmarkdown::render("article.Rmd", output_dir = "docs")
is not the same as pressing "Knit"? Is there a difference in the output?
Also, when I press "Knit", the command that is actually run is displayed at the top of the "R Markdown" tab (next to the "Console" tab) so you can check the equivalent R command of "Knit".
Cheers, Etienne
Etienne Bacher: Use GitHub actions with R Markdown and Distill
https://www.etiennebacher.com/posts/2021-03-19-use-github-actions-with-r-markdown-and-distill/