{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/rcrossref/issues/162","repository_url":"https://api.github.com/repos/ropensci/rcrossref","labels_url":"https://api.github.com/repos/ropensci/rcrossref/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/rcrossref/issues/162/comments","events_url":"https://api.github.com/repos/ropensci/rcrossref/issues/162/events","html_url":"https://github.com/ropensci/rcrossref/pull/162","id":314737564,"number":162,"title":"Note that dois and query cannot both be set","user":{"login":"ms609","id":1695515,"avatar_url":"https://avatars1.githubusercontent.com/u/1695515?v=4","gravatar_id":"","url":"https://api.github.com/users/ms609","html_url":"https://github.com/ms609","followers_url":"https://api.github.com/users/ms609/followers","following_url":"https://api.github.com/users/ms609/following{/other_user}","gists_url":"https://api.github.com/users/ms609/gists{/gist_id}","starred_url":"https://api.github.com/users/ms609/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ms609/subscriptions","organizations_url":"https://api.github.com/users/ms609/orgs","repos_url":"https://api.github.com/users/ms609/repos","events_url":"https://api.github.com/users/ms609/events{/privacy}","received_events_url":"https://api.github.com/users/ms609/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-16T16:51:19Z","updated_at":"2018-04-16T16:59:50Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ropensci/rcrossref/pulls/162","html_url":"https://github.com/ropensci/rcrossref/pull/162","diff_url":"https://github.com/ropensci/rcrossref/pull/162.diff","patch_url":"https://github.com/ropensci/rcrossref/pull/162.patch"},"body":"\r\n## Description\r\n<!--- Describe your changes in detail -->\r\nSending both parameters results in a cryptic error from CrossRef.  I spent a while trying to establish the cause; listing it in the docs might help other users to avoid this pitfall.\r\n\r\n\r\n## Related Issue\r\n<!--- if this closes an issue make sure include e.g., \"fix #4\"\r\nor similar - or if just relates to an issue make sure to mention\r\nit like \"#4\" -->\r\n\r\n## Example\r\n<!--- if introducing a new feature or changing behavior of existing\r\nmethods/functions, include an example if possible to do in brief form -->\r\ncr_works(dois='10.26879/775', query='Depth related')\r\n\r\n> Warning message:\r\n> 400: This route does not support query - (10.26879/775) \r\n<!--- Did you remember to include tests? Unless you're just changing\r\ngrammar, please include new tests for your change -->\r\n"},"comment":{"url":"https://api.github.com/repos/ropensci/rcrossref/issues/comments/381676329","html_url":"https://github.com/ropensci/rcrossref/pull/162#issuecomment-381676329","issue_url":"https://api.github.com/repos/ropensci/rcrossref/issues/162","id":381676329,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars0.githubusercontent.com/u/8655789?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T16:59:50Z","updated_at":"2018-04-16T16:59:50Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/ropensci/rcrossref/pull/162?src=pr&el=h1) Report\n> Merging [#162](https://codecov.io/gh/ropensci/rcrossref/pull/162?src=pr&el=desc) into [master](https://codecov.io/gh/ropensci/rcrossref/commit/1a14774a174f9d545a121f4605a96cd26323d432?src=pr&el=desc) will **decrease** coverage by `0.2%`.\n> The diff coverage is `n/a`.\n\n[![Impacted file tree graph](https://codecov.io/gh/ropensci/rcrossref/pull/162/graphs/tree.svg?width=650&height=150&src=pr&token=5cXMtxZFE3)](https://codecov.io/gh/ropensci/rcrossref/pull/162?src=pr&el=tree)\n\n```diff\n@@            Coverage Diff             @@\n##           master     #162      +/-   ##\n==========================================\n- Coverage   52.44%   52.24%   -0.21%     \n==========================================\n  Files          28       28              \n  Lines        1495     1495              \n==========================================\n- Hits          784      781       -3     \n- Misses        711      714       +3\n```\n\n\n| [Impacted Files](https://codecov.io/gh/ropensci/rcrossref/pull/162?src=pr&el=tree) | Coverage Δ | |\n|---|---|---|\n| [R/cr\\_works.R](https://codecov.io/gh/ropensci/rcrossref/pull/162/diff?src=pr&el=tree#diff-Ui9jcl93b3Jrcy5S) | `82.12% <ø> (ø)` | :arrow_up: |\n| [R/cr\\_cn.r](https://codecov.io/gh/ropensci/rcrossref/pull/162/diff?src=pr&el=tree#diff-Ui9jcl9jbi5y) | `73.28% <0%> (-2.06%)` | :arrow_down: |\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/ropensci/rcrossref/pull/162?src=pr&el=continue).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\n> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/ropensci/rcrossref/pull/162?src=pr&el=footer). Last update [1a14774...a263e8c](https://codecov.io/gh/ropensci/rcrossref/pull/162?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\n"}}
{"actor":{"display_login":"codecov-io"}}