Skip to content

Commit 65fb7fe

Browse files
authored
Merge pull request #2 from Big-Life-Lab/vignette
Init vignettes (again 😭)
2 parents 22ffa8c + 9391fd1 commit 65fb7fe

5 files changed

Lines changed: 29 additions & 0 deletions

File tree

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99
^docs$
1010
^pkgdown$
1111
^CODE_OF_CONDUCT\.md$
12+
^doc$
13+
^Meta$

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@
88
.quarto
99
.vscode/
1010
docs
11+
inst/doc
12+
/doc/
13+
/Meta/

DESCRIPTION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ Imports:
2020
stringr,
2121
tidyr
2222
Suggests:
23+
knitr,
24+
rmarkdown,
2325
testthat (>= 3.0.0),
2426
tibble
2527
Config/testthat/edition: 3
2628
URL: https://big-life-lab.github.io/clsatools/, https://github.com/Big-Life-Lab/clsatools
29+
VignetteBuilder: knitr

vignettes/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.html
2+
*.R

vignettes/vignette.Rmd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: "Tutorial"
3+
output: rmarkdown::html_vignette
4+
vignette: >
5+
%\VignetteIndexEntry{Tutorial}
6+
%\VignetteEngine{knitr::rmarkdown}
7+
%\VignetteEncoding{UTF-8}
8+
---
9+
10+
```{r, include = FALSE}
11+
knitr::opts_chunk$set(
12+
collapse = TRUE,
13+
comment = "#>"
14+
)
15+
```
16+
17+
```{r setup}
18+
library(clsatools)
19+
```

0 commit comments

Comments
 (0)