{"action":"opened","issue":{"url":"https://api.github.com/repos/plotly/documentation/issues/390","repository_url":"https://api.github.com/repos/plotly/documentation","labels_url":"https://api.github.com/repos/plotly/documentation/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/plotly/documentation/issues/390/comments","events_url":"https://api.github.com/repos/plotly/documentation/issues/390/events","html_url":"https://github.com/plotly/documentation/issues/390","id":155821525,"number":390,"title":"Error in coupled hover events in shiny","user":{"login":"MySchizoBuddy","id":51676,"avatar_url":"https://avatars.githubusercontent.com/u/51676?v=3","gravatar_id":"","url":"https://api.github.com/users/MySchizoBuddy","html_url":"https://github.com/MySchizoBuddy","followers_url":"https://api.github.com/users/MySchizoBuddy/followers","following_url":"https://api.github.com/users/MySchizoBuddy/following{/other_user}","gists_url":"https://api.github.com/users/MySchizoBuddy/gists{/gist_id}","starred_url":"https://api.github.com/users/MySchizoBuddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MySchizoBuddy/subscriptions","organizations_url":"https://api.github.com/users/MySchizoBuddy/orgs","repos_url":"https://api.github.com/users/MySchizoBuddy/repos","events_url":"https://api.github.com/users/MySchizoBuddy/events{/privacy}","received_events_url":"https://api.github.com/users/MySchizoBuddy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-19T19:58:22Z","updated_at":"2016-05-19T19:58:22Z","closed_at":null,"body":"The example in [Coupled hover events in shiny](https://plot.ly/r/shiny-coupled-hover-events/) generates an error `Warning: Error in inherits: (list) object cannot be coerced to type 'double'` line\r\n \r\n    datapoint <- as.numeric(eventdata[2])\r\n    \r\nChanging this line to \r\n\r\n    datapoint <- as.numeric(eventdata$pointNumber)\r\n\r\nresults in a warning\r\n\r\n    Warning in (datapoint - window):(datapoint + window) :\r\n    numerical expression has 5 elements: only the first used\r\n\r\n\r\n    "}}