This repository was archived by the owner on Sep 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed
Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change 1- context(" ma_graph_search" )
1+ # context("ma_graph_search")
22
3- test_that(" ma_graph_search works as expected" , {
4- skip_on_cran()
5- Sys.sleep(1 )
3+ # test_that("ma_graph_search works as expected", {
4+ # skip_on_cran()
5+ # Sys.sleep(1)
66
7- x <- ' {
8- "path": "/paper/AuthorIDs/author",
9- "paper": {
10- "type": "Paper",
11- "NormalizedTitle": "graph engine",
12- "select": [ "OriginalTitle" ]
13- },
14- "author": {
15- "return": { "type": "Author", "Name": "bin shao" }
16- }
17- }'
7+ # x <- '{
8+ # "path": "/paper/AuthorIDs/author",
9+ # "paper": {
10+ # "type": "Paper",
11+ # "NormalizedTitle": "graph engine",
12+ # "select": [ "OriginalTitle" ]
13+ # },
14+ # "author": {
15+ # "return": { "type": "Author", "Name": "bin shao" }
16+ # }
17+ # }'
1818
19- aa <- ma_graph_search(query = x )
19+ # aa <- ma_graph_search(query = x)
2020
21- expect_is(aa , " list" )
22- expect_named(aa , ' Results' )
23- expect_named(aa $ Results [[1 ]], c(' CellID' , ' OriginalTitle' ))
24- })
21+ # expect_is(aa, "list")
22+ # expect_named(aa, 'Results')
23+ # expect_named(aa$Results[[1]], c('CellID', 'OriginalTitle'))
24+ # })
You can’t perform that action at this time.
0 commit comments