{"action":"created","issue":{"url":"https://api.github.com/repos/daattali/timevis/issues/3","repository_url":"https://api.github.com/repos/daattali/timevis","labels_url":"https://api.github.com/repos/daattali/timevis/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/daattali/timevis/issues/3/comments","events_url":"https://api.github.com/repos/daattali/timevis/issues/3/events","html_url":"https://github.com/daattali/timevis/issues/3","id":167717684,"number":3,"title":"When re-rendering a timeline, the old data are not removed","user":{"login":"daattali","id":952340,"avatar_url":"https://avatars.githubusercontent.com/u/952340?v=3","gravatar_id":"","url":"https://api.github.com/users/daattali","html_url":"https://github.com/daattali","followers_url":"https://api.github.com/users/daattali/followers","following_url":"https://api.github.com/users/daattali/following{/other_user}","gists_url":"https://api.github.com/users/daattali/gists{/gist_id}","starred_url":"https://api.github.com/users/daattali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daattali/subscriptions","organizations_url":"https://api.github.com/users/daattali/orgs","repos_url":"https://api.github.com/users/daattali/repos","events_url":"https://api.github.com/users/daattali/events{/privacy}","received_events_url":"https://api.github.com/users/daattali/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/daattali/timevis/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-26T21:34:29Z","updated_at":"2016-08-23T17:53:44Z","closed_at":"2016-07-26T21:58:17Z","body":"Bug reported to me via private email.\r\n\r\nExample:\r\n\r\n```\r\nlibrary(shiny)\r\nlibrary(timevis)\r\n\r\nui <- fluidPage(\r\n  timevisOutput(\"timeline\"),\r\n  textInput(\"text\", \"Text\", \"Hello\")\r\n)\r\n\r\nserver <- function(input, output, session) {\r\n  output$timeline <- renderTimevis(\r\n    timevis(data.frame(start = Sys.Date(), content = input$text))\r\n  )\r\n}\r\n\r\nshinyApp(ui = ui, server = server)\r\n```\r\n\r\nEvery time you change the text, a new item gets added but all the previous ones still exist. That's a clear bug and not how it should work."},"comment":{"url":"https://api.github.com/repos/daattali/timevis/issues/comments/241817635","html_url":"https://github.com/daattali/timevis/issues/3#issuecomment-241817635","issue_url":"https://api.github.com/repos/daattali/timevis/issues/3","id":241817635,"user":{"login":"daattali","id":952340,"avatar_url":"https://avatars.githubusercontent.com/u/952340?v=3","gravatar_id":"","url":"https://api.github.com/users/daattali","html_url":"https://github.com/daattali","followers_url":"https://api.github.com/users/daattali/followers","following_url":"https://api.github.com/users/daattali/following{/other_user}","gists_url":"https://api.github.com/users/daattali/gists{/gist_id}","starred_url":"https://api.github.com/users/daattali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daattali/subscriptions","organizations_url":"https://api.github.com/users/daattali/orgs","repos_url":"https://api.github.com/users/daattali/repos","events_url":"https://api.github.com/users/daattali/events{/privacy}","received_events_url":"https://api.github.com/users/daattali/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T17:53:44Z","updated_at":"2016-08-23T17:53:44Z","body":"did you install from CRAN or from GitHub?  Please show a minimal reproducible example "}}
{"actor":{"display_login":"daattali"}}