Picking a name for my R package (CC267)

March 21, 2024 • PD Schloss • 1 min read

Picking a name for an R package is a bit like picking a name for your kid. What I screw up? We have time to finalize the name, so let me know if you don’t like what I come up with. This video gives some explanation for the name that I have settled on for now. After picking a name, I create a skeleton for the package including getting it up on GitHub, creating a README, setting up tests, and roughing in documentation. Thankfully, Hadley Wickham and Jenny Bryan have removed a lot of the pain of pulling off these steps with their book R Packages. I’ll apply the first chapter of their book to start the development of my R package. We’ll use a number of functions from the devtools, usethis, and testthat, packages to develop the skeleton.

Code

You can browse the state of the repository at the end of the episode