Adding built in data to an R package (CC294)
Including data in a package can be useful way to help demonstrate the utility of your R package as well as a convenient way to give your users what they need to run your functions. In this Code Club, Pat shows how to use the {devtools} tools to create two datasets that will potentially ship with his {phylotypr} R package. Along the way, he’ll discuss file compression, documentation, and file sizes. This episode is part of an ongoing effort to develop an R package that implements the naive Bayesian classifier.
Code
You can browse the state of the repository at the