{"action":"created","comment":{"url":"https://api.github.com/repos/robertzk/rocco/pulls/comments/44875900","id":44875900,"diff_hunk":"@@ -26,25 +29,31 @@\n #'   # The below will simply create a static HTML site without opening it.\n #'   rocco(\"/path/to/package\", output_dir = \"/my/html/dir\", browse = FALSE)\n #' }\n-rocco <- function(directory, output_dir = tempdir(), browse = interactive(), gh_pages = FALSE) {\n+rocco <- function(directory, output_dir = tempdir(), browse = interactive(),\n+  rocco = TRUE, staticdocs = TRUE, gh_pages = FALSE) {\n   if (missing(directory)) directory <- \".\"","path":"R/rocco.R","position":26,"original_position":26,"commit_id":"8d6833c10479ddf72092c3a8d4a130467e60db70","original_commit_id":"393860f4c806546315958367de529bff98c61de4","user":{"login":"robertzk","id":1638492,"avatar_url":"https://avatars.githubusercontent.com/u/1638492?v=3","gravatar_id":"","url":"https://api.github.com/users/robertzk","html_url":"https://github.com/robertzk","followers_url":"https://api.github.com/users/robertzk/followers","following_url":"https://api.github.com/users/robertzk/following{/other_user}","gists_url":"https://api.github.com/users/robertzk/gists{/gist_id}","starred_url":"https://api.github.com/users/robertzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertzk/subscriptions","organizations_url":"https://api.github.com/users/robertzk/orgs","repos_url":"https://api.github.com/users/robertzk/repos","events_url":"https://api.github.com/users/robertzk/events{/privacy}","received_events_url":"https://api.github.com/users/robertzk/received_events","type":"User","site_admin":false},"body":"I would check that the package is installed if `staticdocs = TRUE` since it is in Suggests.","created_at":"2015-11-15T19:00:42Z","updated_at":"2015-11-15T19:00:42Z","html_url":"https://github.com/robertzk/rocco/pull/10#discussion_r44875900","pull_request_url":"https://api.github.com/repos/robertzk/rocco/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/robertzk/rocco/pulls/comments/44875900"},"html":{"href":"https://github.com/robertzk/rocco/pull/10#discussion_r44875900"},"pull_request":{"href":"https://api.github.com/repos/robertzk/rocco/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/robertzk/rocco/pulls/10","id":50752763,"html_url":"https://github.com/robertzk/rocco/pull/10","diff_url":"https://github.com/robertzk/rocco/pull/10.diff","patch_url":"https://github.com/robertzk/rocco/pull/10.patch","issue_url":"https://api.github.com/repos/robertzk/rocco/issues/10","number":10,"state":"open","locked":false,"title":"Rocco <3 staticdocs","user":{"login":"peterhurford","id":5100840,"avatar_url":"https://avatars.githubusercontent.com/u/5100840?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhurford","html_url":"https://github.com/peterhurford","followers_url":"https://api.github.com/users/peterhurford/followers","following_url":"https://api.github.com/users/peterhurford/following{/other_user}","gists_url":"https://api.github.com/users/peterhurford/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhurford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhurford/subscriptions","organizations_url":"https://api.github.com/users/peterhurford/orgs","repos_url":"https://api.github.com/users/peterhurford/repos","events_url":"https://api.github.com/users/peterhurford/events{/privacy}","received_events_url":"https://api.github.com/users/peterhurford/received_events","type":"User","site_admin":false},"body":"Integrate [hadley/staticdocs](http://www.github.com/hadley/staticdocs) into Rocco.\r\n\r\n* Rocco will now generate staticdocs by default.\r\n* Creates all the necessary pre-files for staticdocs so you don't have to build them yourself.\r\n* Creates one gh-pages integration for both rocco docs and staticdocs.\r\n* Adds staticdocs for rocco.","created_at":"2015-11-15T18:40:11Z","updated_at":"2015-11-15T19:00:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa5752492195d8e56bcea9d37577da6a64387c2d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robertzk/rocco/pulls/10/commits","review_comments_url":"https://api.github.com/repos/robertzk/rocco/pulls/10/comments","review_comment_url":"https://api.github.com/repos/robertzk/rocco/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robertzk/rocco/issues/10/comments","statuses_url":"https://api.github.com/repos/robertzk/rocco/statuses/8d6833c10479ddf72092c3a8d4a130467e60db70","head":{"label":"peterhurford:rocco_heart_staticdocs","ref":"rocco_heart_staticdocs","sha":"8d6833c10479ddf72092c3a8d4a130467e60db70","user":{"login":"peterhurford","id":5100840,"avatar_url":"https://avatars.githubusercontent.com/u/5100840?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhurford","html_url":"https://github.com/peterhurford","followers_url":"https://api.github.com/users/peterhurford/followers","following_url":"https://api.github.com/users/peterhurford/following{/other_user}","gists_url":"https://api.github.com/users/peterhurford/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhurford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhurford/subscriptions","organizations_url":"https://api.github.com/users/peterhurford/orgs","repos_url":"https://api.github.com/users/peterhurford/repos","events_url":"https://api.github.com/users/peterhurford/events{/privacy}","received_events_url":"https://api.github.com/users/peterhurford/received_events","type":"User","site_admin":false},"repo":{"id":46227535,"name":"rocco","full_name":"peterhurford/rocco","owner":{"login":"peterhurford","id":5100840,"avatar_url":"https://avatars.githubusercontent.com/u/5100840?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhurford","html_url":"https://github.com/peterhurford","followers_url":"https://api.github.com/users/peterhurford/followers","following_url":"https://api.github.com/users/peterhurford/following{/other_user}","gists_url":"https://api.github.com/users/peterhurford/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhurford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhurford/subscriptions","organizations_url":"https://api.github.com/users/peterhurford/orgs","repos_url":"https://api.github.com/users/peterhurford/repos","events_url":"https://api.github.com/users/peterhurford/events{/privacy}","received_events_url":"https://api.github.com/users/peterhurford/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterhurford/rocco","description":"Literate documentation for R packages in the spirit of Coffeescript's docco","fork":true,"url":"https://api.github.com/repos/peterhurford/rocco","forks_url":"https://api.github.com/repos/peterhurford/rocco/forks","keys_url":"https://api.github.com/repos/peterhurford/rocco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterhurford/rocco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterhurford/rocco/teams","hooks_url":"https://api.github.com/repos/peterhurford/rocco/hooks","issue_events_url":"https://api.github.com/repos/peterhurford/rocco/issues/events{/number}","events_url":"https://api.github.com/repos/peterhurford/rocco/events","assignees_url":"https://api.github.com/repos/peterhurford/rocco/assignees{/user}","branches_url":"https://api.github.com/repos/peterhurford/rocco/branches{/branch}","tags_url":"https://api.github.com/repos/peterhurford/rocco/tags","blobs_url":"https://api.github.com/repos/peterhurford/rocco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterhurford/rocco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterhurford/rocco/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterhurford/rocco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterhurford/rocco/statuses/{sha}","languages_url":"https://api.github.com/repos/peterhurford/rocco/languages","stargazers_url":"https://api.github.com/repos/peterhurford/rocco/stargazers","contributors_url":"https://api.github.com/repos/peterhurford/rocco/contributors","subscribers_url":"https://api.github.com/repos/peterhurford/rocco/subscribers","subscription_url":"https://api.github.com/repos/peterhurford/rocco/subscription","commits_url":"https://api.github.com/repos/peterhurford/rocco/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterhurford/rocco/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterhurford/rocco/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterhurford/rocco/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterhurford/rocco/contents/{+path}","compare_url":"https://api.github.com/repos/peterhurford/rocco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterhurford/rocco/merges","archive_url":"https://api.github.com/repos/peterhurford/rocco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterhurford/rocco/downloads","issues_url":"https://api.github.com/repos/peterhurford/rocco/issues{/number}","pulls_url":"https://api.github.com/repos/peterhurford/rocco/pulls{/number}","milestones_url":"https://api.github.com/repos/peterhurford/rocco/milestones{/number}","notifications_url":"https://api.github.com/repos/peterhurford/rocco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterhurford/rocco/labels{/name}","releases_url":"https://api.github.com/repos/peterhurford/rocco/releases{/id}","created_at":"2015-11-15T17:18:26Z","updated_at":"2015-11-15T17:18:27Z","pushed_at":"2015-11-15T18:59:57Z","git_url":"git://github.com/peterhurford/rocco.git","ssh_url":"git@github.com:peterhurford/rocco.git","clone_url":"https://github.com/peterhurford/rocco.git","svn_url":"https://github.com/peterhurford/rocco","homepage":null,"size":379,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"robertzk:master","ref":"master","sha":"af389acee7aa6958cd9eea7e791705416b892a88","user":{"login":"robertzk","id":1638492,"avatar_url":"https://avatars.githubusercontent.com/u/1638492?v=3","gravatar_id":"","url":"https://api.github.com/users/robertzk","html_url":"https://github.com/robertzk","followers_url":"https://api.github.com/users/robertzk/followers","following_url":"https://api.github.com/users/robertzk/following{/other_user}","gists_url":"https://api.github.com/users/robertzk/gists{/gist_id}","starred_url":"https://api.github.com/users/robertzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertzk/subscriptions","organizations_url":"https://api.github.com/users/robertzk/orgs","repos_url":"https://api.github.com/users/robertzk/repos","events_url":"https://api.github.com/users/robertzk/events{/privacy}","received_events_url":"https://api.github.com/users/robertzk/received_events","type":"User","site_admin":false},"repo":{"id":33039832,"name":"rocco","full_name":"robertzk/rocco","owner":{"login":"robertzk","id":1638492,"avatar_url":"https://avatars.githubusercontent.com/u/1638492?v=3","gravatar_id":"","url":"https://api.github.com/users/robertzk","html_url":"https://github.com/robertzk","followers_url":"https://api.github.com/users/robertzk/followers","following_url":"https://api.github.com/users/robertzk/following{/other_user}","gists_url":"https://api.github.com/users/robertzk/gists{/gist_id}","starred_url":"https://api.github.com/users/robertzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertzk/subscriptions","organizations_url":"https://api.github.com/users/robertzk/orgs","repos_url":"https://api.github.com/users/robertzk/repos","events_url":"https://api.github.com/users/robertzk/events{/privacy}","received_events_url":"https://api.github.com/users/robertzk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robertzk/rocco","description":"Literate documentation for R packages in the spirit of Coffeescript's docco","fork":false,"url":"https://api.github.com/repos/robertzk/rocco","forks_url":"https://api.github.com/repos/robertzk/rocco/forks","keys_url":"https://api.github.com/repos/robertzk/rocco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robertzk/rocco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robertzk/rocco/teams","hooks_url":"https://api.github.com/repos/robertzk/rocco/hooks","issue_events_url":"https://api.github.com/repos/robertzk/rocco/issues/events{/number}","events_url":"https://api.github.com/repos/robertzk/rocco/events","assignees_url":"https://api.github.com/repos/robertzk/rocco/assignees{/user}","branches_url":"https://api.github.com/repos/robertzk/rocco/branches{/branch}","tags_url":"https://api.github.com/repos/robertzk/rocco/tags","blobs_url":"https://api.github.com/repos/robertzk/rocco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robertzk/rocco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robertzk/rocco/git/refs{/sha}","trees_url":"https://api.github.com/repos/robertzk/rocco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robertzk/rocco/statuses/{sha}","languages_url":"https://api.github.com/repos/robertzk/rocco/languages","stargazers_url":"https://api.github.com/repos/robertzk/rocco/stargazers","contributors_url":"https://api.github.com/repos/robertzk/rocco/contributors","subscribers_url":"https://api.github.com/repos/robertzk/rocco/subscribers","subscription_url":"https://api.github.com/repos/robertzk/rocco/subscription","commits_url":"https://api.github.com/repos/robertzk/rocco/commits{/sha}","git_commits_url":"https://api.github.com/repos/robertzk/rocco/git/commits{/sha}","comments_url":"https://api.github.com/repos/robertzk/rocco/comments{/number}","issue_comment_url":"https://api.github.com/repos/robertzk/rocco/issues/comments{/number}","contents_url":"https://api.github.com/repos/robertzk/rocco/contents/{+path}","compare_url":"https://api.github.com/repos/robertzk/rocco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robertzk/rocco/merges","archive_url":"https://api.github.com/repos/robertzk/rocco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robertzk/rocco/downloads","issues_url":"https://api.github.com/repos/robertzk/rocco/issues{/number}","pulls_url":"https://api.github.com/repos/robertzk/rocco/pulls{/number}","milestones_url":"https://api.github.com/repos/robertzk/rocco/milestones{/number}","notifications_url":"https://api.github.com/repos/robertzk/rocco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robertzk/rocco/labels{/name}","releases_url":"https://api.github.com/repos/robertzk/rocco/releases{/id}","created_at":"2015-03-28T16:05:48Z","updated_at":"2015-05-08T02:05:59Z","pushed_at":"2015-11-15T18:59:58Z","git_url":"git://github.com/robertzk/rocco.git","ssh_url":"git@github.com:robertzk/rocco.git","clone_url":"https://github.com/robertzk/rocco.git","svn_url":"https://github.com/robertzk/rocco","homepage":null,"size":379,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robertzk/rocco/pulls/10"},"html":{"href":"https://github.com/robertzk/rocco/pull/10"},"issue":{"href":"https://api.github.com/repos/robertzk/rocco/issues/10"},"comments":{"href":"https://api.github.com/repos/robertzk/rocco/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/robertzk/rocco/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/robertzk/rocco/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robertzk/rocco/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/robertzk/rocco/statuses/8d6833c10479ddf72092c3a8d4a130467e60db70"}}}}