{"action":"opened","issue":{"url":"https://api.github.com/repos/gaborcsardi/parsedate/issues/10","labels_url":"https://api.github.com/repos/gaborcsardi/parsedate/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/gaborcsardi/parsedate/issues/10/comments","events_url":"https://api.github.com/repos/gaborcsardi/parsedate/issues/10/events","html_url":"https://github.com/gaborcsardi/parsedate/issues/10","id":86185352,"number":10,"title":"Handling of dates by parse_date() in the presence of empty strings","user":{"login":"plogacev","id":5197764,"avatar_url":"https://avatars.githubusercontent.com/u/5197764?v=3","gravatar_id":"","url":"https://api.github.com/users/plogacev","html_url":"https://github.com/plogacev","followers_url":"https://api.github.com/users/plogacev/followers","following_url":"https://api.github.com/users/plogacev/following{/other_user}","gists_url":"https://api.github.com/users/plogacev/gists{/gist_id}","starred_url":"https://api.github.com/users/plogacev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plogacev/subscriptions","organizations_url":"https://api.github.com/users/plogacev/orgs","repos_url":"https://api.github.com/users/plogacev/repos","events_url":"https://api.github.com/users/plogacev/events{/privacy}","received_events_url":"https://api.github.com/users/plogacev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-08T13:50:49Z","updated_at":"2015-06-08T13:50:49Z","closed_at":null,"body":"It appears that parse_date runs into problems when empty strings are present in the input vector. For example, the third date here is not recognized properly:\r\n\r\n  > dates <-  c(\"\", \"2014-10-29\", \"2012-12-05\")\r\n  > parse_date(dates)\r\n  [1] NA               \"2014-10-29 UTC\" \"2014-10-29 UTC\"\r\n\r\nI am using parsedate_1.1.1 on R 3.2.0 (platform: x86_64-pc-linux-gnu, 64-bit) using Ubuntu 15.04."}}