wmrkdown

The goal of wmrkdown is to provide rmarkdown versions of various WMR document templates. Currently, a template exists for creating a WUR-style presentation using markdown (md) or R markdown (Rmd).

Installation

You can install wmrkdown from WUR git with:

devtools::install_git("https://git.wur.nl/wmrkdown/wmrkdown")

Make sure the required dependencies are available in your system:

install.packages(c("rmarkdown", "knitr"))

If you do not have LaTeX installed in your system, you can dio use via the tinytex packages

install.packages("tinytex")
tinytex::install_tinytex()

Example

To create a new presentation, called "example", you can call

library(wmrkdown)

draft("example.Rmd",
  template="wur", package="wmrkdown")

A folder caled example will be created containing the following files:

You are free to change the pictures, as long as you use the same names.

After working on the Rmd file, you can create the PDF output using

render("example.Rmd")