{"action":"closed","issue":{"url":"https://api.github.com/repos/hadley/ggplot2/issues/1350","labels_url":"https://api.github.com/repos/hadley/ggplot2/issues/1350/labels{/name}","comments_url":"https://api.github.com/repos/hadley/ggplot2/issues/1350/comments","events_url":"https://api.github.com/repos/hadley/ggplot2/issues/1350/events","html_url":"https://github.com/hadley/ggplot2/issues/1350","id":108216071,"number":1350,"title":"aitoff projection clips data","user":{"login":"wch","id":86978,"avatar_url":"https://avatars.githubusercontent.com/u/86978?v=3","gravatar_id":"","url":"https://api.github.com/users/wch","html_url":"https://github.com/wch","followers_url":"https://api.github.com/users/wch/followers","following_url":"https://api.github.com/users/wch/following{/other_user}","gists_url":"https://api.github.com/users/wch/gists{/gist_id}","starred_url":"https://api.github.com/users/wch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wch/subscriptions","organizations_url":"https://api.github.com/users/wch/orgs","repos_url":"https://api.github.com/users/wch/repos","events_url":"https://api.github.com/users/wch/events{/privacy}","received_events_url":"https://api.github.com/users/wch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-24T21:17:25Z","updated_at":"2015-10-12T22:59:58Z","closed_at":"2015-10-12T22:59:58Z","body":"From the visual tests:\r\nhttps://github.com/hadley/ggplot2/blob/710991b/visual_test/coord-map.r#L30-L42\r\n\r\n\r\n```R\r\nlibrary(maps)\r\nworld_map <- map_data(\"world\")\r\npworld <- ggplot(world_map, aes(x = long, y = lat, group = group)) +\r\n  geom_polygon()\r\n\r\npworld + coord_map(projection = \"aitoff\") +\r\n  scale_y_continuous(breaks = (-2:2) * 30) +\r\n  scale_x_continuous(breaks = (-4:4) * 45, limits = c(-180, 180))\r\n# Warning message:\r\n# Removed 82 rows containing missing values (geom_polygon). \r\n```\r\n![image](https://cloud.githubusercontent.com/assets/86978/10087101/a58de73c-62d7-11e5-809f-a5ceec2237fc.png)\r\n\r\n\r\n```R\r\npworld + coord_map(projection = \"aitoff\", orientation = c(90, 180, 0)) +\r\n  scale_y_continuous(breaks = (-2:2) * 30) +\r\n  scale_x_continuous(breaks = (0:8) * 45, limits = c(0, 360))\r\n# Warning message:\r\n# Removed 11818 rows containing missing values (geom_polygon). \r\n```\r\n![image](https://cloud.githubusercontent.com/assets/86978/10087099/a350523e-62d7-11e5-8747-c7a040125923.png)\r\n\r\n\r\nI believe the clipping happened previously, since the visual tests have comments to that effect. I'm not sure if it issued warnings though.\r\n\r\nSee results at: http://sync.stdout.org/vtest-html/coord-map.html"}}