{"action":"created","issue":{"url":"https://api.github.com/repos/ucbrise/clipper/issues/396","repository_url":"https://api.github.com/repos/ucbrise/clipper","labels_url":"https://api.github.com/repos/ucbrise/clipper/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/ucbrise/clipper/issues/396/comments","events_url":"https://api.github.com/repos/ucbrise/clipper/issues/396/events","html_url":"https://github.com/ucbrise/clipper/issues/396","id":293496334,"number":396,"title":"Dependency issues while building R model","user":{"login":"vivekka93","id":19610087,"avatar_url":"https://avatars3.githubusercontent.com/u/19610087?v=4","gravatar_id":"","url":"https://api.github.com/users/vivekka93","html_url":"https://github.com/vivekka93","followers_url":"https://api.github.com/users/vivekka93/followers","following_url":"https://api.github.com/users/vivekka93/following{/other_user}","gists_url":"https://api.github.com/users/vivekka93/gists{/gist_id}","starred_url":"https://api.github.com/users/vivekka93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivekka93/subscriptions","organizations_url":"https://api.github.com/users/vivekka93/orgs","repos_url":"https://api.github.com/users/vivekka93/repos","events_url":"https://api.github.com/users/vivekka93/events{/privacy}","received_events_url":"https://api.github.com/users/vivekka93/received_events","type":"User","site_admin":false},"labels":[{"id":470184985,"url":"https://api.github.com/repos/ucbrise/clipper/labels/type:%20bug","name":"type: bug","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"Corey-Zumar","id":5203667,"avatar_url":"https://avatars0.githubusercontent.com/u/5203667?v=4","gravatar_id":"","url":"https://api.github.com/users/Corey-Zumar","html_url":"https://github.com/Corey-Zumar","followers_url":"https://api.github.com/users/Corey-Zumar/followers","following_url":"https://api.github.com/users/Corey-Zumar/following{/other_user}","gists_url":"https://api.github.com/users/Corey-Zumar/gists{/gist_id}","starred_url":"https://api.github.com/users/Corey-Zumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Corey-Zumar/subscriptions","organizations_url":"https://api.github.com/users/Corey-Zumar/orgs","repos_url":"https://api.github.com/users/Corey-Zumar/repos","events_url":"https://api.github.com/users/Corey-Zumar/events{/privacy}","received_events_url":"https://api.github.com/users/Corey-Zumar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Corey-Zumar","id":5203667,"avatar_url":"https://avatars0.githubusercontent.com/u/5203667?v=4","gravatar_id":"","url":"https://api.github.com/users/Corey-Zumar","html_url":"https://github.com/Corey-Zumar","followers_url":"https://api.github.com/users/Corey-Zumar/followers","following_url":"https://api.github.com/users/Corey-Zumar/following{/other_user}","gists_url":"https://api.github.com/users/Corey-Zumar/gists{/gist_id}","starred_url":"https://api.github.com/users/Corey-Zumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Corey-Zumar/subscriptions","organizations_url":"https://api.github.com/users/Corey-Zumar/orgs","repos_url":"https://api.github.com/users/Corey-Zumar/repos","events_url":"https://api.github.com/users/Corey-Zumar/events{/privacy}","received_events_url":"https://api.github.com/users/Corey-Zumar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-01T11:31:49Z","updated_at":"2018-02-05T03:21:58Z","closed_at":null,"author_association":"NONE","body":"While deploying a trained randomForest model in R, I come across the following error:\r\n`Error in .local(e, collector, basedir, reset, formulaInputs, ...) : \r\n  don't know about randomForest.formularandomForest\r\n`\r\n\r\nSteps to reproduce:\r\nTrain a randomForest classifier on a sample data\r\n```\r\nlibrary(randomForest)\r\ninput_data <- read.csv('sample.csv')\r\nmodel <- randomForest(churn~., data = input_data, keep.forest=TRUE)\r\n```\r\nWrap the model in a function\r\n```\r\nmodel_wrap <- function(input){\r\n  output <- predict(model, input)\r\n  return(output)\r\n}\r\n```\r\nBuild the model\r\n```\r\nRclipper::build_model(\"test-model\", \"1\", model_wrap, sample_input = input_data[1,])\r\n```\r\nAbove step throws the error\r\n```\r\nError in .local(e, collector, basedir, reset, formulaInputs, ...) : \r\n  don't know about randomForest.formularandomForest\r\n```"},"comment":{"url":"https://api.github.com/repos/ucbrise/clipper/issues/comments/362971635","html_url":"https://github.com/ucbrise/clipper/issues/396#issuecomment-362971635","issue_url":"https://api.github.com/repos/ucbrise/clipper/issues/396","id":362971635,"user":{"login":"Corey-Zumar","id":5203667,"avatar_url":"https://avatars0.githubusercontent.com/u/5203667?v=4","gravatar_id":"","url":"https://api.github.com/users/Corey-Zumar","html_url":"https://github.com/Corey-Zumar","followers_url":"https://api.github.com/users/Corey-Zumar/followers","following_url":"https://api.github.com/users/Corey-Zumar/following{/other_user}","gists_url":"https://api.github.com/users/Corey-Zumar/gists{/gist_id}","starred_url":"https://api.github.com/users/Corey-Zumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Corey-Zumar/subscriptions","organizations_url":"https://api.github.com/users/Corey-Zumar/orgs","repos_url":"https://api.github.com/users/Corey-Zumar/repos","events_url":"https://api.github.com/users/Corey-Zumar/events{/privacy}","received_events_url":"https://api.github.com/users/Corey-Zumar/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T03:21:58Z","updated_at":"2018-02-05T03:21:58Z","author_association":"CONTRIBUTOR","body":"@dcrankshaw I haven't seen this before. Will look into it."}}
{"actor":{"display_login":"Corey-Zumar"}}