R Markdown and Bookdown Templates to Publish Documents

Content

This package provides templates to publish well-formatted documents both in HTML and PDF formats. Documents can be produced locally or hosted on GitHub. GitHub actions can be used for automatic updates.

Templates include:

Available HTML formats for articles are:

Getting started

In RStudio, create a new R Markdown document and chose the appropriate template in the wizard.

Use the menu “File > New File… > R Markdown…”, click on From template and pick up the template you want in the list.

Chose the location to create the document and the name of its directory.

Make the new folder an RStudio Project: use the menu “File / New Project…”, click on “Existing Directory” and select the directory created previously.

Articles and slideshows are produced by clicking on the Knit button of the Source pane of their Rmd file. Memoirs are produced by clicking on the Build Book button of the Build pane.

Push your project to GitHub and activate GitHub Pages to make your documents readable online. The following functions help simplify that task:

Documents can be knitted by GitHub Action if continuous integration in activated:

Credits

The feather in the memoiR package sticker is from Wikimedia under license CC BY-SA 3.0.

The memoir LaTeX package is on CTAN.

Full documentation

https://EricMarcon.github.io/memoiR/