{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/packrat/issues/189","labels_url":"https://api.github.com/repos/rstudio/packrat/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/packrat/issues/189/comments","events_url":"https://api.github.com/repos/rstudio/packrat/issues/189/events","html_url":"https://github.com/rstudio/packrat/issues/189","id":57979741,"number":189,"title":"Insufficient error output during installation when output too long","user":{"login":"donarus","id":1846145,"avatar_url":"https://avatars.githubusercontent.com/u/1846145?v=3","gravatar_id":"","url":"https://api.github.com/users/donarus","html_url":"https://github.com/donarus","followers_url":"https://api.github.com/users/donarus/followers","following_url":"https://api.github.com/users/donarus/following{/other_user}","gists_url":"https://api.github.com/users/donarus/gists{/gist_id}","starred_url":"https://api.github.com/users/donarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donarus/subscriptions","organizations_url":"https://api.github.com/users/donarus/orgs","repos_url":"https://api.github.com/users/donarus/repos","events_url":"https://api.github.com/users/donarus/events{/privacy}","received_events_url":"https://api.github.com/users/donarus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-17T20:47:29Z","updated_at":"2015-07-13T13:50:08Z","closed_at":"2015-07-13T13:50:08Z","body":"Hi,\r\n  I think there is a problem with long exception outputs when something goes wrong during 3rd party package installation\r\n\r\nIf message contains more than `getOption(\"warning.length\")` chars then warning/message/stop functions cuts off the end of the message and it is possible to set 8170 as a max.value for warning.length. So if the message is longer, you very often lost the most interesting part of it.\r\n\r\nI know that there couls be a reason to keep messages short but I don't see the reason here. So I suggest to use `print` to print out the output message first and then print shortened error message.\r\n\r\nsee.: https://github.com/rstudio/packrat/blob/master/R/install.R#L569-L580\r\n\r\nI'm working on a fix, so I will add pull request soon."},"comment":{"url":"https://api.github.com/repos/rstudio/packrat/issues/comments/120934100","html_url":"https://github.com/rstudio/packrat/issues/189#issuecomment-120934100","issue_url":"https://api.github.com/repos/rstudio/packrat/issues/189","id":120934100,"user":{"login":"donarus","id":1846145,"avatar_url":"https://avatars.githubusercontent.com/u/1846145?v=3","gravatar_id":"","url":"https://api.github.com/users/donarus","html_url":"https://github.com/donarus","followers_url":"https://api.github.com/users/donarus/followers","following_url":"https://api.github.com/users/donarus/following{/other_user}","gists_url":"https://api.github.com/users/donarus/gists{/gist_id}","starred_url":"https://api.github.com/users/donarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donarus/subscriptions","organizations_url":"https://api.github.com/users/donarus/orgs","repos_url":"https://api.github.com/users/donarus/repos","events_url":"https://api.github.com/users/donarus/events{/privacy}","received_events_url":"https://api.github.com/users/donarus/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T13:50:07Z","updated_at":"2015-07-13T13:50:07Z","body":"This is already out-of-dated.. PR has been already merged and issue has been fixed."}}