Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Etienne Bacher: Use GitHub actions with R Markdown and Distill #4

Open
utterances-bot opened this issue Jul 17, 2021 · 2 comments
Open

Comments

@utterances-bot
Copy link

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/

Copy link

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

Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants