Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions vignettes/rd-other.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ knitr::opts_chunk$set(
Datasets are stored in `data/`, not as regular R objects in the package.
This means you need to document them in a slightly different way: instead of documenting the data directly, you quote the dataset's name.

For example, this roxygen2 block will documentation for `data(diamonds)`:

```{r}
#' Prices of over 50,000 round cut diamonds
#'
Expand Down