Creating Your First R Package
There are already a lot of great resources1 that teach you how to make an R package. But I thought it would still be worthwhile to walk through how I created my first one – at the very least, it’ll be helpful for myself when I write my next R package.
Here is my step-by-step guide to building a (minimally functional) R package.
Step 1: Set up your packages and directory To create your own R package, you will need to use two packages, devtools and roxygen2.