Introduction to R package development
👉 Slides for this session.
Workshop draws heavily on a chapter in R Packages (2e), which is the book to read if you want to go deeper on anything here:
- The Whole Game: create a small package from scratch. Chapter
We build a small packaged called libminer.
- Jenny’s libminer from 2026: https://github.com/jennybc/libminer-raukr-2026
- Jenny’s libminer from 2025: https://github.com/jennybc/libminer-raukr-2025
Follow along via the modules in the sidebar, e.g. for easy copy/paste of what the instructor is doing.
This workshop is gratefully adapted from materials developed by Andy Teucher for the Introduction to R Package Development workshop at posit::conf(2023), whose source is on GitHub.