Maintaining & Sustaining Software Beginner 7h 25m
R Packaging
This workshop will provide you with the basics for writing your own packages in R.
Learning outcomes
- Understand what an R package is and why it is useful for code organization
- Identify the tools used to create and manage R packages
- Build, install, and attach custom R packages
- Apply licensing best practices to new R packages
- Create a battery of basic tests for R package validation
Prerequisites
Git, R
Cite this lesson
Metadata from CITATION.cff.
APA
Rodriguez-Sanchez, P., Vreede, B., de Boer, L. (2026). lesson-R-packaging. UC OSPO Network. https://carpentries-incubator.github.io/lesson-R-packaging/
BibTeX
@misc{r_packaging_2026,
author = {Rodriguez-Sanchez, Pablo and Vreede, Barbara and de Boer, Lieke},
title = {lesson-R-packaging},
year = {2026},
publisher = {UC OSPO Network},
url = {https://carpentries-incubator.github.io/lesson-R-packaging/}
}