"If you want something you never had, you have to do something you've never done."
– Thomas Jefferson
We are going to conclude this book by going through the process to create your own R package. If you are doing so, I recommend you start. I've put most of the functionality of data preparation from Chapter 1, Preparing and Understanding Data, into my own package. I'm not planning on putting it on CRAN, nor any package for that matter, with probably the exception of a package of American Civil War data like the Gettysburg file. So why bother with creating a package? If you are going to create code and put it into production, why would you not create a package with version control, examples, and other features? Plus, with RStudio, it is easy to do. So, we will use a simple example with one small function to show how easy it is.
...