{"action":"created","issue":{"url":"https://api.github.com/repos/bergant/rapiclient/issues/1","repository_url":"https://api.github.com/repos/bergant/rapiclient","labels_url":"https://api.github.com/repos/bergant/rapiclient/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bergant/rapiclient/issues/1/comments","events_url":"https://api.github.com/repos/bergant/rapiclient/issues/1/events","html_url":"https://github.com/bergant/rapiclient/issues/1","id":181824681,"number":1,"title":"OpenTrials API > Error in pieces[[1]] : subscript out of bounds","user":{"login":"ataiprojects","id":18380106,"avatar_url":"https://avatars.githubusercontent.com/u/18380106?v=3","gravatar_id":"","url":"https://api.github.com/users/ataiprojects","html_url":"https://github.com/ataiprojects","followers_url":"https://api.github.com/users/ataiprojects/followers","following_url":"https://api.github.com/users/ataiprojects/following{/other_user}","gists_url":"https://api.github.com/users/ataiprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/ataiprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ataiprojects/subscriptions","organizations_url":"https://api.github.com/users/ataiprojects/orgs","repos_url":"https://api.github.com/users/ataiprojects/repos","events_url":"https://api.github.com/users/ataiprojects/events{/privacy}","received_events_url":"https://api.github.com/users/ataiprojects/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-08T12:55:51Z","updated_at":"2016-10-10T12:29:13Z","closed_at":"2016-10-09T08:53:44Z","body":"Hi! I've tried to test rapiclient on OpenTrials API:\r\n`ot_api <- get_api(url = \"http://api.opentrials.net/v1/swagger.yaml\")\r\noperations <- get_operations(ot_api)\r\nschemas <- get_schemas(ot_api)\r\nresult = operations$getTrial(id = \"a5d82296-8cb8-11e6-988b-0242ac12000c\")`\r\nThough the list of functions is loaded correctly, I get:\r\n`Error in pieces[[1]] : subscript out of bounds`.\r\nOther functions, such as `result = operations$searchTrials(q='depression', per_page=10)`, result in the same error.\r\nWhat could it be? "},"comment":{"url":"https://api.github.com/repos/bergant/rapiclient/issues/comments/252604580","html_url":"https://github.com/bergant/rapiclient/issues/1#issuecomment-252604580","issue_url":"https://api.github.com/repos/bergant/rapiclient/issues/1","id":252604580,"user":{"login":"ataiprojects","id":18380106,"avatar_url":"https://avatars.githubusercontent.com/u/18380106?v=3","gravatar_id":"","url":"https://api.github.com/users/ataiprojects","html_url":"https://github.com/ataiprojects","followers_url":"https://api.github.com/users/ataiprojects/followers","following_url":"https://api.github.com/users/ataiprojects/following{/other_user}","gists_url":"https://api.github.com/users/ataiprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/ataiprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ataiprojects/subscriptions","organizations_url":"https://api.github.com/users/ataiprojects/orgs","repos_url":"https://api.github.com/users/ataiprojects/repos","events_url":"https://api.github.com/users/ataiprojects/events{/privacy}","received_events_url":"https://api.github.com/users/ataiprojects/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T12:29:13Z","updated_at":"2016-10-10T12:29:13Z","body":"Great. \r\nAlso tagging @vitorbaptista of OpenTrials here; to show it's been tested and works. "}}
{"actor":{"display_login":"ataiprojects"}}