Become an R package developer!

Workshop for R-Ladies East Lansing & R-Ladies Chicago | 2021-03-26

This repo contains the materials for a 2 hour workshop on R package development.
Visit https://pkg-dev-el.netlify.app/ to see the live version!

Instructor (+ Content)

Maelle Salmon | (@maelle) | masalmon.eu | @ma_salmon

Organizers

Setup instructions

Further Reading


Netlify Status Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Source of the website of a short course.

It is powered by Hugo and the following themes:

Slides for each section are listed in the menu and opened in a new tab (thanks to a custom menu layout, compared to the original Hugo learn theme).

Some Markdown content is generated with R Markdown, using hugodown.

The website is deployed by Netlify.

Slides could be printed to PDF using Decktape which I have done in a concept but I am not pursuing it further.

Why these tools?

Why use Hugo for both the website and slidedecks, and not, say Hugo+hugodown for pages and xaringan for slides? This way the source of slides is html produced by Hugo from Markdown content. It allows me to use:

  • downlit syntax highlighting for slides created from R Markdown with hugodown output format;
  • Chroma syntax highlighting for other languages;
  • emojis! :grin: works in slides;
  • Shortcodes in slides, should I choose to.

Also, because slides are in the content, they are indexed by the Hugo learn theme so searchable!