{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/rstudio/issues/380","labels_url":"https://api.github.com/repos/rstudio/rstudio/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/rstudio/issues/380/comments","events_url":"https://api.github.com/repos/rstudio/rstudio/issues/380/events","html_url":"https://github.com/rstudio/rstudio/pull/380","id":66728954,"number":380,"title":"provide '.rs.lintProject()' for linting R package project","user":{"login":"kevinushey","id":1976582,"avatar_url":"https://avatars.githubusercontent.com/u/1976582?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinushey","html_url":"https://github.com/kevinushey","followers_url":"https://api.github.com/users/kevinushey/followers","following_url":"https://api.github.com/users/kevinushey/following{/other_user}","gists_url":"https://api.github.com/users/kevinushey/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinushey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinushey/subscriptions","organizations_url":"https://api.github.com/users/kevinushey/orgs","repos_url":"https://api.github.com/users/kevinushey/repos","events_url":"https://api.github.com/users/kevinushey/events{/privacy}","received_events_url":"https://api.github.com/users/kevinushey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-06T23:18:53Z","updated_at":"2015-04-06T23:30:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rstudio/rstudio/pulls/380","html_url":"https://github.com/rstudio/rstudio/pull/380","diff_url":"https://github.com/rstudio/rstudio/pull/380.diff","patch_url":"https://github.com/rstudio/rstudio/pull/380.patch"},"body":"This PR provides `.rs.lintProject()` as an (internal) entry-point for linting all R files within a package and displaying the source marker output. For example, here's what I see on linting `packrat`:\r\n\r\n![screen shot 2015-04-06 at 4 18 04 pm](https://cloud.githubusercontent.com/assets/1976582/7014334/88d28476-dc78-11e4-8f22-90b9fd784b5e.png)\r\n\r\nI think this is the 'minimal' bit of work we should put in for project linting (we may want to wire up a button somewhere to perform this action as well; perhaps in the `Build` tools or something to that effect)"},"comment":{"url":"https://api.github.com/repos/rstudio/rstudio/issues/comments/90284091","html_url":"https://github.com/rstudio/rstudio/pull/380#issuecomment-90284091","issue_url":"https://api.github.com/repos/rstudio/rstudio/issues/380","id":90284091,"user":{"login":"jjallaire","id":104391,"avatar_url":"https://avatars.githubusercontent.com/u/104391?v=3","gravatar_id":"","url":"https://api.github.com/users/jjallaire","html_url":"https://github.com/jjallaire","followers_url":"https://api.github.com/users/jjallaire/followers","following_url":"https://api.github.com/users/jjallaire/following{/other_user}","gists_url":"https://api.github.com/users/jjallaire/gists{/gist_id}","starred_url":"https://api.github.com/users/jjallaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjallaire/subscriptions","organizations_url":"https://api.github.com/users/jjallaire/orgs","repos_url":"https://api.github.com/users/jjallaire/repos","events_url":"https://api.github.com/users/jjallaire/events{/privacy}","received_events_url":"https://api.github.com/users/jjallaire/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T23:30:28Z","updated_at":"2015-04-06T23:30:28Z","body":"Perhaps the Code menu could lose the \"Show Diagnostics\" command and have it replaced with (in it's own section):\r\n\r\nLint Source File\r\nLint Project\r\n\r\n(not sure if those are the best command names)"}}