{"action":"created","issue":{"url":"https://api.github.com/repos/thomasp85/patchwork/issues/80","repository_url":"https://api.github.com/repos/thomasp85/patchwork","labels_url":"https://api.github.com/repos/thomasp85/patchwork/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/thomasp85/patchwork/issues/80/comments","events_url":"https://api.github.com/repos/thomasp85/patchwork/issues/80/events","html_url":"https://github.com/thomasp85/patchwork/issues/80","id":373500675,"node_id":"MDU6SXNzdWUzNzM1MDA2NzU=","number":80,"title":"ggtern compatibility?","user":{"login":"gwerbin","id":5758789,"node_id":"MDQ6VXNlcjU3NTg3ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/5758789?v=4","gravatar_id":"","url":"https://api.github.com/users/gwerbin","html_url":"https://github.com/gwerbin","followers_url":"https://api.github.com/users/gwerbin/followers","following_url":"https://api.github.com/users/gwerbin/following{/other_user}","gists_url":"https://api.github.com/users/gwerbin/gists{/gist_id}","starred_url":"https://api.github.com/users/gwerbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwerbin/subscriptions","organizations_url":"https://api.github.com/users/gwerbin/orgs","repos_url":"https://api.github.com/users/gwerbin/repos","events_url":"https://api.github.com/users/gwerbin/events{/privacy}","received_events_url":"https://api.github.com/users/gwerbin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-24T14:04:12Z","updated_at":"2018-10-24T17:51:40Z","closed_at":"2018-10-24T17:51:40Z","author_association":"NONE","body":"Apparently this won't work with `ggtern` ternary plots.\r\n\r\n```r\r\nlibrary(ggplot2)\r\nlibrary(ggtern)\r\nlibrary(patchwork)\r\n\r\n# generate data that looks good on a ternary plot\r\nx <- Compositional::rdiri(500, c(1, 1, 1))\r\ncolnames(x) <- c(\"x\", \"y\", \"z\")\r\nx <- as.data.frame(x)\r\n\r\ng1 <- ggtern(x, aes(x, y, z)) + geom_point()\r\ng2 <- ggtern(x, aes(x, y, z)) + geom_point()\r\n# Error: Don't know how to add o to a plot\r\n```\r\n\r\nThe traceback is unenlightening:\r\n\r\n```\r\n5: stop(\"Don't know how to add \", objectname, \" to a plot\", call. = FALSE)\r\n4: add_ggplot(e1, e2, e2name)\r\n3: p %+% o\r\n2: add_ggplot(e1, e2, e2name)\r\n1: `+.gg`(g1, g2)\r\n```\r\n\r\nAm I doing it wrong, or is this a bug?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thomasp85/patchwork/issues/comments/432762255","html_url":"https://github.com/thomasp85/patchwork/issues/80#issuecomment-432762255","issue_url":"https://api.github.com/repos/thomasp85/patchwork/issues/80","id":432762255,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjc2MjI1NQ==","user":{"login":"thomasp85","id":1775316,"node_id":"MDQ6VXNlcjE3NzUzMTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1775316?v=4","gravatar_id":"","url":"https://api.github.com/users/thomasp85","html_url":"https://github.com/thomasp85","followers_url":"https://api.github.com/users/thomasp85/followers","following_url":"https://api.github.com/users/thomasp85/following{/other_user}","gists_url":"https://api.github.com/users/thomasp85/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasp85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasp85/subscriptions","organizations_url":"https://api.github.com/users/thomasp85/orgs","repos_url":"https://api.github.com/users/thomasp85/repos","events_url":"https://api.github.com/users/thomasp85/events{/privacy}","received_events_url":"https://api.github.com/users/thomasp85/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T17:51:39Z","updated_at":"2018-10-24T17:51:39Z","author_association":"OWNER","body":"No bug. ggtern is not implemented as a standard ggplot2 extension and supporting it would be an impossible amount of extra work"}}
{"actor":{"display_login":"thomasp85"}}