{"action":"created","issue":{"url":"https://api.github.com/repos/sinhrks/ggfortify/issues/98","repository_url":"https://api.github.com/repos/sinhrks/ggfortify","labels_url":"https://api.github.com/repos/sinhrks/ggfortify/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/sinhrks/ggfortify/issues/98/comments","events_url":"https://api.github.com/repos/sinhrks/ggfortify/issues/98/events","html_url":"https://github.com/sinhrks/ggfortify/issues/98","id":125875844,"number":98,"title":"ggsave doesn't recognize ggfortity objects","user":{"login":"cschwarz-stat-sfu-ca","id":7244742,"avatar_url":"https://avatars.githubusercontent.com/u/7244742?v=3","gravatar_id":"","url":"https://api.github.com/users/cschwarz-stat-sfu-ca","html_url":"https://github.com/cschwarz-stat-sfu-ca","followers_url":"https://api.github.com/users/cschwarz-stat-sfu-ca/followers","following_url":"https://api.github.com/users/cschwarz-stat-sfu-ca/following{/other_user}","gists_url":"https://api.github.com/users/cschwarz-stat-sfu-ca/gists{/gist_id}","starred_url":"https://api.github.com/users/cschwarz-stat-sfu-ca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschwarz-stat-sfu-ca/subscriptions","organizations_url":"https://api.github.com/users/cschwarz-stat-sfu-ca/orgs","repos_url":"https://api.github.com/users/cschwarz-stat-sfu-ca/repos","events_url":"https://api.github.com/users/cschwarz-stat-sfu-ca/events{/privacy}","received_events_url":"https://api.github.com/users/cschwarz-stat-sfu-ca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-01-11T05:26:19Z","updated_at":"2016-11-25T20:18:15Z","closed_at":null,"body":"> plotdiag <-autoplot(result, which=c(1:3,5), mfrow=c(2,2))\n> plotdiag\n> ## ***partdiage;\n> \n> ggsave(plot=plotdiag, file='cuckoo-R-diag.png', h=4, w=6, units=\"in\", dpi=300)\n> \n> returns\n> Error in UseMethod(\"grid.draw\") :\n>   no applicable method for 'grid.draw' applied to an object of class \"ggmultiplot\"\n> \n> I think Wickham modifies ggsave() to accept gtable objects. Do you create such an object? Perhaps add that as a class as well?\n> \n> Using ggfortify 0.1.0 and ggplot 2.0.0\n"},"comment":{"url":"https://api.github.com/repos/sinhrks/ggfortify/issues/comments/263018405","html_url":"https://github.com/sinhrks/ggfortify/issues/98#issuecomment-263018405","issue_url":"https://api.github.com/repos/sinhrks/ggfortify/issues/98","id":263018405,"user":{"login":"terrytangyuan","id":4269898,"avatar_url":"https://avatars.githubusercontent.com/u/4269898?v=3","gravatar_id":"","url":"https://api.github.com/users/terrytangyuan","html_url":"https://github.com/terrytangyuan","followers_url":"https://api.github.com/users/terrytangyuan/followers","following_url":"https://api.github.com/users/terrytangyuan/following{/other_user}","gists_url":"https://api.github.com/users/terrytangyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/terrytangyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrytangyuan/subscriptions","organizations_url":"https://api.github.com/users/terrytangyuan/orgs","repos_url":"https://api.github.com/users/terrytangyuan/repos","events_url":"https://api.github.com/users/terrytangyuan/events{/privacy}","received_events_url":"https://api.github.com/users/terrytangyuan/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T20:18:15Z","updated_at":"2016-11-25T20:18:15Z","body":"As Hadley mentioned in the other issue, it's because `grid.draw` needs to be implemented for `ggmultiplot` objects. Working on the fix now!"}}
{"actor":{"display_login":"terrytangyuan"}}