{"action":"opened","issue":{"url":"https://api.github.com/repos/thomasp85/gganimate/issues/254","repository_url":"https://api.github.com/repos/thomasp85/gganimate","labels_url":"https://api.github.com/repos/thomasp85/gganimate/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/thomasp85/gganimate/issues/254/comments","events_url":"https://api.github.com/repos/thomasp85/gganimate/issues/254/events","html_url":"https://github.com/thomasp85/gganimate/issues/254","id":393098703,"node_id":"MDU6SXNzdWUzOTMwOTg3MDM=","number":254,"title":"View_Zoom_Manual throws an error: $ operator is invalid for atomic vectors","user":{"login":"jjhall77","id":7673093,"node_id":"MDQ6VXNlcjc2NzMwOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/7673093?v=4","gravatar_id":"","url":"https://api.github.com/users/jjhall77","html_url":"https://github.com/jjhall77","followers_url":"https://api.github.com/users/jjhall77/followers","following_url":"https://api.github.com/users/jjhall77/following{/other_user}","gists_url":"https://api.github.com/users/jjhall77/gists{/gist_id}","starred_url":"https://api.github.com/users/jjhall77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjhall77/subscriptions","organizations_url":"https://api.github.com/users/jjhall77/orgs","repos_url":"https://api.github.com/users/jjhall77/repos","events_url":"https://api.github.com/users/jjhall77/events{/privacy}","received_events_url":"https://api.github.com/users/jjhall77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-20T15:38:28Z","updated_at":"2018-12-20T15:38:28Z","closed_at":null,"author_association":"NONE","body":"Tried code from your gist:\r\n```\r\nlibrary(ggplot2)\r\nlibrary(gganimate)\r\nlibrary(sf)\r\nearth <- sf::st_as_sf(rnaturalearth::countries110)\r\nviews <- data.frame(rbind(\r\n  st_bbox(earth[earth$name == 'Denmark',]),\r\n  st_bbox(earth[earth$name == 'Australia',])\r\n))\r\np <- ggplot() + \r\n  geom_sf(data = earth, fill = 'white') + \r\n  geom_sf(data = earth[earth$name %in% c('Denmark', 'Australia'),], fill = 'forestgreen') + \r\n  theme(panel.background = element_rect('lightblue')) + \r\n  view_zoom_manual(1, 1, xmin = views$xmin, xmax = views$xmax, ymin = views$ymin, ymax = views$ymax, wrap = TRUE)\r\nanimate(p, 100, 10)\r\n```\r\nAnd this is what results:\r\nError in params$require_stat : $ operator is invalid for atomic vectors"}}
{"actor":{"display_login":"jjhall77"}}