Lesson
R Packaging
This workshop will provide you with the basics for writing your own packages in R.
Lesson metadata
Slug r-packaging
Subtopic —
Skill Level Beginner
OSS Role(s) Contributor, Maintainer
Resource Type tutorial
Time Required 2m
Author The Carpentries Incubator
License https://creativecommons.org/licenses/by/4.0/
Keywords lesson-materials lessons-page best-practices r
Language(s) en
Additional metadata
Creative Work Status Under development
Date Created 2021-02-19
Date Modified 2025-12-23
Date Published 2025-12-23
Domain General Open Source
Identifier https://github.com/carpentries-incubator/lesson-R-packaging
Learning Objectives After this lesson, the learner should be able to:
- 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
Ospo Relevance Moderate
Prerequisite Notes intermediate-r | r-basics | introduction-to-git
Sorting Id 12
Topic Packaging, R