{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/obarisk/gmailr/pulls/1","id":64121894,"html_url":"https://github.com/obarisk/gmailr/pull/1","diff_url":"https://github.com/obarisk/gmailr/pull/1.diff","patch_url":"https://github.com/obarisk/gmailr/pull/1.patch","issue_url":"https://api.github.com/repos/obarisk/gmailr/issues/1","number":1,"state":"closed","locked":false,"title":"fixed multibyte char error","user":{"login":"obarisk","id":7524256,"avatar_url":"https://avatars.githubusercontent.com/u/7524256?v=3","gravatar_id":"","url":"https://api.github.com/users/obarisk","html_url":"https://github.com/obarisk","followers_url":"https://api.github.com/users/obarisk/followers","following_url":"https://api.github.com/users/obarisk/following{/other_user}","gists_url":"https://api.github.com/users/obarisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obarisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obarisk/subscriptions","organizations_url":"https://api.github.com/users/obarisk/orgs","repos_url":"https://api.github.com/users/obarisk/repos","events_url":"https://api.github.com/users/obarisk/events{/privacy}","received_events_url":"https://api.github.com/users/obarisk/received_events","type":"User","site_admin":false},"body":"If mail body contains multibyte character like chinese, length(fun(xx)) here will great than 1, and vapply force output length = 1\r\ntherefore throws an error.\r\n\r\ncollapsing those multibyte result together solves the problem.","created_at":"2016-03-25T01:37:04Z","updated_at":"2016-03-25T01:37:20Z","closed_at":"2016-03-25T01:37:20Z","merged_at":"2016-03-25T01:37:20Z","merge_commit_sha":"c5ccdf892b41f7db20faadf65c308c0cb3451f20","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/obarisk/gmailr/pulls/1/commits","review_comments_url":"https://api.github.com/repos/obarisk/gmailr/pulls/1/comments","review_comment_url":"https://api.github.com/repos/obarisk/gmailr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/obarisk/gmailr/issues/1/comments","statuses_url":"https://api.github.com/repos/obarisk/gmailr/statuses/5e1b93c28cd851c2ad3128e7d8517e516da171ae","head":{"label":"obarisk:body-with-multibyte-char","ref":"body-with-multibyte-char","sha":"5e1b93c28cd851c2ad3128e7d8517e516da171ae","user":{"login":"obarisk","id":7524256,"avatar_url":"https://avatars.githubusercontent.com/u/7524256?v=3","gravatar_id":"","url":"https://api.github.com/users/obarisk","html_url":"https://github.com/obarisk","followers_url":"https://api.github.com/users/obarisk/followers","following_url":"https://api.github.com/users/obarisk/following{/other_user}","gists_url":"https://api.github.com/users/obarisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obarisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obarisk/subscriptions","organizations_url":"https://api.github.com/users/obarisk/orgs","repos_url":"https://api.github.com/users/obarisk/repos","events_url":"https://api.github.com/users/obarisk/events{/privacy}","received_events_url":"https://api.github.com/users/obarisk/received_events","type":"User","site_admin":false},"repo":{"id":54684206,"name":"gmailr","full_name":"obarisk/gmailr","owner":{"login":"obarisk","id":7524256,"avatar_url":"https://avatars.githubusercontent.com/u/7524256?v=3","gravatar_id":"","url":"https://api.github.com/users/obarisk","html_url":"https://github.com/obarisk","followers_url":"https://api.github.com/users/obarisk/followers","following_url":"https://api.github.com/users/obarisk/following{/other_user}","gists_url":"https://api.github.com/users/obarisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obarisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obarisk/subscriptions","organizations_url":"https://api.github.com/users/obarisk/orgs","repos_url":"https://api.github.com/users/obarisk/repos","events_url":"https://api.github.com/users/obarisk/events{/privacy}","received_events_url":"https://api.github.com/users/obarisk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/obarisk/gmailr","description":"Access the Gmail RESTful API from R.","fork":true,"url":"https://api.github.com/repos/obarisk/gmailr","forks_url":"https://api.github.com/repos/obarisk/gmailr/forks","keys_url":"https://api.github.com/repos/obarisk/gmailr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/obarisk/gmailr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/obarisk/gmailr/teams","hooks_url":"https://api.github.com/repos/obarisk/gmailr/hooks","issue_events_url":"https://api.github.com/repos/obarisk/gmailr/issues/events{/number}","events_url":"https://api.github.com/repos/obarisk/gmailr/events","assignees_url":"https://api.github.com/repos/obarisk/gmailr/assignees{/user}","branches_url":"https://api.github.com/repos/obarisk/gmailr/branches{/branch}","tags_url":"https://api.github.com/repos/obarisk/gmailr/tags","blobs_url":"https://api.github.com/repos/obarisk/gmailr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/obarisk/gmailr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/obarisk/gmailr/git/refs{/sha}","trees_url":"https://api.github.com/repos/obarisk/gmailr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/obarisk/gmailr/statuses/{sha}","languages_url":"https://api.github.com/repos/obarisk/gmailr/languages","stargazers_url":"https://api.github.com/repos/obarisk/gmailr/stargazers","contributors_url":"https://api.github.com/repos/obarisk/gmailr/contributors","subscribers_url":"https://api.github.com/repos/obarisk/gmailr/subscribers","subscription_url":"https://api.github.com/repos/obarisk/gmailr/subscription","commits_url":"https://api.github.com/repos/obarisk/gmailr/commits{/sha}","git_commits_url":"https://api.github.com/repos/obarisk/gmailr/git/commits{/sha}","comments_url":"https://api.github.com/repos/obarisk/gmailr/comments{/number}","issue_comment_url":"https://api.github.com/repos/obarisk/gmailr/issues/comments{/number}","contents_url":"https://api.github.com/repos/obarisk/gmailr/contents/{+path}","compare_url":"https://api.github.com/repos/obarisk/gmailr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/obarisk/gmailr/merges","archive_url":"https://api.github.com/repos/obarisk/gmailr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/obarisk/gmailr/downloads","issues_url":"https://api.github.com/repos/obarisk/gmailr/issues{/number}","pulls_url":"https://api.github.com/repos/obarisk/gmailr/pulls{/number}","milestones_url":"https://api.github.com/repos/obarisk/gmailr/milestones{/number}","notifications_url":"https://api.github.com/repos/obarisk/gmailr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/obarisk/gmailr/labels{/name}","releases_url":"https://api.github.com/repos/obarisk/gmailr/releases{/id}","deployments_url":"https://api.github.com/repos/obarisk/gmailr/deployments","created_at":"2016-03-25T00:58:34Z","updated_at":"2016-03-25T00:58:35Z","pushed_at":"2016-03-25T01:37:20Z","git_url":"git://github.com/obarisk/gmailr.git","ssh_url":"git@github.com:obarisk/gmailr.git","clone_url":"https://github.com/obarisk/gmailr.git","svn_url":"https://github.com/obarisk/gmailr","homepage":"https://developers.google.com/gmail/api/","size":192,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"obarisk:master","ref":"master","sha":"5ae820f3fca4f1617f3498464365ac57c690ef62","user":{"login":"obarisk","id":7524256,"avatar_url":"https://avatars.githubusercontent.com/u/7524256?v=3","gravatar_id":"","url":"https://api.github.com/users/obarisk","html_url":"https://github.com/obarisk","followers_url":"https://api.github.com/users/obarisk/followers","following_url":"https://api.github.com/users/obarisk/following{/other_user}","gists_url":"https://api.github.com/users/obarisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obarisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obarisk/subscriptions","organizations_url":"https://api.github.com/users/obarisk/orgs","repos_url":"https://api.github.com/users/obarisk/repos","events_url":"https://api.github.com/users/obarisk/events{/privacy}","received_events_url":"https://api.github.com/users/obarisk/received_events","type":"User","site_admin":false},"repo":{"id":54684206,"name":"gmailr","full_name":"obarisk/gmailr","owner":{"login":"obarisk","id":7524256,"avatar_url":"https://avatars.githubusercontent.com/u/7524256?v=3","gravatar_id":"","url":"https://api.github.com/users/obarisk","html_url":"https://github.com/obarisk","followers_url":"https://api.github.com/users/obarisk/followers","following_url":"https://api.github.com/users/obarisk/following{/other_user}","gists_url":"https://api.github.com/users/obarisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obarisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obarisk/subscriptions","organizations_url":"https://api.github.com/users/obarisk/orgs","repos_url":"https://api.github.com/users/obarisk/repos","events_url":"https://api.github.com/users/obarisk/events{/privacy}","received_events_url":"https://api.github.com/users/obarisk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/obarisk/gmailr","description":"Access the Gmail RESTful API from R.","fork":true,"url":"https://api.github.com/repos/obarisk/gmailr","forks_url":"https://api.github.com/repos/obarisk/gmailr/forks","keys_url":"https://api.github.com/repos/obarisk/gmailr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/obarisk/gmailr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/obarisk/gmailr/teams","hooks_url":"https://api.github.com/repos/obarisk/gmailr/hooks","issue_events_url":"https://api.github.com/repos/obarisk/gmailr/issues/events{/number}","events_url":"https://api.github.com/repos/obarisk/gmailr/events","assignees_url":"https://api.github.com/repos/obarisk/gmailr/assignees{/user}","branches_url":"https://api.github.com/repos/obarisk/gmailr/branches{/branch}","tags_url":"https://api.github.com/repos/obarisk/gmailr/tags","blobs_url":"https://api.github.com/repos/obarisk/gmailr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/obarisk/gmailr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/obarisk/gmailr/git/refs{/sha}","trees_url":"https://api.github.com/repos/obarisk/gmailr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/obarisk/gmailr/statuses/{sha}","languages_url":"https://api.github.com/repos/obarisk/gmailr/languages","stargazers_url":"https://api.github.com/repos/obarisk/gmailr/stargazers","contributors_url":"https://api.github.com/repos/obarisk/gmailr/contributors","subscribers_url":"https://api.github.com/repos/obarisk/gmailr/subscribers","subscription_url":"https://api.github.com/repos/obarisk/gmailr/subscription","commits_url":"https://api.github.com/repos/obarisk/gmailr/commits{/sha}","git_commits_url":"https://api.github.com/repos/obarisk/gmailr/git/commits{/sha}","comments_url":"https://api.github.com/repos/obarisk/gmailr/comments{/number}","issue_comment_url":"https://api.github.com/repos/obarisk/gmailr/issues/comments{/number}","contents_url":"https://api.github.com/repos/obarisk/gmailr/contents/{+path}","compare_url":"https://api.github.com/repos/obarisk/gmailr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/obarisk/gmailr/merges","archive_url":"https://api.github.com/repos/obarisk/gmailr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/obarisk/gmailr/downloads","issues_url":"https://api.github.com/repos/obarisk/gmailr/issues{/number}","pulls_url":"https://api.github.com/repos/obarisk/gmailr/pulls{/number}","milestones_url":"https://api.github.com/repos/obarisk/gmailr/milestones{/number}","notifications_url":"https://api.github.com/repos/obarisk/gmailr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/obarisk/gmailr/labels{/name}","releases_url":"https://api.github.com/repos/obarisk/gmailr/releases{/id}","deployments_url":"https://api.github.com/repos/obarisk/gmailr/deployments","created_at":"2016-03-25T00:58:34Z","updated_at":"2016-03-25T00:58:35Z","pushed_at":"2016-03-25T01:37:20Z","git_url":"git://github.com/obarisk/gmailr.git","ssh_url":"git@github.com:obarisk/gmailr.git","clone_url":"https://github.com/obarisk/gmailr.git","svn_url":"https://github.com/obarisk/gmailr","homepage":"https://developers.google.com/gmail/api/","size":192,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/obarisk/gmailr/pulls/1"},"html":{"href":"https://github.com/obarisk/gmailr/pull/1"},"issue":{"href":"https://api.github.com/repos/obarisk/gmailr/issues/1"},"comments":{"href":"https://api.github.com/repos/obarisk/gmailr/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/obarisk/gmailr/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/obarisk/gmailr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/obarisk/gmailr/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/obarisk/gmailr/statuses/5e1b93c28cd851c2ad3128e7d8517e516da171ae"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"obarisk","id":7524256,"avatar_url":"https://avatars.githubusercontent.com/u/7524256?v=3","gravatar_id":"","url":"https://api.github.com/users/obarisk","html_url":"https://github.com/obarisk","followers_url":"https://api.github.com/users/obarisk/followers","following_url":"https://api.github.com/users/obarisk/following{/other_user}","gists_url":"https://api.github.com/users/obarisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obarisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obarisk/subscriptions","organizations_url":"https://api.github.com/users/obarisk/orgs","repos_url":"https://api.github.com/users/obarisk/repos","events_url":"https://api.github.com/users/obarisk/events{/privacy}","received_events_url":"https://api.github.com/users/obarisk/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}