---
layout: post
title: "How to create a data only R package with devtools (CC296)"
blurb: "Creating a data R package"
author: "PD Schloss"
date: 2024-07-29 9:00
comments: false
youtube: t1BCV21WG1I
start_hash: 21daf1747139f5dadcbf6104e1fdd1310e0454e1
end_hash: 7a58ad168fc034cbc66576c6f22c5f643baf53cc
---

Did you know that an R package does not necessarily need to contain any code? In this Code Club, Pat creates a data package that provides two versions of the RDP's trainset19 16S rRNA gene sequence reference sequences. This is a great review of creating a package and how to work with data in packages. This episode is part of an ongoing effort to develop an R package that implements the naive Bayesian classifier.

<iframe style="margin: 0 auto;display:block;" width="560" height="315" src="https://www.youtube.com/embed/{{ page.youtube }}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

## Code

You can browse the state of the repositories at the

* [beginning of the episode](https://github.com/riffomonas/phylotypr/tree/7a58ad168fc034cbc66576c6f22c5f643baf53cc}})
* [end of the episode](https://github.com/mothur/trainset19/tree/317429fb2b51efd26fb3cb999dbfb750920db8c4)
