Learn to make an R package in less than 2 minutes
Have you ever wanted to create your own R package but thought it was too complicated? I used to think the same thing! But I recently learned how to create a simple theme package in R, and I want to show you just how easy it can be. So easy that I can demonstrate the process in just two minutes!
In this quick video, I walk you through the step-by-step process of creating your own R package. Here's what I cover:
Creating a new package project in RStudio
Setting up the package structure using the usethis package
Adding a custom ggplot theme function
Adding documentation
Setting up package dependencies
Creating a license
Installing and using your new package
Sign up for the newsletter
Get blog posts like this delivered straight to your inbox.
You need to be signed-in to comment on this post. Login.