{"action":"created","comment":{"url":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/comments/217264887","pull_request_review_id":154934293,"id":217264887,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzI2NDg4Nw==","diff_hunk":"@@ -172,6 +172,15 @@ test_that(\"prediction with glm family (binomial) and link (probit) with target c\n   test_data <- test_data %>% mutate(CARRIER = factor(CARRIER, ordered=TRUE)) # test handling of ordered factor\n \n   model_data <- build_lm.fast(test_data, `CANCELLED X`, `logical col`, `Carrier Name`, CARRIER, DISTANCE, predictor_n = 3, model_type = \"glm\", family = \"poisson\", link = \"log\")\n+  ret <- model_data %>% broom::glance(model)","path":"tests/testthat/test_build_lm.R","position":4,"original_position":4,"commit_id":"d2cddcc058e40ed6590f71b58c7ba1916d46e27a","original_commit_id":"d2cddcc058e40ed6590f71b58c7ba1916d46e27a","user":{"login":"hideaki","id":19518,"node_id":"MDQ6VXNlcjE5NTE4","avatar_url":"https://avatars1.githubusercontent.com/u/19518?v=4","gravatar_id":"","url":"https://api.github.com/users/hideaki","html_url":"https://github.com/hideaki","followers_url":"https://api.github.com/users/hideaki/followers","following_url":"https://api.github.com/users/hideaki/following{/other_user}","gists_url":"https://api.github.com/users/hideaki/gists{/gist_id}","starred_url":"https://api.github.com/users/hideaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideaki/subscriptions","organizations_url":"https://api.github.com/users/hideaki/orgs","repos_url":"https://api.github.com/users/hideaki/repos","events_url":"https://api.github.com/users/hideaki/events{/privacy}","received_events_url":"https://api.github.com/users/hideaki/received_events","type":"User","site_admin":false},"body":"For now it's just exercising code to make sure there is no error.","created_at":"2018-09-13T05:40:08Z","updated_at":"2018-09-13T05:40:08Z","html_url":"https://github.com/exploratory-io/exploratory_func/pull/484#discussion_r217264887","pull_request_url":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/484","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/comments/217264887"},"html":{"href":"https://github.com/exploratory-io/exploratory_func/pull/484#discussion_r217264887"},"pull_request":{"href":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/484"}},"in_reply_to_id":217259893},"pull_request":{"url":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/484","id":215163122,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MTYzMTIy","html_url":"https://github.com/exploratory-io/exploratory_func/pull/484","diff_url":"https://github.com/exploratory-io/exploratory_func/pull/484.diff","patch_url":"https://github.com/exploratory-io/exploratory_func/pull/484.patch","issue_url":"https://api.github.com/repos/exploratory-io/exploratory_func/issues/484","number":484,"state":"open","locked":false,"title":"Error from GLM data with NA #10082","user":{"login":"hideaki","id":19518,"node_id":"MDQ6VXNlcjE5NTE4","avatar_url":"https://avatars1.githubusercontent.com/u/19518?v=4","gravatar_id":"","url":"https://api.github.com/users/hideaki","html_url":"https://github.com/hideaki","followers_url":"https://api.github.com/users/hideaki/followers","following_url":"https://api.github.com/users/hideaki/following{/other_user}","gists_url":"https://api.github.com/users/hideaki/gists{/gist_id}","starred_url":"https://api.github.com/users/hideaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideaki/subscriptions","organizations_url":"https://api.github.com/users/hideaki/orgs","repos_url":"https://api.github.com/users/hideaki/repos","events_url":"https://api.github.com/users/hideaki/events{/privacy}","received_events_url":"https://api.github.com/users/hideaki/received_events","type":"User","site_admin":false},"body":"### Description\r\nFix for error from GLM data with NA #10082\r\n\r\n### Checklist\r\n\r\nMake sure you have performed following items before submitting this pull request.\r\nIf not, please describe the reason.  \r\n\r\n- [ ] Add test cases for this fix/enhancement\r\n- [ ] Pass devtools::check()\r\n- [ ] Pass devtools::test()\r\n- [ ] Test installing from github\r\n- [x] Tested with Exploratory\r\n","created_at":"2018-09-13T04:42:39Z","updated_at":"2018-09-13T05:40:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a07478b0569c1aedb09342f2761c908142bf577","assignee":{"login":"kei51e","id":68080,"node_id":"MDQ6VXNlcjY4MDgw","avatar_url":"https://avatars0.githubusercontent.com/u/68080?v=4","gravatar_id":"","url":"https://api.github.com/users/kei51e","html_url":"https://github.com/kei51e","followers_url":"https://api.github.com/users/kei51e/followers","following_url":"https://api.github.com/users/kei51e/following{/other_user}","gists_url":"https://api.github.com/users/kei51e/gists{/gist_id}","starred_url":"https://api.github.com/users/kei51e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kei51e/subscriptions","organizations_url":"https://api.github.com/users/kei51e/orgs","repos_url":"https://api.github.com/users/kei51e/repos","events_url":"https://api.github.com/users/kei51e/events{/privacy}","received_events_url":"https://api.github.com/users/kei51e/received_events","type":"User","site_admin":false},"assignees":[{"login":"kei51e","id":68080,"node_id":"MDQ6VXNlcjY4MDgw","avatar_url":"https://avatars0.githubusercontent.com/u/68080?v=4","gravatar_id":"","url":"https://api.github.com/users/kei51e","html_url":"https://github.com/kei51e","followers_url":"https://api.github.com/users/kei51e/followers","following_url":"https://api.github.com/users/kei51e/following{/other_user}","gists_url":"https://api.github.com/users/kei51e/gists{/gist_id}","starred_url":"https://api.github.com/users/kei51e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kei51e/subscriptions","organizations_url":"https://api.github.com/users/kei51e/orgs","repos_url":"https://api.github.com/users/kei51e/repos","events_url":"https://api.github.com/users/kei51e/events{/privacy}","received_events_url":"https://api.github.com/users/kei51e/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/484/commits","review_comments_url":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/484/comments","review_comment_url":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exploratory-io/exploratory_func/issues/484/comments","statuses_url":"https://api.github.com/repos/exploratory-io/exploratory_func/statuses/d2cddcc058e40ed6590f71b58c7ba1916d46e27a","head":{"label":"exploratory-io:hideaki_glm_fix","ref":"hideaki_glm_fix","sha":"d2cddcc058e40ed6590f71b58c7ba1916d46e27a","user":{"login":"exploratory-io","id":17174641,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTc0NjQx","avatar_url":"https://avatars1.githubusercontent.com/u/17174641?v=4","gravatar_id":"","url":"https://api.github.com/users/exploratory-io","html_url":"https://github.com/exploratory-io","followers_url":"https://api.github.com/users/exploratory-io/followers","following_url":"https://api.github.com/users/exploratory-io/following{/other_user}","gists_url":"https://api.github.com/users/exploratory-io/gists{/gist_id}","starred_url":"https://api.github.com/users/exploratory-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exploratory-io/subscriptions","organizations_url":"https://api.github.com/users/exploratory-io/orgs","repos_url":"https://api.github.com/users/exploratory-io/repos","events_url":"https://api.github.com/users/exploratory-io/events{/privacy}","received_events_url":"https://api.github.com/users/exploratory-io/received_events","type":"Organization","site_admin":false},"repo":{"id":58769613,"node_id":"MDEwOlJlcG9zaXRvcnk1ODc2OTYxMw==","name":"exploratory_func","full_name":"exploratory-io/exploratory_func","owner":{"login":"exploratory-io","id":17174641,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTc0NjQx","avatar_url":"https://avatars1.githubusercontent.com/u/17174641?v=4","gravatar_id":"","url":"https://api.github.com/users/exploratory-io","html_url":"https://github.com/exploratory-io","followers_url":"https://api.github.com/users/exploratory-io/followers","following_url":"https://api.github.com/users/exploratory-io/following{/other_user}","gists_url":"https://api.github.com/users/exploratory-io/gists{/gist_id}","starred_url":"https://api.github.com/users/exploratory-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exploratory-io/subscriptions","organizations_url":"https://api.github.com/users/exploratory-io/orgs","repos_url":"https://api.github.com/users/exploratory-io/repos","events_url":"https://api.github.com/users/exploratory-io/events{/privacy}","received_events_url":"https://api.github.com/users/exploratory-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exploratory-io/exploratory_func","description":"R functions for Exploratory","fork":false,"url":"https://api.github.com/repos/exploratory-io/exploratory_func","forks_url":"https://api.github.com/repos/exploratory-io/exploratory_func/forks","keys_url":"https://api.github.com/repos/exploratory-io/exploratory_func/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exploratory-io/exploratory_func/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exploratory-io/exploratory_func/teams","hooks_url":"https://api.github.com/repos/exploratory-io/exploratory_func/hooks","issue_events_url":"https://api.github.com/repos/exploratory-io/exploratory_func/issues/events{/number}","events_url":"https://api.github.com/repos/exploratory-io/exploratory_func/events","assignees_url":"https://api.github.com/repos/exploratory-io/exploratory_func/assignees{/user}","branches_url":"https://api.github.com/repos/exploratory-io/exploratory_func/branches{/branch}","tags_url":"https://api.github.com/repos/exploratory-io/exploratory_func/tags","blobs_url":"https://api.github.com/repos/exploratory-io/exploratory_func/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exploratory-io/exploratory_func/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exploratory-io/exploratory_func/git/refs{/sha}","trees_url":"https://api.github.com/repos/exploratory-io/exploratory_func/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exploratory-io/exploratory_func/statuses/{sha}","languages_url":"https://api.github.com/repos/exploratory-io/exploratory_func/languages","stargazers_url":"https://api.github.com/repos/exploratory-io/exploratory_func/stargazers","contributors_url":"https://api.github.com/repos/exploratory-io/exploratory_func/contributors","subscribers_url":"https://api.github.com/repos/exploratory-io/exploratory_func/subscribers","subscription_url":"https://api.github.com/repos/exploratory-io/exploratory_func/subscription","commits_url":"https://api.github.com/repos/exploratory-io/exploratory_func/commits{/sha}","git_commits_url":"https://api.github.com/repos/exploratory-io/exploratory_func/git/commits{/sha}","comments_url":"https://api.github.com/repos/exploratory-io/exploratory_func/comments{/number}","issue_comment_url":"https://api.github.com/repos/exploratory-io/exploratory_func/issues/comments{/number}","contents_url":"https://api.github.com/repos/exploratory-io/exploratory_func/contents/{+path}","compare_url":"https://api.github.com/repos/exploratory-io/exploratory_func/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exploratory-io/exploratory_func/merges","archive_url":"https://api.github.com/repos/exploratory-io/exploratory_func/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exploratory-io/exploratory_func/downloads","issues_url":"https://api.github.com/repos/exploratory-io/exploratory_func/issues{/number}","pulls_url":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls{/number}","milestones_url":"https://api.github.com/repos/exploratory-io/exploratory_func/milestones{/number}","notifications_url":"https://api.github.com/repos/exploratory-io/exploratory_func/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exploratory-io/exploratory_func/labels{/name}","releases_url":"https://api.github.com/repos/exploratory-io/exploratory_func/releases{/id}","deployments_url":"https://api.github.com/repos/exploratory-io/exploratory_func/deployments","created_at":"2016-05-13T20:14:49Z","updated_at":"2018-09-13T03:47:10Z","pushed_at":"2018-09-13T04:42:40Z","git_url":"git://github.com/exploratory-io/exploratory_func.git","ssh_url":"git@github.com:exploratory-io/exploratory_func.git","clone_url":"https://github.com/exploratory-io/exploratory_func.git","svn_url":"https://github.com/exploratory-io/exploratory_func","homepage":null,"size":2382,"stargazers_count":36,"watchers_count":36,"language":"R","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":7,"open_issues":9,"watchers":36,"default_branch":"master"}},"base":{"label":"exploratory-io:master","ref":"master","sha":"57e4a36031801265bb57134168dee982fd2a1c5c","user":{"login":"exploratory-io","id":17174641,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTc0NjQx","avatar_url":"https://avatars1.githubusercontent.com/u/17174641?v=4","gravatar_id":"","url":"https://api.github.com/users/exploratory-io","html_url":"https://github.com/exploratory-io","followers_url":"https://api.github.com/users/exploratory-io/followers","following_url":"https://api.github.com/users/exploratory-io/following{/other_user}","gists_url":"https://api.github.com/users/exploratory-io/gists{/gist_id}","starred_url":"https://api.github.com/users/exploratory-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exploratory-io/subscriptions","organizations_url":"https://api.github.com/users/exploratory-io/orgs","repos_url":"https://api.github.com/users/exploratory-io/repos","events_url":"https://api.github.com/users/exploratory-io/events{/privacy}","received_events_url":"https://api.github.com/users/exploratory-io/received_events","type":"Organization","site_admin":false},"repo":{"id":58769613,"node_id":"MDEwOlJlcG9zaXRvcnk1ODc2OTYxMw==","name":"exploratory_func","full_name":"exploratory-io/exploratory_func","owner":{"login":"exploratory-io","id":17174641,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTc0NjQx","avatar_url":"https://avatars1.githubusercontent.com/u/17174641?v=4","gravatar_id":"","url":"https://api.github.com/users/exploratory-io","html_url":"https://github.com/exploratory-io","followers_url":"https://api.github.com/users/exploratory-io/followers","following_url":"https://api.github.com/users/exploratory-io/following{/other_user}","gists_url":"https://api.github.com/users/exploratory-io/gists{/gist_id}","starred_url":"https://api.github.com/users/exploratory-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exploratory-io/subscriptions","organizations_url":"https://api.github.com/users/exploratory-io/orgs","repos_url":"https://api.github.com/users/exploratory-io/repos","events_url":"https://api.github.com/users/exploratory-io/events{/privacy}","received_events_url":"https://api.github.com/users/exploratory-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exploratory-io/exploratory_func","description":"R functions for Exploratory","fork":false,"url":"https://api.github.com/repos/exploratory-io/exploratory_func","forks_url":"https://api.github.com/repos/exploratory-io/exploratory_func/forks","keys_url":"https://api.github.com/repos/exploratory-io/exploratory_func/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exploratory-io/exploratory_func/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exploratory-io/exploratory_func/teams","hooks_url":"https://api.github.com/repos/exploratory-io/exploratory_func/hooks","issue_events_url":"https://api.github.com/repos/exploratory-io/exploratory_func/issues/events{/number}","events_url":"https://api.github.com/repos/exploratory-io/exploratory_func/events","assignees_url":"https://api.github.com/repos/exploratory-io/exploratory_func/assignees{/user}","branches_url":"https://api.github.com/repos/exploratory-io/exploratory_func/branches{/branch}","tags_url":"https://api.github.com/repos/exploratory-io/exploratory_func/tags","blobs_url":"https://api.github.com/repos/exploratory-io/exploratory_func/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exploratory-io/exploratory_func/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exploratory-io/exploratory_func/git/refs{/sha}","trees_url":"https://api.github.com/repos/exploratory-io/exploratory_func/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exploratory-io/exploratory_func/statuses/{sha}","languages_url":"https://api.github.com/repos/exploratory-io/exploratory_func/languages","stargazers_url":"https://api.github.com/repos/exploratory-io/exploratory_func/stargazers","contributors_url":"https://api.github.com/repos/exploratory-io/exploratory_func/contributors","subscribers_url":"https://api.github.com/repos/exploratory-io/exploratory_func/subscribers","subscription_url":"https://api.github.com/repos/exploratory-io/exploratory_func/subscription","commits_url":"https://api.github.com/repos/exploratory-io/exploratory_func/commits{/sha}","git_commits_url":"https://api.github.com/repos/exploratory-io/exploratory_func/git/commits{/sha}","comments_url":"https://api.github.com/repos/exploratory-io/exploratory_func/comments{/number}","issue_comment_url":"https://api.github.com/repos/exploratory-io/exploratory_func/issues/comments{/number}","contents_url":"https://api.github.com/repos/exploratory-io/exploratory_func/contents/{+path}","compare_url":"https://api.github.com/repos/exploratory-io/exploratory_func/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exploratory-io/exploratory_func/merges","archive_url":"https://api.github.com/repos/exploratory-io/exploratory_func/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exploratory-io/exploratory_func/downloads","issues_url":"https://api.github.com/repos/exploratory-io/exploratory_func/issues{/number}","pulls_url":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls{/number}","milestones_url":"https://api.github.com/repos/exploratory-io/exploratory_func/milestones{/number}","notifications_url":"https://api.github.com/repos/exploratory-io/exploratory_func/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exploratory-io/exploratory_func/labels{/name}","releases_url":"https://api.github.com/repos/exploratory-io/exploratory_func/releases{/id}","deployments_url":"https://api.github.com/repos/exploratory-io/exploratory_func/deployments","created_at":"2016-05-13T20:14:49Z","updated_at":"2018-09-13T03:47:10Z","pushed_at":"2018-09-13T04:42:40Z","git_url":"git://github.com/exploratory-io/exploratory_func.git","ssh_url":"git@github.com:exploratory-io/exploratory_func.git","clone_url":"https://github.com/exploratory-io/exploratory_func.git","svn_url":"https://github.com/exploratory-io/exploratory_func","homepage":null,"size":2382,"stargazers_count":36,"watchers_count":36,"language":"R","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":7,"open_issues":9,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/484"},"html":{"href":"https://github.com/exploratory-io/exploratory_func/pull/484"},"issue":{"href":"https://api.github.com/repos/exploratory-io/exploratory_func/issues/484"},"comments":{"href":"https://api.github.com/repos/exploratory-io/exploratory_func/issues/484/comments"},"review_comments":{"href":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/484/comments"},"review_comment":{"href":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exploratory-io/exploratory_func/pulls/484/commits"},"statuses":{"href":"https://api.github.com/repos/exploratory-io/exploratory_func/statuses/d2cddcc058e40ed6590f71b58c7ba1916d46e27a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"hideaki"}}