Skip to content

Commit eb46190

Browse files
committed
comment out all stuff in test-all so cran actually ignores it
1 parent 5bec3e7 commit eb46190

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

tests/test-all.R

+14-16
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
library('testthat')
2-
library('elastic')
1+
# library('testthat')
2+
# library('elastic')
33

4-
skip_on_cran()
4+
# invisible(elastic::connect())
55

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))
712

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))
1415

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))
1718

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

Comments
 (0)