{"action":"created","issue":{"url":"https://api.github.com/repos/bearloga/maltese/issues/2","repository_url":"https://api.github.com/repos/bearloga/maltese","labels_url":"https://api.github.com/repos/bearloga/maltese/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/bearloga/maltese/issues/2/comments","events_url":"https://api.github.com/repos/bearloga/maltese/issues/2/events","html_url":"https://github.com/bearloga/maltese/issues/2","id":229134630,"number":2,"title":"Error in mlts_transform: do not know how to convert 'x' to class “POSIXlt”","user":{"login":"jbkunst","id":56481,"avatar_url":"https://avatars3.githubusercontent.com/u/56481?v=3","gravatar_id":"","url":"https://api.github.com/users/jbkunst","html_url":"https://github.com/jbkunst","followers_url":"https://api.github.com/users/jbkunst/followers","following_url":"https://api.github.com/users/jbkunst/following{/other_user}","gists_url":"https://api.github.com/users/jbkunst/gists{/gist_id}","starred_url":"https://api.github.com/users/jbkunst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbkunst/subscriptions","organizations_url":"https://api.github.com/users/jbkunst/orgs","repos_url":"https://api.github.com/users/jbkunst/repos","events_url":"https://api.github.com/users/jbkunst/events{/privacy}","received_events_url":"https://api.github.com/users/jbkunst/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-16T18:55:36Z","updated_at":"2017-05-17T21:04:01Z","closed_at":"2017-05-17T21:01:57Z","body":"Hi @bearloga ,\r\n\r\nI have this example:\r\n```r\r\ndata <- structure(list(x = c(70090.5778171204, 69356.3322413804, 67864.4479475701, \r\n                             68523.3096806297, 68298.0427100604, 64327.9984660899),\r\n                       date = structure(c(1379894400, 1379980800, 1380067200, 1380153600,\r\n                                          1380240000, 1380499200), class = c(\"POSIXct\",\"POSIXt\"))),\r\n                  .Names = c(\"x\", \"date\"), row.names = c(NA, -6L), class = c(\"tbl_df\", \"tbl\", \"data.frame\"))\r\n\r\nmlts <- mlts_transform(\r\n  data, date, x,\r\n  p = 2, # how many previous points of data to use as features\r\n  granularity = \"day\", # optional, can be automatically detected,\r\n  extras = TRUE, extrasAsFactors = TRUE # FALSE by default :D\r\n)\r\n```\r\n\r\nAnd I have the next message:\r\n\r\n```r\r\nError in as.POSIXlt.default(x, tz = tz(x)) : \r\n  do not know how to convert 'x' to class “POSIXlt”\r\nIn addition: Warning messages:\r\n1: drop ignored \r\n2: drop ignored \r\n```\r\n\r\nNot sure what is happening\r\n\r\nOne difference with the `r_enwiki` data, is  the date field is printed like a date, and in my example the data is printed like a date time value, anyway they have the same `\"POSIXct\" \"POSIXt\" ` class\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/bearloga/maltese/issues/comments/302231144","html_url":"https://github.com/bearloga/maltese/issues/2#issuecomment-302231144","issue_url":"https://api.github.com/repos/bearloga/maltese/issues/2","id":302231144,"user":{"login":"jbkunst","id":56481,"avatar_url":"https://avatars3.githubusercontent.com/u/56481?v=3","gravatar_id":"","url":"https://api.github.com/users/jbkunst","html_url":"https://github.com/jbkunst","followers_url":"https://api.github.com/users/jbkunst/followers","following_url":"https://api.github.com/users/jbkunst/following{/other_user}","gists_url":"https://api.github.com/users/jbkunst/gists{/gist_id}","starred_url":"https://api.github.com/users/jbkunst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbkunst/subscriptions","organizations_url":"https://api.github.com/users/jbkunst/orgs","repos_url":"https://api.github.com/users/jbkunst/repos","events_url":"https://api.github.com/users/jbkunst/events{/privacy}","received_events_url":"https://api.github.com/users/jbkunst/received_events","type":"User","site_admin":false},"created_at":"2017-05-17T21:04:01Z","updated_at":"2017-05-17T21:04:01Z","body":"Thanks so much @bearloga ! I will test now"}}
{"actor":{"display_login":"jbkunst"}}