|
1 |
| -library('testthat') |
2 |
| -library('elastic') |
| 1 | +# library('testthat') |
| 2 | +# library('elastic') |
3 | 3 |
|
4 |
| -skip_on_cran() |
| 4 | +# invisible(elastic::connect()) |
5 | 5 |
|
6 |
| -invisible(elastic::connect()) |
| 6 | +# if (elastic:::es_ver() < 600) { |
| 7 | +# shakespeare <- system.file("examples", "shakespeare_data.json", package = "elastic") |
| 8 | +# } else { |
| 9 | +# shakespeare <- system.file("examples", "shakespeare_data_.json", package = "elastic") |
| 10 | +# } |
| 11 | +# invisible(elastic::docs_bulk(shakespeare)) |
7 | 12 |
|
8 |
| -if (elastic:::es_ver() < 600) { |
9 |
| - shakespeare <- system.file("examples", "shakespeare_data.json", package = "elastic") |
10 |
| -} else { |
11 |
| - shakespeare <- system.file("examples", "shakespeare_data_.json", package = "elastic") |
12 |
| -} |
13 |
| -invisible(elastic::docs_bulk(shakespeare)) |
| 13 | +# plos <- system.file("examples", "plos_data.json", package = "elastic") |
| 14 | +# invisible(elastic::docs_bulk(plos)) |
14 | 15 |
|
15 |
| -plos <- system.file("examples", "plos_data.json", package = "elastic") |
16 |
| -invisible(elastic::docs_bulk(plos)) |
| 16 | +# omdb <- system.file("examples", "omdb.json", package = "elastic") |
| 17 | +# invisible(elastic::docs_bulk(omdb)) |
17 | 18 |
|
18 |
| -omdb <- system.file("examples", "omdb.json", package = "elastic") |
19 |
| -invisible(elastic::docs_bulk(omdb)) |
20 |
| - |
21 |
| -test_check('elastic') |
| 19 | +# test_check('elastic') |
0 commit comments