Skip to content

Commit

Permalink
Added vignette template
Browse files Browse the repository at this point in the history
  • Loading branch information
christianholland committed Jul 28, 2020
1 parent 110ace2 commit 8b2274e
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ Icon

docs
docs/
inst/doc
5 changes: 4 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ Imports:
Suggests:
testthat,
covr,
pkgdown
pkgdown,
knitr,
rmarkdown
RoxygenNote: 7.1.1
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
19 changes: 19 additions & 0 deletions vignettes/how-to.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: "How to decouple?"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{test}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

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

```{r setup}
library(decoupleR)
```

0 comments on commit 8b2274e

Please sign in to comment.