{"action":"created","issue":{"url":"https://api.github.com/repos/Rdatatable/data.table/issues/1133","labels_url":"https://api.github.com/repos/Rdatatable/data.table/issues/1133/labels{/name}","comments_url":"https://api.github.com/repos/Rdatatable/data.table/issues/1133/comments","events_url":"https://api.github.com/repos/Rdatatable/data.table/issues/1133/events","html_url":"https://github.com/Rdatatable/data.table/pull/1133","id":72455757,"number":1133,"title":"Add test coverage reporting with covr and codecov.io","user":{"login":"jimhester","id":205275,"avatar_url":"https://avatars.githubusercontent.com/u/205275?v=3","gravatar_id":"","url":"https://api.github.com/users/jimhester","html_url":"https://github.com/jimhester","followers_url":"https://api.github.com/users/jimhester/followers","following_url":"https://api.github.com/users/jimhester/following{/other_user}","gists_url":"https://api.github.com/users/jimhester/gists{/gist_id}","starred_url":"https://api.github.com/users/jimhester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimhester/subscriptions","organizations_url":"https://api.github.com/users/jimhester/orgs","repos_url":"https://api.github.com/users/jimhester/repos","events_url":"https://api.github.com/users/jimhester/events{/privacy}","received_events_url":"https://api.github.com/users/jimhester/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-01T15:28:12Z","updated_at":"2015-05-02T08:27:28Z","closed_at":"2015-05-02T08:26:52Z","pull_request":{"url":"https://api.github.com/repos/Rdatatable/data.table/pulls/1133","html_url":"https://github.com/Rdatatable/data.table/pull/1133","diff_url":"https://github.com/Rdatatable/data.table/pull/1133.diff","patch_url":"https://github.com/Rdatatable/data.table/pull/1133.patch"},"body":"This will turn on automatic test coverage reporting and tracking using\r\n[covr](https://github.com/jimhester/covr) and codecov.io.  You will need\r\nto first enable the data.table repository at https://codecov.io to\r\nenable the reports (it is free for open source repositories).  You can\r\nsee an example report at https://codecov.io/github/jimhester/covr.\r\n\r\nIf you want to track coverage interactively you can run the following\r\nfrom within the data.table directory hierarchy.\r\n\r\n```r\r\ncov <- package_coverage()\r\n\r\ncov\r\n\r\nshine(cov)\r\n```\r\n\r\nBy default covr only sources all of the files in `tests/`, if you have\r\nadditional tests you would like to run you can just pass the expressions\r\nto run to the coverage functions."},"comment":{"url":"https://api.github.com/repos/Rdatatable/data.table/issues/comments/98330389","html_url":"https://github.com/Rdatatable/data.table/pull/1133#issuecomment-98330389","issue_url":"https://api.github.com/repos/Rdatatable/data.table/issues/1133","id":98330389,"user":{"login":"arunsrinivasan","id":3102045,"avatar_url":"https://avatars.githubusercontent.com/u/3102045?v=3","gravatar_id":"","url":"https://api.github.com/users/arunsrinivasan","html_url":"https://github.com/arunsrinivasan","followers_url":"https://api.github.com/users/arunsrinivasan/followers","following_url":"https://api.github.com/users/arunsrinivasan/following{/other_user}","gists_url":"https://api.github.com/users/arunsrinivasan/gists{/gist_id}","starred_url":"https://api.github.com/users/arunsrinivasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arunsrinivasan/subscriptions","organizations_url":"https://api.github.com/users/arunsrinivasan/orgs","repos_url":"https://api.github.com/users/arunsrinivasan/repos","events_url":"https://api.github.com/users/arunsrinivasan/events{/privacy}","received_events_url":"https://api.github.com/users/arunsrinivasan/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T08:27:28Z","updated_at":"2015-05-02T08:27:28Z","body":"Thanks very much, @jimhester."}}