/mlr3gallery

Case studies using mlr3

Primary LanguageRCreative Commons Zero v1.0 UniversalCC0-1.0

mlr3gallery

R CMD Check via {tic}

Add a new post

  1. Install distill via install.packages("distill").

  2. Run distill::create_post().

  3. Add a setup chunk to your post

    ```{r setup, include=FALSE}
    knitr::opts_chunk$set(
      echo = TRUE,
      R.options = list(width = 80)
    )
    ```
  4. Write the post and select appropriate categories. Tags are not available.

  5. Add required packages to the DESCRIPTION file via usethis::use_package(<package>).

  6. Render your post locally using rmarkdown::render() and preview locally using rmarkdown::render_site() and pkgdown::preview_site() or (when using RStudio) by clicking on "Build Website" in the "Build" pane.

  7. Apply the mlr-style to the post.

  8. 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).

  9. 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.

CI

All posts are rendered on every push to ensure that all posts can be run without issues.