{"action":"closed","issue":{"url":"https://api.github.com/repos/cboettig/eml2/issues/2","repository_url":"https://api.github.com/repos/cboettig/eml2","labels_url":"https://api.github.com/repos/cboettig/eml2/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/cboettig/eml2/issues/2/comments","events_url":"https://api.github.com/repos/cboettig/eml2/issues/2/events","html_url":"https://github.com/cboettig/eml2/issues/2","id":316895234,"number":2,"title":"eml_validate should work on R objects as well","user":{"login":"cboettig","id":222586,"avatar_url":"https://avatars3.githubusercontent.com/u/222586?v=4","gravatar_id":"","url":"https://api.github.com/users/cboettig","html_url":"https://github.com/cboettig","followers_url":"https://api.github.com/users/cboettig/followers","following_url":"https://api.github.com/users/cboettig/following{/other_user}","gists_url":"https://api.github.com/users/cboettig/gists{/gist_id}","starred_url":"https://api.github.com/users/cboettig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboettig/subscriptions","organizations_url":"https://api.github.com/users/cboettig/orgs","repos_url":"https://api.github.com/users/cboettig/repos","events_url":"https://api.github.com/users/cboettig/events{/privacy}","received_events_url":"https://api.github.com/users/cboettig/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-23T16:48:50Z","updated_at":"2018-04-26T06:30:08Z","closed_at":"2018-04-26T06:30:08Z","author_association":"OWNER","body":"e.g. this should work:\r\n\r\n```r\r\neml <- read_eml(f)\r\neml_validate(f)\r\n```\r\n\r\ncurrently only this works:\r\n\r\n```r\r\neml_validate(f)\r\n```\r\n\r\nalso should provide more intelligent error messages when wrong type of object is passed to `eml_validate`.\r\n\r\nThanks @isteves for catching these."}}
{"actor":{"display_login":"cboettig"}}