change title of vignettes, and add install instructions for vignettes
This commit is contained in:
@@ -9,6 +9,26 @@ Using the `remotes` package, this is easily installed via:
|
|||||||
```r
|
```r
|
||||||
remotes::install_url("https://git.flavigny.de/christian/hateimparlament/archive/master.zip")
|
remotes::install_url("https://git.flavigny.de/christian/hateimparlament/archive/master.zip")
|
||||||
```
|
```
|
||||||
|
Since the fetching and reading is very slow and depends on an internet connection, all vignettes
|
||||||
|
use `read_from_csv` to read already parsed tibbles from `.csv` files.
|
||||||
|
|
||||||
|
That's why, if you want to build the vignettes yourself, you need to
|
||||||
|
download the source code, e.g. on Linux
|
||||||
|
```
|
||||||
|
git clone https://git.flavigny.de/christian/hateimparlament
|
||||||
|
cd hateimparlament
|
||||||
|
```
|
||||||
|
then start `R` and do
|
||||||
|
```r
|
||||||
|
devtools::load_all()
|
||||||
|
fetch_all(create = TRUE)
|
||||||
|
read_all() %>% repair() -> res
|
||||||
|
write_to_csv(res, create = TRUE)
|
||||||
|
```
|
||||||
|
Then finally, do:
|
||||||
|
```r
|
||||||
|
devtools::install(build_vignettes = TRUE)
|
||||||
|
```
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: "explicittopic"
|
title: "Analysis of covered topics"
|
||||||
output: rmarkdown::html_vignette
|
output: rmarkdown::html_vignette
|
||||||
vignette: >
|
vignette: >
|
||||||
%\VignetteIndexEntry{explicittopic}
|
%\VignetteIndexEntry{Analysis of covered topics}
|
||||||
%\VignetteEngine{knitr::rmarkdown}
|
%\VignetteEngine{knitr::rmarkdown}
|
||||||
%\VignetteEncoding{UTF-8}
|
%\VignetteEncoding{UTF-8}
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: "generalquestions"
|
title: "General questions"
|
||||||
output: rmarkdown::html_vignette
|
output: rmarkdown::html_vignette
|
||||||
vignette: >
|
vignette: >
|
||||||
%\VignetteIndexEntry{generalquestions}
|
%\VignetteIndexEntry{General questions}
|
||||||
%\VignetteEngine{knitr::rmarkdown}
|
%\VignetteEngine{knitr::rmarkdown}
|
||||||
%\VignetteEncoding{UTF-8}
|
%\VignetteEncoding{UTF-8}
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: "interaction"
|
title: "Interaction between fractions"
|
||||||
output: rmarkdown::html_vignette
|
output: rmarkdown::html_vignette
|
||||||
vignette: >
|
vignette: >
|
||||||
%\VignetteIndexEntry{interaction}
|
%\VignetteIndexEntry{Interaction between fractions}
|
||||||
%\VignetteEngine{knitr::rmarkdown}
|
%\VignetteEngine{knitr::rmarkdown}
|
||||||
%\VignetteEncoding{UTF-8}
|
%\VignetteEncoding{UTF-8}
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user