{"action":"created","issue":{"url":"https://api.github.com/repos/yihui/printr/issues/21","repository_url":"https://api.github.com/repos/yihui/printr","labels_url":"https://api.github.com/repos/yihui/printr/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/yihui/printr/issues/21/comments","events_url":"https://api.github.com/repos/yihui/printr/issues/21/events","html_url":"https://github.com/yihui/printr/issues/21","id":176530287,"number":21,"title":"Error when using summary()","user":{"login":"elinw","id":754813,"avatar_url":"https://avatars.githubusercontent.com/u/754813?v=3","gravatar_id":"","url":"https://api.github.com/users/elinw","html_url":"https://github.com/elinw","followers_url":"https://api.github.com/users/elinw/followers","following_url":"https://api.github.com/users/elinw/following{/other_user}","gists_url":"https://api.github.com/users/elinw/gists{/gist_id}","starred_url":"https://api.github.com/users/elinw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elinw/subscriptions","organizations_url":"https://api.github.com/users/elinw/orgs","repos_url":"https://api.github.com/users/elinw/repos","events_url":"https://api.github.com/users/elinw/events{/privacy}","received_events_url":"https://api.github.com/users/elinw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-13T02:08:08Z","updated_at":"2016-09-13T02:15:29Z","closed_at":"2016-09-13T02:15:29Z","body":"base::summary() causes a fatal error when present in a markdown file with printr.\r\n\r\nReproducible example\r\n````\r\n     library(printr)  \r\n     summary(iris$Sepal.Length)\r\n````\r\n\r\ngenerates\r\n`Error in provideDimnames(x, sep = sep, base = base) : \r\n  'dimnames' applied to non-array\r\nCalls: <Anonymous> ... eval -> eval -> data.frame -> do.call -> provideDimnames`\r\n\r\n` dimnames(summary(iris$Sepal.Length))`  is NULL\r\n\r\nUsing `as.array(summary(iris$Sepal.Length))`   solves it, but it was definitely unexpected by me at least. \r\n "},"comment":{"url":"https://api.github.com/repos/yihui/printr/issues/comments/246553351","html_url":"https://github.com/yihui/printr/issues/21#issuecomment-246553351","issue_url":"https://api.github.com/repos/yihui/printr/issues/21","id":246553351,"user":{"login":"elinw","id":754813,"avatar_url":"https://avatars.githubusercontent.com/u/754813?v=3","gravatar_id":"","url":"https://api.github.com/users/elinw","html_url":"https://github.com/elinw","followers_url":"https://api.github.com/users/elinw/followers","following_url":"https://api.github.com/users/elinw/following{/other_user}","gists_url":"https://api.github.com/users/elinw/gists{/gist_id}","starred_url":"https://api.github.com/users/elinw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elinw/subscriptions","organizations_url":"https://api.github.com/users/elinw/orgs","repos_url":"https://api.github.com/users/elinw/repos","events_url":"https://api.github.com/users/elinw/events{/privacy}","received_events_url":"https://api.github.com/users/elinw/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T02:15:29Z","updated_at":"2016-09-13T02:15:29Z","body":"Wow already fixed in master, nice!"}}
{"actor":{"display_login":"elinw"}}