浏览代码

update readme for new vignette building workflow

alternative-vignettes
flavis 4 年前
父节点
当前提交
896ba1b3b0
共有 1 个文件被更改,包括 1 次插入20 次删除
  1. +1
    -20
      README.md

+ 1
- 20
README.md 查看文件

@@ -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



正在加载...
取消
保存