-
Install
distill
viainstall.packages("distill")
. -
Run
distill::create_post()
. -
Add a setup chunk to your post
```{r setup, include=FALSE} knitr::opts_chunk$set( echo = TRUE, R.options = list(width = 80) ) ```
-
Write the post and select appropriate categories. Tags are not available.
-
Add required packages to the DESCRIPTION file via
usethis::use_package(<package>)
. -
Render your post locally using
rmarkdown::render()
and preview locally usingrmarkdown::render_site()
andpkgdown::preview_site()
or (when using RStudio) by clicking on "Build Website" in the "Build" pane. -
Apply the mlr-style to the post.
-
Open a Pull request and commit only the Rmd file and external images (your local html file and all files generated during the rendering should be ignored automatically).
-
Now CI deploys a preview of the site including the new Rmd. All auxiliary files will be deployed automatically. The preview is available in the Checks menu within the PR.
All posts are rendered on every push to ensure that all posts can be run without issues.