Introduction
Accessing packages
Figure 1
![a screenshot of the Packages tab in Rstudio](fig/packages.png)
Packages tab
Figure 2
![A screenshot of a window dialog in Rstudio, labeled 'Install Packages'](fig/install.png)
Install prompt
Figure 3
![A moving image that shows a user clicking the Install and Restart button in Rstudio and starting the installation process](fig/install-and-restart.gif)
Build
Getting started
Figure 1
![New project menu](fig/new-project.png)
New project menu
Figure 2
![New project menu](fig/create-package.png)
New project menu
Figure 3
![New project menu](fig/contents.png)
New project menu
Figure 4
![Install and restart](fig/install-and-restart.gif)
Install and restart
Writing our own functions
Licenses
Testing
Figure 1
![Test package](fig/test.gif)
Test package
Figure 2
![Check package](fig/check.gif)
Check package
Managing dependencies
Documenting your package
Figure 1
Build More Configure Build Tools
. You’ll see a menu like
this: ![Project options](fig/project-options.png)
Figure 2
Generate documentation with Roxygen
. A new menu
will appear: ![Project options](fig/roxygen-options.png)
Figure 3
![Roxygen skeleton](fig/roxygen-skeleton.gif)
Roxygen skeleton
Figure 4
![Document](fig/document.gif)
Document
Figure 5
![Help](fig/help.png)
Help
Data
Figure 1
![](fig/mermaid-data.png)
Vignettes
Figure 1
![Knitting an R Markdown document](fig/knit.gif)
Knitting an R Markdown document