Browse Source

update readme for new vignette building workflow

alternative-vignettes
flavis 4 years ago
parent
commit
896ba1b3b0
1 changed files with 1 additions and 20 deletions
  1. +1
    -20
      README.md

+ 1
- 20
README.md View File

@@ -9,26 +9,7 @@ Using the `remotes` package, this is easily installed via:
```r
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)
```
If you want to build the vignettes, pass `build_vignettes = TRUE`.

# Features



Loading…
Cancel
Save