{"action":"created","comment":{"url":"https://api.github.com/repos/rstudio/shiny/pulls/comments/55845562","id":55845562,"diff_hunk":"@@ -3,33 +3,103 @@\n #' Creates a reactive table that is suitable for assigning to an \\code{output}\n #' slot.\n #'\n-#' The corresponding HTML output tag should be \\code{div} and have the CSS class\n-#' name \\code{shiny-html-output}.\n+#' The corresponding HTML output tag should be \\code{div} and have the CSS\n+#' class name \\code{shiny-html-output}.\n #'\n #' @param expr An expression that returns an R object that can be used with\n #'   \\code{\\link[xtable]{xtable}}.\n-#' @param ... Arguments to be passed through to \\code{\\link[xtable]{xtable}} and\n-#'   \\code{\\link[xtable]{print.xtable}}.\n+#' @param striped,condensed,hover,bordered Logicals: if \\code{TRUE}, apply\n+#'   the corresponding Bootstrap table format to the output table.","path":"R/render-table.R","position":14,"original_position":14,"commit_id":"d4ced34a11149eaeebe60c57d84b2ad30c58cbf9","original_commit_id":"734d2e2594b5c09979dfa73c0fc48c580f6c0686","user":{"login":"jcheng5","id":129551,"avatar_url":"https://avatars.githubusercontent.com/u/129551?v=3","gravatar_id":"","url":"https://api.github.com/users/jcheng5","html_url":"https://github.com/jcheng5","followers_url":"https://api.github.com/users/jcheng5/followers","following_url":"https://api.github.com/users/jcheng5/following{/other_user}","gists_url":"https://api.github.com/users/jcheng5/gists{/gist_id}","starred_url":"https://api.github.com/users/jcheng5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcheng5/subscriptions","organizations_url":"https://api.github.com/users/jcheng5/orgs","repos_url":"https://api.github.com/users/jcheng5/repos","events_url":"https://api.github.com/users/jcheng5/events{/privacy}","received_events_url":"https://api.github.com/users/jcheng5/received_events","type":"User","site_admin":false},"body":"(I'm not just being pedantic, imho it's a little bit of an art deciding whether related but not mutually exclusive options like this are multiple logical args or a single multi-value one)","created_at":"2016-03-11T15:42:50Z","updated_at":"2016-03-11T15:42:50Z","html_url":"https://github.com/rstudio/shiny/pull/1129#discussion_r55845562","pull_request_url":"https://api.github.com/repos/rstudio/shiny/pulls/1129","_links":{"self":{"href":"https://api.github.com/repos/rstudio/shiny/pulls/comments/55845562"},"html":{"href":"https://github.com/rstudio/shiny/pull/1129#discussion_r55845562"},"pull_request":{"href":"https://api.github.com/repos/rstudio/shiny/pulls/1129"}}},"pull_request":{"url":"https://api.github.com/repos/rstudio/shiny/pulls/1129","id":62526867,"html_url":"https://github.com/rstudio/shiny/pull/1129","diff_url":"https://github.com/rstudio/shiny/pull/1129.diff","patch_url":"https://github.com/rstudio/shiny/pull/1129.patch","issue_url":"https://api.github.com/repos/rstudio/shiny/issues/1129","number":1129,"state":"open","locked":false,"title":"Improved renderTable()","user":{"login":"bborgesr","id":6527540,"avatar_url":"https://avatars.githubusercontent.com/u/6527540?v=3","gravatar_id":"","url":"https://api.github.com/users/bborgesr","html_url":"https://github.com/bborgesr","followers_url":"https://api.github.com/users/bborgesr/followers","following_url":"https://api.github.com/users/bborgesr/following{/other_user}","gists_url":"https://api.github.com/users/bborgesr/gists{/gist_id}","starred_url":"https://api.github.com/users/bborgesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bborgesr/subscriptions","organizations_url":"https://api.github.com/users/bborgesr/orgs","repos_url":"https://api.github.com/users/bborgesr/repos","events_url":"https://api.github.com/users/bborgesr/events{/privacy}","received_events_url":"https://api.github.com/users/bborgesr/received_events","type":"User","site_admin":false},"body":"renderTable() now looks prettier, taking advantage of the Bootstrap table styles. A bunch of new arguments were also added (or at least made explicit, since a few of these were already possible if passed to `xtable()` or `print.xtable()` through the `...` argument). Among other things, the improved function allows the user to select between different table styles, customize the table width and set the column alignment. An interactive demo of this function can be found [here](https://beta.rstudioconnect.com/barbara/shiny_table_demo/).","created_at":"2016-03-11T10:53:21Z","updated_at":"2016-03-11T15:42:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39992d0d84e934eb49bf3fa88cd50317986bef2d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rstudio/shiny/pulls/1129/commits","review_comments_url":"https://api.github.com/repos/rstudio/shiny/pulls/1129/comments","review_comment_url":"https://api.github.com/repos/rstudio/shiny/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rstudio/shiny/issues/1129/comments","statuses_url":"https://api.github.com/repos/rstudio/shiny/statuses/d4ced34a11149eaeebe60c57d84b2ad30c58cbf9","head":{"label":"bborgesr:newRenderTable","ref":"newRenderTable","sha":"d4ced34a11149eaeebe60c57d84b2ad30c58cbf9","user":{"login":"bborgesr","id":6527540,"avatar_url":"https://avatars.githubusercontent.com/u/6527540?v=3","gravatar_id":"","url":"https://api.github.com/users/bborgesr","html_url":"https://github.com/bborgesr","followers_url":"https://api.github.com/users/bborgesr/followers","following_url":"https://api.github.com/users/bborgesr/following{/other_user}","gists_url":"https://api.github.com/users/bborgesr/gists{/gist_id}","starred_url":"https://api.github.com/users/bborgesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bborgesr/subscriptions","organizations_url":"https://api.github.com/users/bborgesr/orgs","repos_url":"https://api.github.com/users/bborgesr/repos","events_url":"https://api.github.com/users/bborgesr/events{/privacy}","received_events_url":"https://api.github.com/users/bborgesr/received_events","type":"User","site_admin":false},"repo":{"id":52871971,"name":"shiny","full_name":"bborgesr/shiny","owner":{"login":"bborgesr","id":6527540,"avatar_url":"https://avatars.githubusercontent.com/u/6527540?v=3","gravatar_id":"","url":"https://api.github.com/users/bborgesr","html_url":"https://github.com/bborgesr","followers_url":"https://api.github.com/users/bborgesr/followers","following_url":"https://api.github.com/users/bborgesr/following{/other_user}","gists_url":"https://api.github.com/users/bborgesr/gists{/gist_id}","starred_url":"https://api.github.com/users/bborgesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bborgesr/subscriptions","organizations_url":"https://api.github.com/users/bborgesr/orgs","repos_url":"https://api.github.com/users/bborgesr/repos","events_url":"https://api.github.com/users/bborgesr/events{/privacy}","received_events_url":"https://api.github.com/users/bborgesr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bborgesr/shiny","description":"Easy interactive web applications with R","fork":true,"url":"https://api.github.com/repos/bborgesr/shiny","forks_url":"https://api.github.com/repos/bborgesr/shiny/forks","keys_url":"https://api.github.com/repos/bborgesr/shiny/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bborgesr/shiny/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bborgesr/shiny/teams","hooks_url":"https://api.github.com/repos/bborgesr/shiny/hooks","issue_events_url":"https://api.github.com/repos/bborgesr/shiny/issues/events{/number}","events_url":"https://api.github.com/repos/bborgesr/shiny/events","assignees_url":"https://api.github.com/repos/bborgesr/shiny/assignees{/user}","branches_url":"https://api.github.com/repos/bborgesr/shiny/branches{/branch}","tags_url":"https://api.github.com/repos/bborgesr/shiny/tags","blobs_url":"https://api.github.com/repos/bborgesr/shiny/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bborgesr/shiny/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bborgesr/shiny/git/refs{/sha}","trees_url":"https://api.github.com/repos/bborgesr/shiny/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bborgesr/shiny/statuses/{sha}","languages_url":"https://api.github.com/repos/bborgesr/shiny/languages","stargazers_url":"https://api.github.com/repos/bborgesr/shiny/stargazers","contributors_url":"https://api.github.com/repos/bborgesr/shiny/contributors","subscribers_url":"https://api.github.com/repos/bborgesr/shiny/subscribers","subscription_url":"https://api.github.com/repos/bborgesr/shiny/subscription","commits_url":"https://api.github.com/repos/bborgesr/shiny/commits{/sha}","git_commits_url":"https://api.github.com/repos/bborgesr/shiny/git/commits{/sha}","comments_url":"https://api.github.com/repos/bborgesr/shiny/comments{/number}","issue_comment_url":"https://api.github.com/repos/bborgesr/shiny/issues/comments{/number}","contents_url":"https://api.github.com/repos/bborgesr/shiny/contents/{+path}","compare_url":"https://api.github.com/repos/bborgesr/shiny/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bborgesr/shiny/merges","archive_url":"https://api.github.com/repos/bborgesr/shiny/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bborgesr/shiny/downloads","issues_url":"https://api.github.com/repos/bborgesr/shiny/issues{/number}","pulls_url":"https://api.github.com/repos/bborgesr/shiny/pulls{/number}","milestones_url":"https://api.github.com/repos/bborgesr/shiny/milestones{/number}","notifications_url":"https://api.github.com/repos/bborgesr/shiny/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bborgesr/shiny/labels{/name}","releases_url":"https://api.github.com/repos/bborgesr/shiny/releases{/id}","deployments_url":"https://api.github.com/repos/bborgesr/shiny/deployments","created_at":"2016-03-01T11:29:32Z","updated_at":"2016-03-01T11:29:33Z","pushed_at":"2016-03-11T15:36:19Z","git_url":"git://github.com/bborgesr/shiny.git","ssh_url":"git@github.com:bborgesr/shiny.git","clone_url":"https://github.com/bborgesr/shiny.git","svn_url":"https://github.com/bborgesr/shiny","homepage":"http://shiny.rstudio.com","size":13040,"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":"rstudio:master","ref":"master","sha":"1bcb6ab9313a41dae73039520436bd1db1b54173","user":{"login":"rstudio","id":513560,"avatar_url":"https://avatars.githubusercontent.com/u/513560?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"repo":{"id":4729944,"name":"shiny","full_name":"rstudio/shiny","owner":{"login":"rstudio","id":513560,"avatar_url":"https://avatars.githubusercontent.com/u/513560?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rstudio/shiny","description":"Easy interactive web applications with R","fork":false,"url":"https://api.github.com/repos/rstudio/shiny","forks_url":"https://api.github.com/repos/rstudio/shiny/forks","keys_url":"https://api.github.com/repos/rstudio/shiny/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rstudio/shiny/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rstudio/shiny/teams","hooks_url":"https://api.github.com/repos/rstudio/shiny/hooks","issue_events_url":"https://api.github.com/repos/rstudio/shiny/issues/events{/number}","events_url":"https://api.github.com/repos/rstudio/shiny/events","assignees_url":"https://api.github.com/repos/rstudio/shiny/assignees{/user}","branches_url":"https://api.github.com/repos/rstudio/shiny/branches{/branch}","tags_url":"https://api.github.com/repos/rstudio/shiny/tags","blobs_url":"https://api.github.com/repos/rstudio/shiny/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rstudio/shiny/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rstudio/shiny/git/refs{/sha}","trees_url":"https://api.github.com/repos/rstudio/shiny/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rstudio/shiny/statuses/{sha}","languages_url":"https://api.github.com/repos/rstudio/shiny/languages","stargazers_url":"https://api.github.com/repos/rstudio/shiny/stargazers","contributors_url":"https://api.github.com/repos/rstudio/shiny/contributors","subscribers_url":"https://api.github.com/repos/rstudio/shiny/subscribers","subscription_url":"https://api.github.com/repos/rstudio/shiny/subscription","commits_url":"https://api.github.com/repos/rstudio/shiny/commits{/sha}","git_commits_url":"https://api.github.com/repos/rstudio/shiny/git/commits{/sha}","comments_url":"https://api.github.com/repos/rstudio/shiny/comments{/number}","issue_comment_url":"https://api.github.com/repos/rstudio/shiny/issues/comments{/number}","contents_url":"https://api.github.com/repos/rstudio/shiny/contents/{+path}","compare_url":"https://api.github.com/repos/rstudio/shiny/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rstudio/shiny/merges","archive_url":"https://api.github.com/repos/rstudio/shiny/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rstudio/shiny/downloads","issues_url":"https://api.github.com/repos/rstudio/shiny/issues{/number}","pulls_url":"https://api.github.com/repos/rstudio/shiny/pulls{/number}","milestones_url":"https://api.github.com/repos/rstudio/shiny/milestones{/number}","notifications_url":"https://api.github.com/repos/rstudio/shiny/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rstudio/shiny/labels{/name}","releases_url":"https://api.github.com/repos/rstudio/shiny/releases{/id}","deployments_url":"https://api.github.com/repos/rstudio/shiny/deployments","created_at":"2012-06-20T18:45:11Z","updated_at":"2016-03-11T07:36:35Z","pushed_at":"2016-03-11T15:36:20Z","git_url":"git://github.com/rstudio/shiny.git","ssh_url":"git@github.com:rstudio/shiny.git","clone_url":"https://github.com/rstudio/shiny.git","svn_url":"https://github.com/rstudio/shiny","homepage":"http://shiny.rstudio.com","size":15173,"stargazers_count":1650,"watchers_count":1650,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":898,"mirror_url":null,"open_issues_count":186,"forks":898,"open_issues":186,"watchers":1650,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rstudio/shiny/pulls/1129"},"html":{"href":"https://github.com/rstudio/shiny/pull/1129"},"issue":{"href":"https://api.github.com/repos/rstudio/shiny/issues/1129"},"comments":{"href":"https://api.github.com/repos/rstudio/shiny/issues/1129/comments"},"review_comments":{"href":"https://api.github.com/repos/rstudio/shiny/pulls/1129/comments"},"review_comment":{"href":"https://api.github.com/repos/rstudio/shiny/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rstudio/shiny/pulls/1129/commits"},"statuses":{"href":"https://api.github.com/repos/rstudio/shiny/statuses/d4ced34a11149eaeebe60c57d84b2ad30c58cbf9"}}}}