{"action":"created","issue":{"url":"https://api.github.com/repos/beanumber/openWAR/issues/45","labels_url":"https://api.github.com/repos/beanumber/openWAR/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/beanumber/openWAR/issues/45/comments","events_url":"https://api.github.com/repos/beanumber/openWAR/issues/45/events","html_url":"https://github.com/beanumber/openWAR/issues/45","id":82684511,"number":45,"title":"bug in results vignette when using summary.openWARPlayers","user":{"login":"beanumber","id":2774211,"avatar_url":"https://avatars.githubusercontent.com/u/2774211?v=3","gravatar_id":"","url":"https://api.github.com/users/beanumber","html_url":"https://github.com/beanumber","followers_url":"https://api.github.com/users/beanumber/followers","following_url":"https://api.github.com/users/beanumber/following{/other_user}","gists_url":"https://api.github.com/users/beanumber/gists{/gist_id}","starred_url":"https://api.github.com/users/beanumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beanumber/subscriptions","organizations_url":"https://api.github.com/users/beanumber/orgs","repos_url":"https://api.github.com/users/beanumber/repos","events_url":"https://api.github.com/users/beanumber/events{/privacy}","received_events_url":"https://api.github.com/users/beanumber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beanumber/openWAR/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"beanumber","id":2774211,"avatar_url":"https://avatars.githubusercontent.com/u/2774211?v=3","gravatar_id":"","url":"https://api.github.com/users/beanumber","html_url":"https://github.com/beanumber","followers_url":"https://api.github.com/users/beanumber/followers","following_url":"https://api.github.com/users/beanumber/following{/other_user}","gists_url":"https://api.github.com/users/beanumber/gists{/gist_id}","starred_url":"https://api.github.com/users/beanumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beanumber/subscriptions","organizations_url":"https://api.github.com/users/beanumber/orgs","repos_url":"https://api.github.com/users/beanumber/repos","events_url":"https://api.github.com/users/beanumber/events{/privacy}","received_events_url":"https://api.github.com/users/beanumber/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-30T03:39:49Z","updated_at":"2015-05-30T20:39:14Z","closed_at":null,"body":"```\r\ndata(openWAR.2012)\r\nsummary(openWAR.2012)\r\n```\r\n` \r\nHide Traceback\r\n \r\n Rerun with Debug\r\n Error: data_frames can only contain 1d atomic vectors and lists \r\n13 stop(\"data_frames can only contain 1d atomic vectors and lists\", \r\n    call. = FALSE) \r\n12 as_data_frame(data) \r\n11 tbl_df(.data) \r\n10 filter_(tbl_df(.data), .dots = dots) \r\n9 as.data.frame(filter_(tbl_df(.data), .dots = dots)) \r\n8 filter_.data.frame(.data, .dots = lazyeval::lazy_dots(...)) \r\n7 filter_(.data, .dots = lazyeval::lazy_dots(...)) \r\n6 filter(data, RAA.pitch != 0) \r\n5 nrow(filter(data, RAA.pitch != 0)) \r\n4 paste(\"Displaying information for\", nrow(data), \"players, of whom\", \r\n    nrow(filter(data, RAA.pitch != 0)), \"have pitched\\n\") \r\n3 cat(paste(\"Displaying information for\", nrow(data), \"players, of whom\", \r\n    nrow(filter(data, RAA.pitch != 0)), \"have pitched\\n\")) at openWARPlayers.R#28\r\n2 summary.openWARPlayers(openWAR.2012) \r\n1 summary(openWAR.2012) \r\n`\r\n\r\n? It's late, but I don't get what the problem is. This seems relevant:\r\n\r\n(https://github.com/hadley/dplyr/issues/999)"},"comment":{"url":"https://api.github.com/repos/beanumber/openWAR/issues/comments/107082623","html_url":"https://github.com/beanumber/openWAR/issues/45#issuecomment-107082623","issue_url":"https://api.github.com/repos/beanumber/openWAR/issues/45","id":107082623,"user":{"login":"obarisk","id":7524256,"avatar_url":"https://avatars.githubusercontent.com/u/7524256?v=3","gravatar_id":"","url":"https://api.github.com/users/obarisk","html_url":"https://github.com/obarisk","followers_url":"https://api.github.com/users/obarisk/followers","following_url":"https://api.github.com/users/obarisk/following{/other_user}","gists_url":"https://api.github.com/users/obarisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obarisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obarisk/subscriptions","organizations_url":"https://api.github.com/users/obarisk/orgs","repos_url":"https://api.github.com/users/obarisk/repos","events_url":"https://api.github.com/users/obarisk/events{/privacy}","received_events_url":"https://api.github.com/users/obarisk/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T20:39:14Z","updated_at":"2015-05-30T20:39:14Z","body":"test this\r\n```r\r\ndata(openWAR.2012)\r\nopenWAR.2012[1:nrow(openWAR.2012), c(1:38, 40:41)] %>% dplyr::filter(RAA.pitch!=0)\r\ntry(openWAR.2012 %>% dplyr::filter(RAA.pitch!=0))\r\nclass(openWAR.2012[, 1]) # numeric\r\nclass(openWAR.2012[, 39]) # matrix?\r\n```"}}