Skip to content

Commit

Permalink
Vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
gguyver committed Jun 27, 2024
1 parent bb8c4a4 commit fcf0173
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.httr-oauth
.DS_Store
.quarto
inst/doc
3 changes: 3 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ Imports:
rlang,
cli
Suggests:
knitr,
rmarkdown,
testthat (>= 3.0.0)
Config/testthat/edition: 3
Depends:
R (>= 2.10)
LazyData: true
VignetteBuilder: knitr
2 changes: 2 additions & 0 deletions vignettes/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.html
*.R
20 changes: 20 additions & 0 deletions vignettes/animal-sounds.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "animalsoundr Getting Started"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{animalsoundr Getting Started}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```

```{r setup}
library(animalsoundr)
animal_sounds("dog", "woof")
```

0 comments on commit fcf0173

Please sign in to comment.