{"action":"opened","number":1090,"pull_request":{"url":"https://api.github.com/repos/PecanProject/pecan/pulls/1090","id":89546947,"html_url":"https://github.com/PecanProject/pecan/pull/1090","diff_url":"https://github.com/PecanProject/pecan/pull/1090.diff","patch_url":"https://github.com/PecanProject/pecan/pull/1090.patch","issue_url":"https://api.github.com/repos/PecanProject/pecan/issues/1090","number":1090,"state":"open","locked":false,"title":"Style cleanup for `utils/R/*.R` scripts ","user":{"login":"bpbond","id":1956468,"avatar_url":"https://avatars.githubusercontent.com/u/1956468?v=3","gravatar_id":"","url":"https://api.github.com/users/bpbond","html_url":"https://github.com/bpbond","followers_url":"https://api.github.com/users/bpbond/followers","following_url":"https://api.github.com/users/bpbond/following{/other_user}","gists_url":"https://api.github.com/users/bpbond/gists{/gist_id}","starred_url":"https://api.github.com/users/bpbond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpbond/subscriptions","organizations_url":"https://api.github.com/users/bpbond/orgs","repos_url":"https://api.github.com/users/bpbond/repos","events_url":"https://api.github.com/users/bpbond/events{/privacy}","received_events_url":"https://api.github.com/users/bpbond/received_events","type":"User","site_admin":false},"body":"Ran through formatR::tidy_dir with arrow=TRUE and indent=2; made sure all if blocks have braces. Tried to make sure formatR didn’t make things too jaggy. Substituted `seq_len`, `seq_along`, and `paste0`, and `file.path` as necessary. Made sure all functions end with an explicit `return`.\r\n\r\n**Non-style notes:**\r\n* `convert.input`: changed GMT to UTC; added if-block failure case\r\n* `sendmail`: note new line 32 (`sendmail <- Sys.which(\"sendmail\")`) -\r\nOK?\r\n* `bugs.rdist`: added if-block failure\r\n* added if-block failure to `misc.convert`","created_at":"2016-10-17T00:36:31Z","updated_at":"2016-10-17T00:36:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PecanProject/pecan/pulls/1090/commits","review_comments_url":"https://api.github.com/repos/PecanProject/pecan/pulls/1090/comments","review_comment_url":"https://api.github.com/repos/PecanProject/pecan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PecanProject/pecan/issues/1090/comments","statuses_url":"https://api.github.com/repos/PecanProject/pecan/statuses/36e333f7317dd264ac933d61d13cd50551106833","head":{"label":"bpbond:style-cleanup-utils","ref":"style-cleanup-utils","sha":"36e333f7317dd264ac933d61d13cd50551106833","user":{"login":"bpbond","id":1956468,"avatar_url":"https://avatars.githubusercontent.com/u/1956468?v=3","gravatar_id":"","url":"https://api.github.com/users/bpbond","html_url":"https://github.com/bpbond","followers_url":"https://api.github.com/users/bpbond/followers","following_url":"https://api.github.com/users/bpbond/following{/other_user}","gists_url":"https://api.github.com/users/bpbond/gists{/gist_id}","starred_url":"https://api.github.com/users/bpbond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpbond/subscriptions","organizations_url":"https://api.github.com/users/bpbond/orgs","repos_url":"https://api.github.com/users/bpbond/repos","events_url":"https://api.github.com/users/bpbond/events{/privacy}","received_events_url":"https://api.github.com/users/bpbond/received_events","type":"User","site_admin":false},"repo":{"id":70360084,"name":"pecan","full_name":"bpbond/pecan","owner":{"login":"bpbond","id":1956468,"avatar_url":"https://avatars.githubusercontent.com/u/1956468?v=3","gravatar_id":"","url":"https://api.github.com/users/bpbond","html_url":"https://github.com/bpbond","followers_url":"https://api.github.com/users/bpbond/followers","following_url":"https://api.github.com/users/bpbond/following{/other_user}","gists_url":"https://api.github.com/users/bpbond/gists{/gist_id}","starred_url":"https://api.github.com/users/bpbond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpbond/subscriptions","organizations_url":"https://api.github.com/users/bpbond/orgs","repos_url":"https://api.github.com/users/bpbond/repos","events_url":"https://api.github.com/users/bpbond/events{/privacy}","received_events_url":"https://api.github.com/users/bpbond/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bpbond/pecan","description":"The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.","fork":true,"url":"https://api.github.com/repos/bpbond/pecan","forks_url":"https://api.github.com/repos/bpbond/pecan/forks","keys_url":"https://api.github.com/repos/bpbond/pecan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bpbond/pecan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bpbond/pecan/teams","hooks_url":"https://api.github.com/repos/bpbond/pecan/hooks","issue_events_url":"https://api.github.com/repos/bpbond/pecan/issues/events{/number}","events_url":"https://api.github.com/repos/bpbond/pecan/events","assignees_url":"https://api.github.com/repos/bpbond/pecan/assignees{/user}","branches_url":"https://api.github.com/repos/bpbond/pecan/branches{/branch}","tags_url":"https://api.github.com/repos/bpbond/pecan/tags","blobs_url":"https://api.github.com/repos/bpbond/pecan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bpbond/pecan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bpbond/pecan/git/refs{/sha}","trees_url":"https://api.github.com/repos/bpbond/pecan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bpbond/pecan/statuses/{sha}","languages_url":"https://api.github.com/repos/bpbond/pecan/languages","stargazers_url":"https://api.github.com/repos/bpbond/pecan/stargazers","contributors_url":"https://api.github.com/repos/bpbond/pecan/contributors","subscribers_url":"https://api.github.com/repos/bpbond/pecan/subscribers","subscription_url":"https://api.github.com/repos/bpbond/pecan/subscription","commits_url":"https://api.github.com/repos/bpbond/pecan/commits{/sha}","git_commits_url":"https://api.github.com/repos/bpbond/pecan/git/commits{/sha}","comments_url":"https://api.github.com/repos/bpbond/pecan/comments{/number}","issue_comment_url":"https://api.github.com/repos/bpbond/pecan/issues/comments{/number}","contents_url":"https://api.github.com/repos/bpbond/pecan/contents/{+path}","compare_url":"https://api.github.com/repos/bpbond/pecan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bpbond/pecan/merges","archive_url":"https://api.github.com/repos/bpbond/pecan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bpbond/pecan/downloads","issues_url":"https://api.github.com/repos/bpbond/pecan/issues{/number}","pulls_url":"https://api.github.com/repos/bpbond/pecan/pulls{/number}","milestones_url":"https://api.github.com/repos/bpbond/pecan/milestones{/number}","notifications_url":"https://api.github.com/repos/bpbond/pecan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bpbond/pecan/labels{/name}","releases_url":"https://api.github.com/repos/bpbond/pecan/releases{/id}","deployments_url":"https://api.github.com/repos/bpbond/pecan/deployments","created_at":"2016-10-08T22:10:19Z","updated_at":"2016-10-08T22:10:24Z","pushed_at":"2016-10-17T00:35:40Z","git_url":"git://github.com/bpbond/pecan.git","ssh_url":"git@github.com:bpbond/pecan.git","clone_url":"https://github.com/bpbond/pecan.git","svn_url":"https://github.com/bpbond/pecan","homepage":"www.pecanproject.org","size":123306,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"PecanProject:master","ref":"master","sha":"d0675bd4e090e327f0ee7898f80f4defc6f98767","user":{"login":"PecanProject","id":2879854,"avatar_url":"https://avatars.githubusercontent.com/u/2879854?v=3","gravatar_id":"","url":"https://api.github.com/users/PecanProject","html_url":"https://github.com/PecanProject","followers_url":"https://api.github.com/users/PecanProject/followers","following_url":"https://api.github.com/users/PecanProject/following{/other_user}","gists_url":"https://api.github.com/users/PecanProject/gists{/gist_id}","starred_url":"https://api.github.com/users/PecanProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PecanProject/subscriptions","organizations_url":"https://api.github.com/users/PecanProject/orgs","repos_url":"https://api.github.com/users/PecanProject/repos","events_url":"https://api.github.com/users/PecanProject/events{/privacy}","received_events_url":"https://api.github.com/users/PecanProject/received_events","type":"Organization","site_admin":false},"repo":{"id":6857384,"name":"pecan","full_name":"PecanProject/pecan","owner":{"login":"PecanProject","id":2879854,"avatar_url":"https://avatars.githubusercontent.com/u/2879854?v=3","gravatar_id":"","url":"https://api.github.com/users/PecanProject","html_url":"https://github.com/PecanProject","followers_url":"https://api.github.com/users/PecanProject/followers","following_url":"https://api.github.com/users/PecanProject/following{/other_user}","gists_url":"https://api.github.com/users/PecanProject/gists{/gist_id}","starred_url":"https://api.github.com/users/PecanProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PecanProject/subscriptions","organizations_url":"https://api.github.com/users/PecanProject/orgs","repos_url":"https://api.github.com/users/PecanProject/repos","events_url":"https://api.github.com/users/PecanProject/events{/privacy}","received_events_url":"https://api.github.com/users/PecanProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PecanProject/pecan","description":"The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.","fork":false,"url":"https://api.github.com/repos/PecanProject/pecan","forks_url":"https://api.github.com/repos/PecanProject/pecan/forks","keys_url":"https://api.github.com/repos/PecanProject/pecan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PecanProject/pecan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PecanProject/pecan/teams","hooks_url":"https://api.github.com/repos/PecanProject/pecan/hooks","issue_events_url":"https://api.github.com/repos/PecanProject/pecan/issues/events{/number}","events_url":"https://api.github.com/repos/PecanProject/pecan/events","assignees_url":"https://api.github.com/repos/PecanProject/pecan/assignees{/user}","branches_url":"https://api.github.com/repos/PecanProject/pecan/branches{/branch}","tags_url":"https://api.github.com/repos/PecanProject/pecan/tags","blobs_url":"https://api.github.com/repos/PecanProject/pecan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PecanProject/pecan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PecanProject/pecan/git/refs{/sha}","trees_url":"https://api.github.com/repos/PecanProject/pecan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PecanProject/pecan/statuses/{sha}","languages_url":"https://api.github.com/repos/PecanProject/pecan/languages","stargazers_url":"https://api.github.com/repos/PecanProject/pecan/stargazers","contributors_url":"https://api.github.com/repos/PecanProject/pecan/contributors","subscribers_url":"https://api.github.com/repos/PecanProject/pecan/subscribers","subscription_url":"https://api.github.com/repos/PecanProject/pecan/subscription","commits_url":"https://api.github.com/repos/PecanProject/pecan/commits{/sha}","git_commits_url":"https://api.github.com/repos/PecanProject/pecan/git/commits{/sha}","comments_url":"https://api.github.com/repos/PecanProject/pecan/comments{/number}","issue_comment_url":"https://api.github.com/repos/PecanProject/pecan/issues/comments{/number}","contents_url":"https://api.github.com/repos/PecanProject/pecan/contents/{+path}","compare_url":"https://api.github.com/repos/PecanProject/pecan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PecanProject/pecan/merges","archive_url":"https://api.github.com/repos/PecanProject/pecan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PecanProject/pecan/downloads","issues_url":"https://api.github.com/repos/PecanProject/pecan/issues{/number}","pulls_url":"https://api.github.com/repos/PecanProject/pecan/pulls{/number}","milestones_url":"https://api.github.com/repos/PecanProject/pecan/milestones{/number}","notifications_url":"https://api.github.com/repos/PecanProject/pecan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PecanProject/pecan/labels{/name}","releases_url":"https://api.github.com/repos/PecanProject/pecan/releases{/id}","deployments_url":"https://api.github.com/repos/PecanProject/pecan/deployments","created_at":"2012-11-25T23:48:26Z","updated_at":"2016-09-29T15:14:45Z","pushed_at":"2016-10-16T23:44:04Z","git_url":"git://github.com/PecanProject/pecan.git","ssh_url":"git@github.com:PecanProject/pecan.git","clone_url":"https://github.com/PecanProject/pecan.git","svn_url":"https://github.com/PecanProject/pecan","homepage":"www.pecanproject.org","size":349022,"stargazers_count":48,"watchers_count":48,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":83,"mirror_url":null,"open_issues_count":219,"forks":83,"open_issues":219,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PecanProject/pecan/pulls/1090"},"html":{"href":"https://github.com/PecanProject/pecan/pull/1090"},"issue":{"href":"https://api.github.com/repos/PecanProject/pecan/issues/1090"},"comments":{"href":"https://api.github.com/repos/PecanProject/pecan/issues/1090/comments"},"review_comments":{"href":"https://api.github.com/repos/PecanProject/pecan/pulls/1090/comments"},"review_comment":{"href":"https://api.github.com/repos/PecanProject/pecan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PecanProject/pecan/pulls/1090/commits"},"statuses":{"href":"https://api.github.com/repos/PecanProject/pecan/statuses/36e333f7317dd264ac933d61d13cd50551106833"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":1790,"deletions":1691,"changed_files":30}}
{"actor":{"display_login":"bpbond"}}