update readme for new vignette building workflow
This commit is contained in:
@@ -9,26 +9,7 @@ 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
|
If you want to build the vignettes, pass `build_vignettes = TRUE`.
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user