{"action":"opened","issue":{"url":"https://api.github.com/repos/ropensci/plotly/issues/254","labels_url":"https://api.github.com/repos/ropensci/plotly/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/plotly/issues/254/comments","events_url":"https://api.github.com/repos/ropensci/plotly/issues/254/events","html_url":"https://github.com/ropensci/plotly/issues/254","id":100365778,"number":254,"title":"`layout`: Error in unclass(x) : cannot unclass an environment","user":{"login":"chriddyp","id":1280389,"avatar_url":"https://avatars.githubusercontent.com/u/1280389?v=3","gravatar_id":"","url":"https://api.github.com/users/chriddyp","html_url":"https://github.com/chriddyp","followers_url":"https://api.github.com/users/chriddyp/followers","following_url":"https://api.github.com/users/chriddyp/following{/other_user}","gists_url":"https://api.github.com/users/chriddyp/gists{/gist_id}","starred_url":"https://api.github.com/users/chriddyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriddyp/subscriptions","organizations_url":"https://api.github.com/users/chriddyp/orgs","repos_url":"https://api.github.com/users/chriddyp/repos","events_url":"https://api.github.com/users/chriddyp/events{/privacy}","received_events_url":"https://api.github.com/users/chriddyp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-11T17:38:55Z","updated_at":"2015-08-11T17:38:55Z","closed_at":null,"body":"reported by a user:\r\n\r\n```\r\n> d <- diamonds[sample(nrow(diamonds),1000),]\r\n> p <- plot_ly(d, x=carat, y=price)\r\n> p\r\nSuccess! Created a new plotly here ->  ....\r\n> p %>% layout(title = \"diamond price\")\r\nError in unclass(x) : cannot unclass an environment\r\n```\r\n\r\nWindows 7\r\nR Version: R version 3.1.3 (2015-03-09)"}}