{"action":"created","issue":{"url":"https://api.github.com/repos/garrettgman/ggsubplot/issues/10","labels_url":"https://api.github.com/repos/garrettgman/ggsubplot/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/garrettgman/ggsubplot/issues/10/comments","events_url":"https://api.github.com/repos/garrettgman/ggsubplot/issues/10/events","html_url":"https://github.com/garrettgman/ggsubplot/issues/10","id":32836942,"number":10,"title":"Error with geom_subplot example in R 3.1.0","user":{"login":"cameronbracken","id":32280,"avatar_url":"https://avatars.githubusercontent.com/u/32280?v=3","gravatar_id":"","url":"https://api.github.com/users/cameronbracken","html_url":"https://github.com/cameronbracken","followers_url":"https://api.github.com/users/cameronbracken/followers","following_url":"https://api.github.com/users/cameronbracken/following{/other_user}","gists_url":"https://api.github.com/users/cameronbracken/gists{/gist_id}","starred_url":"https://api.github.com/users/cameronbracken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameronbracken/subscriptions","organizations_url":"https://api.github.com/users/cameronbracken/orgs","repos_url":"https://api.github.com/users/cameronbracken/repos","events_url":"https://api.github.com/users/cameronbracken/events{/privacy}","received_events_url":"https://api.github.com/users/cameronbracken/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-05-05T19:24:25Z","updated_at":"2015-08-02T15:07:22Z","closed_at":"2015-07-09T16:02:45Z","body":"I am trying to run the example from the `geom_subplot` help page \r\n\r\n```\r\nggplot(casualties, aes(lon, lat), size = 0) +\r\n    geom_subplot2d(aes(lon, lat, \r\n      subplot = geom_bar(aes(victim, ..count.., fill = victim))), \r\n      breaks=list(c(60,65,70, 75), c(28, 33, 38)), ref = NULL, width = rel(0.8))\r\n```\r\n\r\nAnd I get the following error:\r\n\r\n```\r\nError in layout_base(data, vars, drop = drop) : \r\n  At least one layer must contain all variables used for facetting\r\n```\r\n\r\nThis same error occurs with with every ggsubplot example I've tried to run so far. I've tried with both the CRAN and github version of ggsubplot. \r\n\r\n```\r\n> R.version\r\n               _                           \r\nplatform       x86_64-w64-mingw32          \r\narch           x86_64                      \r\nos             mingw32                     \r\nsystem         x86_64, mingw32             \r\nstatus                                     \r\nmajor          3                           \r\nminor          1.0                         \r\nyear           2014                        \r\nmonth          04                          \r\nday            10                          \r\nsvn rev        65387                       \r\nlanguage       R                           \r\nversion.string R version 3.1.0 (2014-04-10)\r\nnickname       Spring Dance \r\n\r\n> sessionInfo()\r\nR version 3.1.0 (2014-04-10)\r\nPlatform: x86_64-w64-mingw32/x64 (64-bit)\r\n\r\nlocale:\r\n[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252\r\n[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    \r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nother attached packages:\r\n[1] ggsubplot_0.3.1 ggplot2_0.9.3.1 devtools_1.5   \r\n\r\nloaded via a namespace (and not attached):\r\n [1] colorspace_1.2-4 digest_0.6.4     evaluate_0.5.5   grid_3.1.0       gtable_0.1.2     httr_0.3         labeling_0.2     MASS_7.3-32     \r\n [9] memoise_0.2.1    munsell_0.4.2    parallel_3.1.0   plyr_1.8.1       proto_0.3-10     Rcpp_0.11.1      RCurl_1.95-4.1   reshape2_1.4    \r\n[17] scales_0.2.4     stringr_0.6.2    tools_3.1.0      whisker_0.3-2   \r\n```"},"comment":{"url":"https://api.github.com/repos/garrettgman/ggsubplot/issues/comments/127034723","html_url":"https://github.com/garrettgman/ggsubplot/issues/10#issuecomment-127034723","issue_url":"https://api.github.com/repos/garrettgman/ggsubplot/issues/10","id":127034723,"user":{"login":"jailsonfm","id":11661467,"avatar_url":"https://avatars.githubusercontent.com/u/11661467?v=3","gravatar_id":"","url":"https://api.github.com/users/jailsonfm","html_url":"https://github.com/jailsonfm","followers_url":"https://api.github.com/users/jailsonfm/followers","following_url":"https://api.github.com/users/jailsonfm/following{/other_user}","gists_url":"https://api.github.com/users/jailsonfm/gists{/gist_id}","starred_url":"https://api.github.com/users/jailsonfm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jailsonfm/subscriptions","organizations_url":"https://api.github.com/users/jailsonfm/orgs","repos_url":"https://api.github.com/users/jailsonfm/repos","events_url":"https://api.github.com/users/jailsonfm/events{/privacy}","received_events_url":"https://api.github.com/users/jailsonfm/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T15:07:22Z","updated_at":"2015-08-02T15:07:22Z","body":"Dear R users,\r\nI also have problems to use the ggsubplot package.\r\nI updated the R (Version 3.2.1). I cant even reproduce the examples in the package!"}}