{"action":"created","comment":{"url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/comments/35388140","id":35388140,"diff_hunk":"@@ -129,7 +131,7 @@ caretEnsemble <- function(all.models, optFUN=NULL, ...){\n #' }\n predict.caretEnsemble <- function(object, keepNA = TRUE, se = FALSE, return_weights = FALSE, ...){\n   stopifnot(is(object$models, \"caretList\"))\n-\n+  devtools::use_package('foreach')","path":"R/caretEnsemble.R","position":14,"original_position":14,"commit_id":"7283040a7b611842a100bb95ff64e67f59050ec4","original_commit_id":"7283040a7b611842a100bb95ff64e67f59050ec4","user":{"login":"zachmayer","id":581590,"avatar_url":"https://avatars.githubusercontent.com/u/581590?v=3","gravatar_id":"","url":"https://api.github.com/users/zachmayer","html_url":"https://github.com/zachmayer","followers_url":"https://api.github.com/users/zachmayer/followers","following_url":"https://api.github.com/users/zachmayer/following{/other_user}","gists_url":"https://api.github.com/users/zachmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmayer/subscriptions","organizations_url":"https://api.github.com/users/zachmayer/orgs","repos_url":"https://api.github.com/users/zachmayer/repos","events_url":"https://api.github.com/users/zachmayer/events{/privacy}","received_events_url":"https://api.github.com/users/zachmayer/received_events","type":"User","site_admin":false},"body":"remove this line","created_at":"2015-07-24T01:02:52Z","updated_at":"2015-07-24T01:02:52Z","html_url":"https://github.com/zachmayer/caretEnsemble/pull/153#discussion_r35388140","pull_request_url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/153","_links":{"self":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/comments/35388140"},"html":{"href":"https://github.com/zachmayer/caretEnsemble/pull/153#discussion_r35388140"},"pull_request":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/153"}}},"pull_request":{"url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/153","id":40713658,"html_url":"https://github.com/zachmayer/caretEnsemble/pull/153","diff_url":"https://github.com/zachmayer/caretEnsemble/pull/153.diff","patch_url":"https://github.com/zachmayer/caretEnsemble/pull/153.patch","issue_url":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/153","number":153,"state":"open","locked":false,"title":"added foreach to predict.caretEnsemble","user":{"login":"terrytangyuan","id":4269898,"avatar_url":"https://avatars.githubusercontent.com/u/4269898?v=3","gravatar_id":"","url":"https://api.github.com/users/terrytangyuan","html_url":"https://github.com/terrytangyuan","followers_url":"https://api.github.com/users/terrytangyuan/followers","following_url":"https://api.github.com/users/terrytangyuan/following{/other_user}","gists_url":"https://api.github.com/users/terrytangyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/terrytangyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrytangyuan/subscriptions","organizations_url":"https://api.github.com/users/terrytangyuan/orgs","repos_url":"https://api.github.com/users/terrytangyuan/repos","events_url":"https://api.github.com/users/terrytangyuan/events{/privacy}","received_events_url":"https://api.github.com/users/terrytangyuan/received_events","type":"User","site_admin":false},"body":"I've done some tests but feel free to do more. If this is ok, we can apply `foreach` in other potential places too. ","created_at":"2015-07-23T20:19:06Z","updated_at":"2015-07-24T01:02:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c21c7fbeaebb697e6581a2b1856d85797f578ff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/153/commits","review_comments_url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/153/comments","review_comment_url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/153/comments","statuses_url":"https://api.github.com/repos/zachmayer/caretEnsemble/statuses/7283040a7b611842a100bb95ff64e67f59050ec4","head":{"label":"terrytangyuan:master","ref":"master","sha":"7283040a7b611842a100bb95ff64e67f59050ec4","user":{"login":"terrytangyuan","id":4269898,"avatar_url":"https://avatars.githubusercontent.com/u/4269898?v=3","gravatar_id":"","url":"https://api.github.com/users/terrytangyuan","html_url":"https://github.com/terrytangyuan","followers_url":"https://api.github.com/users/terrytangyuan/followers","following_url":"https://api.github.com/users/terrytangyuan/following{/other_user}","gists_url":"https://api.github.com/users/terrytangyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/terrytangyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrytangyuan/subscriptions","organizations_url":"https://api.github.com/users/terrytangyuan/orgs","repos_url":"https://api.github.com/users/terrytangyuan/repos","events_url":"https://api.github.com/users/terrytangyuan/events{/privacy}","received_events_url":"https://api.github.com/users/terrytangyuan/received_events","type":"User","site_admin":false},"repo":{"id":39590073,"name":"caretEnsemble","full_name":"terrytangyuan/caretEnsemble","owner":{"login":"terrytangyuan","id":4269898,"avatar_url":"https://avatars.githubusercontent.com/u/4269898?v=3","gravatar_id":"","url":"https://api.github.com/users/terrytangyuan","html_url":"https://github.com/terrytangyuan","followers_url":"https://api.github.com/users/terrytangyuan/followers","following_url":"https://api.github.com/users/terrytangyuan/following{/other_user}","gists_url":"https://api.github.com/users/terrytangyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/terrytangyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrytangyuan/subscriptions","organizations_url":"https://api.github.com/users/terrytangyuan/orgs","repos_url":"https://api.github.com/users/terrytangyuan/repos","events_url":"https://api.github.com/users/terrytangyuan/events{/privacy}","received_events_url":"https://api.github.com/users/terrytangyuan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/terrytangyuan/caretEnsemble","description":"caret models all the way down :turtle:","fork":true,"url":"https://api.github.com/repos/terrytangyuan/caretEnsemble","forks_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/forks","keys_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/teams","hooks_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/hooks","issue_events_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/issues/events{/number}","events_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/events","assignees_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/assignees{/user}","branches_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/branches{/branch}","tags_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/tags","blobs_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/git/refs{/sha}","trees_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/statuses/{sha}","languages_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/languages","stargazers_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/stargazers","contributors_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/contributors","subscribers_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/subscribers","subscription_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/subscription","commits_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/commits{/sha}","git_commits_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/git/commits{/sha}","comments_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/comments{/number}","issue_comment_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/issues/comments{/number}","contents_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/contents/{+path}","compare_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/merges","archive_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/downloads","issues_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/issues{/number}","pulls_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/pulls{/number}","milestones_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/milestones{/number}","notifications_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/labels{/name}","releases_url":"https://api.github.com/repos/terrytangyuan/caretEnsemble/releases{/id}","created_at":"2015-07-23T20:14:56Z","updated_at":"2015-07-23T20:14:57Z","pushed_at":"2015-07-23T23:16:09Z","git_url":"git://github.com/terrytangyuan/caretEnsemble.git","ssh_url":"git@github.com:terrytangyuan/caretEnsemble.git","clone_url":"https://github.com/terrytangyuan/caretEnsemble.git","svn_url":"https://github.com/terrytangyuan/caretEnsemble","homepage":"","size":20995,"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":"zachmayer:master","ref":"master","sha":"936dd5097fd906dd1759109aefaa092ab4279b0d","user":{"login":"zachmayer","id":581590,"avatar_url":"https://avatars.githubusercontent.com/u/581590?v=3","gravatar_id":"","url":"https://api.github.com/users/zachmayer","html_url":"https://github.com/zachmayer","followers_url":"https://api.github.com/users/zachmayer/followers","following_url":"https://api.github.com/users/zachmayer/following{/other_user}","gists_url":"https://api.github.com/users/zachmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmayer/subscriptions","organizations_url":"https://api.github.com/users/zachmayer/orgs","repos_url":"https://api.github.com/users/zachmayer/repos","events_url":"https://api.github.com/users/zachmayer/events{/privacy}","received_events_url":"https://api.github.com/users/zachmayer/received_events","type":"User","site_admin":false},"repo":{"id":8510365,"name":"caretEnsemble","full_name":"zachmayer/caretEnsemble","owner":{"login":"zachmayer","id":581590,"avatar_url":"https://avatars.githubusercontent.com/u/581590?v=3","gravatar_id":"","url":"https://api.github.com/users/zachmayer","html_url":"https://github.com/zachmayer","followers_url":"https://api.github.com/users/zachmayer/followers","following_url":"https://api.github.com/users/zachmayer/following{/other_user}","gists_url":"https://api.github.com/users/zachmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmayer/subscriptions","organizations_url":"https://api.github.com/users/zachmayer/orgs","repos_url":"https://api.github.com/users/zachmayer/repos","events_url":"https://api.github.com/users/zachmayer/events{/privacy}","received_events_url":"https://api.github.com/users/zachmayer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zachmayer/caretEnsemble","description":"caret models all the way down :turtle:","fork":false,"url":"https://api.github.com/repos/zachmayer/caretEnsemble","forks_url":"https://api.github.com/repos/zachmayer/caretEnsemble/forks","keys_url":"https://api.github.com/repos/zachmayer/caretEnsemble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zachmayer/caretEnsemble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zachmayer/caretEnsemble/teams","hooks_url":"https://api.github.com/repos/zachmayer/caretEnsemble/hooks","issue_events_url":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/events{/number}","events_url":"https://api.github.com/repos/zachmayer/caretEnsemble/events","assignees_url":"https://api.github.com/repos/zachmayer/caretEnsemble/assignees{/user}","branches_url":"https://api.github.com/repos/zachmayer/caretEnsemble/branches{/branch}","tags_url":"https://api.github.com/repos/zachmayer/caretEnsemble/tags","blobs_url":"https://api.github.com/repos/zachmayer/caretEnsemble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zachmayer/caretEnsemble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zachmayer/caretEnsemble/git/refs{/sha}","trees_url":"https://api.github.com/repos/zachmayer/caretEnsemble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zachmayer/caretEnsemble/statuses/{sha}","languages_url":"https://api.github.com/repos/zachmayer/caretEnsemble/languages","stargazers_url":"https://api.github.com/repos/zachmayer/caretEnsemble/stargazers","contributors_url":"https://api.github.com/repos/zachmayer/caretEnsemble/contributors","subscribers_url":"https://api.github.com/repos/zachmayer/caretEnsemble/subscribers","subscription_url":"https://api.github.com/repos/zachmayer/caretEnsemble/subscription","commits_url":"https://api.github.com/repos/zachmayer/caretEnsemble/commits{/sha}","git_commits_url":"https://api.github.com/repos/zachmayer/caretEnsemble/git/commits{/sha}","comments_url":"https://api.github.com/repos/zachmayer/caretEnsemble/comments{/number}","issue_comment_url":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/comments{/number}","contents_url":"https://api.github.com/repos/zachmayer/caretEnsemble/contents/{+path}","compare_url":"https://api.github.com/repos/zachmayer/caretEnsemble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zachmayer/caretEnsemble/merges","archive_url":"https://api.github.com/repos/zachmayer/caretEnsemble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zachmayer/caretEnsemble/downloads","issues_url":"https://api.github.com/repos/zachmayer/caretEnsemble/issues{/number}","pulls_url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls{/number}","milestones_url":"https://api.github.com/repos/zachmayer/caretEnsemble/milestones{/number}","notifications_url":"https://api.github.com/repos/zachmayer/caretEnsemble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zachmayer/caretEnsemble/labels{/name}","releases_url":"https://api.github.com/repos/zachmayer/caretEnsemble/releases{/id}","created_at":"2013-03-01T21:10:22Z","updated_at":"2015-07-18T14:42:39Z","pushed_at":"2015-07-23T23:16:09Z","git_url":"git://github.com/zachmayer/caretEnsemble.git","ssh_url":"git@github.com:zachmayer/caretEnsemble.git","clone_url":"https://github.com/zachmayer/caretEnsemble.git","svn_url":"https://github.com/zachmayer/caretEnsemble","homepage":"","size":21772,"stargazers_count":68,"watchers_count":68,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":41,"forks":28,"open_issues":41,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/153"},"html":{"href":"https://github.com/zachmayer/caretEnsemble/pull/153"},"issue":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/153"},"comments":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/statuses/7283040a7b611842a100bb95ff64e67f59050ec4"}}}}