{"action":"created","comment":{"url":"https://api.github.com/repos/hadley/devtools/pulls/comments/50417606","id":50417606,"diff_hunk":"@@ -17,17 +17,30 @@ source_pkg <- function(path, subdir = NULL, before_install = NULL) {\n     stop(\"Does not appear to be an R package (no DESCRIPTION)\", call. = FALSE)\n   }\n \n+  list(pkg_path = pkg_path, bundle = bundle)\n+}\n+\n+is_source_pkg <- function(path, subdir = NULL) {\n+  tryCatch({\n+    source_pkg_info(path = path, subdir = subdir)\n+    TRUE\n+  }, error = function(e) return(FALSE))","path":"R/decompress.r","position":18,"original_position":18,"commit_id":"9669fc5961702fb657f344c8c1d057f48e21401d","original_commit_id":"9669fc5961702fb657f344c8c1d057f48e21401d","user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"body":"Don't need explicit return here, but it's not a blocker.","created_at":"2016-01-21T15:47:03Z","updated_at":"2016-01-21T15:47:03Z","html_url":"https://github.com/hadley/devtools/pull/930#discussion_r50417606","pull_request_url":"https://api.github.com/repos/hadley/devtools/pulls/930","_links":{"self":{"href":"https://api.github.com/repos/hadley/devtools/pulls/comments/50417606"},"html":{"href":"https://github.com/hadley/devtools/pull/930#discussion_r50417606"},"pull_request":{"href":"https://api.github.com/repos/hadley/devtools/pulls/930"}}},"pull_request":{"url":"https://api.github.com/repos/hadley/devtools/pulls/930","id":45179045,"html_url":"https://github.com/hadley/devtools/pull/930","diff_url":"https://github.com/hadley/devtools/pull/930.diff","patch_url":"https://github.com/hadley/devtools/pull/930.patch","issue_url":"https://api.github.com/repos/hadley/devtools/issues/930","number":930,"state":"open","locked":false,"title":"revdep_check verifies integrity of already downloaded package files","user":{"login":"krlmlr","id":1741643,"avatar_url":"https://avatars.githubusercontent.com/u/1741643?v=3","gravatar_id":"","url":"https://api.github.com/users/krlmlr","html_url":"https://github.com/krlmlr","followers_url":"https://api.github.com/users/krlmlr/followers","following_url":"https://api.github.com/users/krlmlr/following{/other_user}","gists_url":"https://api.github.com/users/krlmlr/gists{/gist_id}","starred_url":"https://api.github.com/users/krlmlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krlmlr/subscriptions","organizations_url":"https://api.github.com/users/krlmlr/orgs","repos_url":"https://api.github.com/users/krlmlr/repos","events_url":"https://api.github.com/users/krlmlr/events{/privacy}","received_events_url":"https://api.github.com/users/krlmlr/received_events","type":"User","site_admin":false},"body":"to avoid surprises","created_at":"2015-09-16T14:34:01Z","updated_at":"2016-01-21T15:47:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9c71ff7d239fbd0af91c821defb04bfe79acf08","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hadley/devtools/pulls/930/commits","review_comments_url":"https://api.github.com/repos/hadley/devtools/pulls/930/comments","review_comment_url":"https://api.github.com/repos/hadley/devtools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hadley/devtools/issues/930/comments","statuses_url":"https://api.github.com/repos/hadley/devtools/statuses/9669fc5961702fb657f344c8c1d057f48e21401d","head":{"label":"krlmlr:revdep-check-corrupted-tar-gz","ref":"revdep-check-corrupted-tar-gz","sha":"9669fc5961702fb657f344c8c1d057f48e21401d","user":{"login":"krlmlr","id":1741643,"avatar_url":"https://avatars.githubusercontent.com/u/1741643?v=3","gravatar_id":"","url":"https://api.github.com/users/krlmlr","html_url":"https://github.com/krlmlr","followers_url":"https://api.github.com/users/krlmlr/followers","following_url":"https://api.github.com/users/krlmlr/following{/other_user}","gists_url":"https://api.github.com/users/krlmlr/gists{/gist_id}","starred_url":"https://api.github.com/users/krlmlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krlmlr/subscriptions","organizations_url":"https://api.github.com/users/krlmlr/orgs","repos_url":"https://api.github.com/users/krlmlr/repos","events_url":"https://api.github.com/users/krlmlr/events{/privacy}","received_events_url":"https://api.github.com/users/krlmlr/received_events","type":"User","site_admin":false},"repo":{"id":11209255,"name":"devtools","full_name":"krlmlr/devtools","owner":{"login":"krlmlr","id":1741643,"avatar_url":"https://avatars.githubusercontent.com/u/1741643?v=3","gravatar_id":"","url":"https://api.github.com/users/krlmlr","html_url":"https://github.com/krlmlr","followers_url":"https://api.github.com/users/krlmlr/followers","following_url":"https://api.github.com/users/krlmlr/following{/other_user}","gists_url":"https://api.github.com/users/krlmlr/gists{/gist_id}","starred_url":"https://api.github.com/users/krlmlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krlmlr/subscriptions","organizations_url":"https://api.github.com/users/krlmlr/orgs","repos_url":"https://api.github.com/users/krlmlr/repos","events_url":"https://api.github.com/users/krlmlr/events{/privacy}","received_events_url":"https://api.github.com/users/krlmlr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/krlmlr/devtools","description":"Tools to make an R developer's life easier","fork":true,"url":"https://api.github.com/repos/krlmlr/devtools","forks_url":"https://api.github.com/repos/krlmlr/devtools/forks","keys_url":"https://api.github.com/repos/krlmlr/devtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krlmlr/devtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krlmlr/devtools/teams","hooks_url":"https://api.github.com/repos/krlmlr/devtools/hooks","issue_events_url":"https://api.github.com/repos/krlmlr/devtools/issues/events{/number}","events_url":"https://api.github.com/repos/krlmlr/devtools/events","assignees_url":"https://api.github.com/repos/krlmlr/devtools/assignees{/user}","branches_url":"https://api.github.com/repos/krlmlr/devtools/branches{/branch}","tags_url":"https://api.github.com/repos/krlmlr/devtools/tags","blobs_url":"https://api.github.com/repos/krlmlr/devtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krlmlr/devtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krlmlr/devtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/krlmlr/devtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krlmlr/devtools/statuses/{sha}","languages_url":"https://api.github.com/repos/krlmlr/devtools/languages","stargazers_url":"https://api.github.com/repos/krlmlr/devtools/stargazers","contributors_url":"https://api.github.com/repos/krlmlr/devtools/contributors","subscribers_url":"https://api.github.com/repos/krlmlr/devtools/subscribers","subscription_url":"https://api.github.com/repos/krlmlr/devtools/subscription","commits_url":"https://api.github.com/repos/krlmlr/devtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/krlmlr/devtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/krlmlr/devtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/krlmlr/devtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/krlmlr/devtools/contents/{+path}","compare_url":"https://api.github.com/repos/krlmlr/devtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krlmlr/devtools/merges","archive_url":"https://api.github.com/repos/krlmlr/devtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krlmlr/devtools/downloads","issues_url":"https://api.github.com/repos/krlmlr/devtools/issues{/number}","pulls_url":"https://api.github.com/repos/krlmlr/devtools/pulls{/number}","milestones_url":"https://api.github.com/repos/krlmlr/devtools/milestones{/number}","notifications_url":"https://api.github.com/repos/krlmlr/devtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krlmlr/devtools/labels{/name}","releases_url":"https://api.github.com/repos/krlmlr/devtools/releases{/id}","created_at":"2013-07-05T22:04:31Z","updated_at":"2015-05-05T04:38:58Z","pushed_at":"2016-01-21T07:46:31Z","git_url":"git://github.com/krlmlr/devtools.git","ssh_url":"git@github.com:krlmlr/devtools.git","clone_url":"https://github.com/krlmlr/devtools.git","svn_url":"https://github.com/krlmlr/devtools","homepage":"","size":3667,"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":"hadley:master","ref":"master","sha":"ea87f93cfd98ed1d23d08978a4993877b9635538","user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"repo":{"id":643909,"name":"devtools","full_name":"hadley/devtools","owner":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hadley/devtools","description":"Tools to make an R developer's life easier","fork":false,"url":"https://api.github.com/repos/hadley/devtools","forks_url":"https://api.github.com/repos/hadley/devtools/forks","keys_url":"https://api.github.com/repos/hadley/devtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hadley/devtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hadley/devtools/teams","hooks_url":"https://api.github.com/repos/hadley/devtools/hooks","issue_events_url":"https://api.github.com/repos/hadley/devtools/issues/events{/number}","events_url":"https://api.github.com/repos/hadley/devtools/events","assignees_url":"https://api.github.com/repos/hadley/devtools/assignees{/user}","branches_url":"https://api.github.com/repos/hadley/devtools/branches{/branch}","tags_url":"https://api.github.com/repos/hadley/devtools/tags","blobs_url":"https://api.github.com/repos/hadley/devtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hadley/devtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hadley/devtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/hadley/devtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hadley/devtools/statuses/{sha}","languages_url":"https://api.github.com/repos/hadley/devtools/languages","stargazers_url":"https://api.github.com/repos/hadley/devtools/stargazers","contributors_url":"https://api.github.com/repos/hadley/devtools/contributors","subscribers_url":"https://api.github.com/repos/hadley/devtools/subscribers","subscription_url":"https://api.github.com/repos/hadley/devtools/subscription","commits_url":"https://api.github.com/repos/hadley/devtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/hadley/devtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/hadley/devtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/hadley/devtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/hadley/devtools/contents/{+path}","compare_url":"https://api.github.com/repos/hadley/devtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hadley/devtools/merges","archive_url":"https://api.github.com/repos/hadley/devtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hadley/devtools/downloads","issues_url":"https://api.github.com/repos/hadley/devtools/issues{/number}","pulls_url":"https://api.github.com/repos/hadley/devtools/pulls{/number}","milestones_url":"https://api.github.com/repos/hadley/devtools/milestones{/number}","notifications_url":"https://api.github.com/repos/hadley/devtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hadley/devtools/labels{/name}","releases_url":"https://api.github.com/repos/hadley/devtools/releases{/id}","created_at":"2010-05-03T04:08:49Z","updated_at":"2016-01-20T19:02:00Z","pushed_at":"2016-01-21T15:46:35Z","git_url":"git://github.com/hadley/devtools.git","ssh_url":"git@github.com:hadley/devtools.git","clone_url":"https://github.com/hadley/devtools.git","svn_url":"https://github.com/hadley/devtools","homepage":"","size":4242,"stargazers_count":1165,"watchers_count":1165,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":366,"mirror_url":null,"open_issues_count":27,"forks":366,"open_issues":27,"watchers":1165,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hadley/devtools/pulls/930"},"html":{"href":"https://github.com/hadley/devtools/pull/930"},"issue":{"href":"https://api.github.com/repos/hadley/devtools/issues/930"},"comments":{"href":"https://api.github.com/repos/hadley/devtools/issues/930/comments"},"review_comments":{"href":"https://api.github.com/repos/hadley/devtools/pulls/930/comments"},"review_comment":{"href":"https://api.github.com/repos/hadley/devtools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hadley/devtools/pulls/930/commits"},"statuses":{"href":"https://api.github.com/repos/hadley/devtools/statuses/9669fc5961702fb657f344c8c1d057f48e21401d"}}}}