---
layout: post
title: "How to create a vignette for an R package (CC297)"
blurb: "Write a vignette for your R package"
author: "PD Schloss"
date: 2024-08-05 9:00
comments: false
youtube: 2ssdVtXGmJg
start_hash: 7a58ad168fc034cbc66576c6f22c5f643baf53cc
end_hash: 9bf16a72da72d2db5a0c2e652613481ca2c4b966
---

Vignettes are powerful tools for helping users learn how to use your R package. In this episode, Pat shows how to use the tools from the {usethis} R package to build a vignette to introduce users to the {phylotypr} R package. This episode is part of an ongoing effort to develop an R package that implements the naive Bayesian classifier for classifying 16S rRNA gene sequences.

<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/{{page.start_hash}})
* [end of the episode](https://github.com/riffomonas/phylotypr/tree/{{page.end_hash}})
