{"action":"opened","issue":{"url":"https://api.github.com/repos/HenrikBengtsson/Wishlist-for-R/issues/34","repository_url":"https://api.github.com/repos/HenrikBengtsson/Wishlist-for-R","labels_url":"https://api.github.com/repos/HenrikBengtsson/Wishlist-for-R/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/HenrikBengtsson/Wishlist-for-R/issues/34/comments","events_url":"https://api.github.com/repos/HenrikBengtsson/Wishlist-for-R/issues/34/events","html_url":"https://github.com/HenrikBengtsson/Wishlist-for-R/issues/34","id":189213441,"number":34,"title":"install.packages had option to throw error code if install fails","user":{"login":"cboettig","id":222586,"avatar_url":"https://avatars.githubusercontent.com/u/222586?v=3","gravatar_id":"","url":"https://api.github.com/users/cboettig","html_url":"https://github.com/cboettig","followers_url":"https://api.github.com/users/cboettig/followers","following_url":"https://api.github.com/users/cboettig/following{/other_user}","gists_url":"https://api.github.com/users/cboettig/gists{/gist_id}","starred_url":"https://api.github.com/users/cboettig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboettig/subscriptions","organizations_url":"https://api.github.com/users/cboettig/orgs","repos_url":"https://api.github.com/users/cboettig/repos","events_url":"https://api.github.com/users/cboettig/events{/privacy}","received_events_url":"https://api.github.com/users/cboettig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-14T20:12:53Z","updated_at":"2016-11-14T20:12:53Z","closed_at":null,"body":"When installing packages using scripts (e.g. Dockerfiles) it is nice to have `install.packages` throw an error instead of a warning if the package installation fails.  One can simulate this of course using `withCallingHandlers(warning = stop)`, but it's not ideal to treat *any* warning as an error; since some warnings are just that and do not mean that the package installation has failed.  Or maybe there's already a good work-around for this I'm just overlooking? \r\n\r\nThanks for any ideas and for maintaining this Wishlist!"}}
{"actor":{"display_login":"cboettig"}}