{"action":"closed","number":1240,"pull_request":{"url":"https://api.github.com/repos/yihui/knitr/pulls/1240","id":77167000,"html_url":"https://github.com/yihui/knitr/pull/1240","diff_url":"https://github.com/yihui/knitr/pull/1240.diff","patch_url":"https://github.com/yihui/knitr/pull/1240.patch","issue_url":"https://api.github.com/repos/yihui/knitr/issues/1240","number":1240,"state":"closed","locked":false,"title":"added string-align","user":{"login":"r2evans","id":5815808,"avatar_url":"https://avatars.githubusercontent.com/u/5815808?v=3","gravatar_id":"","url":"https://api.github.com/users/r2evans","html_url":"https://github.com/r2evans","followers_url":"https://api.github.com/users/r2evans/followers","following_url":"https://api.github.com/users/r2evans/following{/other_user}","gists_url":"https://api.github.com/users/r2evans/gists{/gist_id}","starred_url":"https://api.github.com/users/r2evans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r2evans/subscriptions","organizations_url":"https://api.github.com/users/r2evans/orgs","repos_url":"https://api.github.com/users/r2evans/repos","events_url":"https://api.github.com/users/r2evans/events{/privacy}","received_events_url":"https://api.github.com/users/r2evans/received_events","type":"User","site_admin":false},"body":"Concept: use a single multi-character string to align columns as an alternative to a vector of single chars. These two uses are identical:\r\n\r\n```r\r\nkable(head(iris), align = c(\"c\",\"l\",\"r\",\"c\",\"r\"))\r\nkable(head(iris), align = \"clrcr\")\r\n```","created_at":"2016-07-12T18:24:17Z","updated_at":"2016-07-12T19:05:38Z","closed_at":"2016-07-12T19:05:38Z","merged_at":"2016-07-12T19:05:38Z","merge_commit_sha":"09d44266d974948fb633d568ca14df65634821cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yihui/knitr/pulls/1240/commits","review_comments_url":"https://api.github.com/repos/yihui/knitr/pulls/1240/comments","review_comment_url":"https://api.github.com/repos/yihui/knitr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yihui/knitr/issues/1240/comments","statuses_url":"https://api.github.com/repos/yihui/knitr/statuses/b2d942250744c21078db889ecb69392050938da6","head":{"label":"r2evans:stringalign","ref":"stringalign","sha":"b2d942250744c21078db889ecb69392050938da6","user":{"login":"r2evans","id":5815808,"avatar_url":"https://avatars.githubusercontent.com/u/5815808?v=3","gravatar_id":"","url":"https://api.github.com/users/r2evans","html_url":"https://github.com/r2evans","followers_url":"https://api.github.com/users/r2evans/followers","following_url":"https://api.github.com/users/r2evans/following{/other_user}","gists_url":"https://api.github.com/users/r2evans/gists{/gist_id}","starred_url":"https://api.github.com/users/r2evans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r2evans/subscriptions","organizations_url":"https://api.github.com/users/r2evans/orgs","repos_url":"https://api.github.com/users/r2evans/repos","events_url":"https://api.github.com/users/r2evans/events{/privacy}","received_events_url":"https://api.github.com/users/r2evans/received_events","type":"User","site_admin":false},"repo":{"id":63181335,"name":"knitr","full_name":"r2evans/knitr","owner":{"login":"r2evans","id":5815808,"avatar_url":"https://avatars.githubusercontent.com/u/5815808?v=3","gravatar_id":"","url":"https://api.github.com/users/r2evans","html_url":"https://github.com/r2evans","followers_url":"https://api.github.com/users/r2evans/followers","following_url":"https://api.github.com/users/r2evans/following{/other_user}","gists_url":"https://api.github.com/users/r2evans/gists{/gist_id}","starred_url":"https://api.github.com/users/r2evans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r2evans/subscriptions","organizations_url":"https://api.github.com/users/r2evans/orgs","repos_url":"https://api.github.com/users/r2evans/repos","events_url":"https://api.github.com/users/r2evans/events{/privacy}","received_events_url":"https://api.github.com/users/r2evans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/r2evans/knitr","description":"A general-purpose tool for dynamic report generation in R","fork":true,"url":"https://api.github.com/repos/r2evans/knitr","forks_url":"https://api.github.com/repos/r2evans/knitr/forks","keys_url":"https://api.github.com/repos/r2evans/knitr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/r2evans/knitr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/r2evans/knitr/teams","hooks_url":"https://api.github.com/repos/r2evans/knitr/hooks","issue_events_url":"https://api.github.com/repos/r2evans/knitr/issues/events{/number}","events_url":"https://api.github.com/repos/r2evans/knitr/events","assignees_url":"https://api.github.com/repos/r2evans/knitr/assignees{/user}","branches_url":"https://api.github.com/repos/r2evans/knitr/branches{/branch}","tags_url":"https://api.github.com/repos/r2evans/knitr/tags","blobs_url":"https://api.github.com/repos/r2evans/knitr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/r2evans/knitr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/r2evans/knitr/git/refs{/sha}","trees_url":"https://api.github.com/repos/r2evans/knitr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/r2evans/knitr/statuses/{sha}","languages_url":"https://api.github.com/repos/r2evans/knitr/languages","stargazers_url":"https://api.github.com/repos/r2evans/knitr/stargazers","contributors_url":"https://api.github.com/repos/r2evans/knitr/contributors","subscribers_url":"https://api.github.com/repos/r2evans/knitr/subscribers","subscription_url":"https://api.github.com/repos/r2evans/knitr/subscription","commits_url":"https://api.github.com/repos/r2evans/knitr/commits{/sha}","git_commits_url":"https://api.github.com/repos/r2evans/knitr/git/commits{/sha}","comments_url":"https://api.github.com/repos/r2evans/knitr/comments{/number}","issue_comment_url":"https://api.github.com/repos/r2evans/knitr/issues/comments{/number}","contents_url":"https://api.github.com/repos/r2evans/knitr/contents/{+path}","compare_url":"https://api.github.com/repos/r2evans/knitr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/r2evans/knitr/merges","archive_url":"https://api.github.com/repos/r2evans/knitr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/r2evans/knitr/downloads","issues_url":"https://api.github.com/repos/r2evans/knitr/issues{/number}","pulls_url":"https://api.github.com/repos/r2evans/knitr/pulls{/number}","milestones_url":"https://api.github.com/repos/r2evans/knitr/milestones{/number}","notifications_url":"https://api.github.com/repos/r2evans/knitr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/r2evans/knitr/labels{/name}","releases_url":"https://api.github.com/repos/r2evans/knitr/releases{/id}","deployments_url":"https://api.github.com/repos/r2evans/knitr/deployments","created_at":"2016-07-12T18:06:25Z","updated_at":"2016-07-12T18:06:26Z","pushed_at":"2016-07-12T18:47:21Z","git_url":"git://github.com/r2evans/knitr.git","ssh_url":"git@github.com:r2evans/knitr.git","clone_url":"https://github.com/r2evans/knitr.git","svn_url":"https://github.com/r2evans/knitr","homepage":"http://yihui.name/knitr","size":8788,"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":"yihui:master","ref":"master","sha":"40d825ed25eb10c8294b9f23d52fec4a14c24c86","user":{"login":"yihui","id":163582,"avatar_url":"https://avatars.githubusercontent.com/u/163582?v=3","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"repo":{"id":2594513,"name":"knitr","full_name":"yihui/knitr","owner":{"login":"yihui","id":163582,"avatar_url":"https://avatars.githubusercontent.com/u/163582?v=3","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yihui/knitr","description":"A general-purpose tool for dynamic report generation in R","fork":false,"url":"https://api.github.com/repos/yihui/knitr","forks_url":"https://api.github.com/repos/yihui/knitr/forks","keys_url":"https://api.github.com/repos/yihui/knitr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yihui/knitr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yihui/knitr/teams","hooks_url":"https://api.github.com/repos/yihui/knitr/hooks","issue_events_url":"https://api.github.com/repos/yihui/knitr/issues/events{/number}","events_url":"https://api.github.com/repos/yihui/knitr/events","assignees_url":"https://api.github.com/repos/yihui/knitr/assignees{/user}","branches_url":"https://api.github.com/repos/yihui/knitr/branches{/branch}","tags_url":"https://api.github.com/repos/yihui/knitr/tags","blobs_url":"https://api.github.com/repos/yihui/knitr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yihui/knitr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yihui/knitr/git/refs{/sha}","trees_url":"https://api.github.com/repos/yihui/knitr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yihui/knitr/statuses/{sha}","languages_url":"https://api.github.com/repos/yihui/knitr/languages","stargazers_url":"https://api.github.com/repos/yihui/knitr/stargazers","contributors_url":"https://api.github.com/repos/yihui/knitr/contributors","subscribers_url":"https://api.github.com/repos/yihui/knitr/subscribers","subscription_url":"https://api.github.com/repos/yihui/knitr/subscription","commits_url":"https://api.github.com/repos/yihui/knitr/commits{/sha}","git_commits_url":"https://api.github.com/repos/yihui/knitr/git/commits{/sha}","comments_url":"https://api.github.com/repos/yihui/knitr/comments{/number}","issue_comment_url":"https://api.github.com/repos/yihui/knitr/issues/comments{/number}","contents_url":"https://api.github.com/repos/yihui/knitr/contents/{+path}","compare_url":"https://api.github.com/repos/yihui/knitr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yihui/knitr/merges","archive_url":"https://api.github.com/repos/yihui/knitr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yihui/knitr/downloads","issues_url":"https://api.github.com/repos/yihui/knitr/issues{/number}","pulls_url":"https://api.github.com/repos/yihui/knitr/pulls{/number}","milestones_url":"https://api.github.com/repos/yihui/knitr/milestones{/number}","notifications_url":"https://api.github.com/repos/yihui/knitr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yihui/knitr/labels{/name}","releases_url":"https://api.github.com/repos/yihui/knitr/releases{/id}","deployments_url":"https://api.github.com/repos/yihui/knitr/deployments","created_at":"2011-10-17T20:09:04Z","updated_at":"2016-07-11T19:07:37Z","pushed_at":"2016-07-12T19:05:38Z","git_url":"git://github.com/yihui/knitr.git","ssh_url":"git@github.com:yihui/knitr.git","clone_url":"https://github.com/yihui/knitr.git","svn_url":"https://github.com/yihui/knitr","homepage":"http://yihui.name/knitr","size":8788,"stargazers_count":1191,"watchers_count":1191,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":540,"mirror_url":null,"open_issues_count":14,"forks":540,"open_issues":14,"watchers":1191,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yihui/knitr/pulls/1240"},"html":{"href":"https://github.com/yihui/knitr/pull/1240"},"issue":{"href":"https://api.github.com/repos/yihui/knitr/issues/1240"},"comments":{"href":"https://api.github.com/repos/yihui/knitr/issues/1240/comments"},"review_comments":{"href":"https://api.github.com/repos/yihui/knitr/pulls/1240/comments"},"review_comment":{"href":"https://api.github.com/repos/yihui/knitr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yihui/knitr/pulls/1240/commits"},"statuses":{"href":"https://api.github.com/repos/yihui/knitr/statuses/b2d942250744c21078db889ecb69392050938da6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yihui","id":163582,"avatar_url":"https://avatars.githubusercontent.com/u/163582?v=3","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"commits":3,"additions":14,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"yihui"}}