{"action":"created","issue":{"url":"https://api.github.com/repos/r-lib/rcmdcheck/issues/65","repository_url":"https://api.github.com/repos/r-lib/rcmdcheck","labels_url":"https://api.github.com/repos/r-lib/rcmdcheck/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/r-lib/rcmdcheck/issues/65/comments","events_url":"https://api.github.com/repos/r-lib/rcmdcheck/issues/65/events","html_url":"https://github.com/r-lib/rcmdcheck/issues/65","id":298650677,"number":65,"title":"signal an error when rcmdcheck objects are printed with check errors","user":{"login":"jimhester","id":205275,"avatar_url":"https://avatars3.githubusercontent.com/u/205275?v=4","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":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-02-20T16:04:56Z","updated_at":"2018-02-20T17:05:06Z","closed_at":null,"author_association":"OWNER","body":"The RStudio IDE currently uses `devtools::check()` (if installed) and cleans up (or not) the check directory based on the error code of the R process. https://github.com/rstudio/rstudio/issues/2235\r\n\r\nBecause there is no R error when using devtools / rcmdcheck this means that the package directory is always cleaned regardless of check status, so it can be difficult to debug the issue.\r\n\r\nOne way around this limitation would be to modify `print.rcmdcheck` to `stop()` if there are check errors (maybe warnings as well?) when run non-interactively. This would stop execution and set the error code (which RStudio could detect)."},"comment":{"url":"https://api.github.com/repos/r-lib/rcmdcheck/issues/comments/367046295","html_url":"https://github.com/r-lib/rcmdcheck/issues/65#issuecomment-367046295","issue_url":"https://api.github.com/repos/r-lib/rcmdcheck/issues/65","id":367046295,"user":{"login":"gaborcsardi","id":660288,"avatar_url":"https://avatars3.githubusercontent.com/u/660288?v=4","gravatar_id":"","url":"https://api.github.com/users/gaborcsardi","html_url":"https://github.com/gaborcsardi","followers_url":"https://api.github.com/users/gaborcsardi/followers","following_url":"https://api.github.com/users/gaborcsardi/following{/other_user}","gists_url":"https://api.github.com/users/gaborcsardi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaborcsardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaborcsardi/subscriptions","organizations_url":"https://api.github.com/users/gaborcsardi/orgs","repos_url":"https://api.github.com/users/gaborcsardi/repos","events_url":"https://api.github.com/users/gaborcsardi/events{/privacy}","received_events_url":"https://api.github.com/users/gaborcsardi/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T17:05:06Z","updated_at":"2018-02-20T17:05:06Z","author_association":"OWNER","body":"it is time for an `rcmdcheck` release, anyway.\r\n"}}
{"actor":{"display_login":"gaborcsardi"}}