{"action":"created","issue":{"url":"https://api.github.com/repos/topepo/caret/issues/762","repository_url":"https://api.github.com/repos/topepo/caret","labels_url":"https://api.github.com/repos/topepo/caret/issues/762/labels{/name}","comments_url":"https://api.github.com/repos/topepo/caret/issues/762/comments","events_url":"https://api.github.com/repos/topepo/caret/issues/762/events","html_url":"https://github.com/topepo/caret/issues/762","id":268706997,"number":762,"title":"could not find function \"kernlab::vanilladot\"","user":{"login":"vermouthmjl","id":3142085,"avatar_url":"https://avatars0.githubusercontent.com/u/3142085?v=4","gravatar_id":"","url":"https://api.github.com/users/vermouthmjl","html_url":"https://github.com/vermouthmjl","followers_url":"https://api.github.com/users/vermouthmjl/followers","following_url":"https://api.github.com/users/vermouthmjl/following{/other_user}","gists_url":"https://api.github.com/users/vermouthmjl/gists{/gist_id}","starred_url":"https://api.github.com/users/vermouthmjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vermouthmjl/subscriptions","organizations_url":"https://api.github.com/users/vermouthmjl/orgs","repos_url":"https://api.github.com/users/vermouthmjl/repos","events_url":"https://api.github.com/users/vermouthmjl/events{/privacy}","received_events_url":"https://api.github.com/users/vermouthmjl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-26T10:25:54Z","updated_at":"2017-11-05T14:16:11Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nI stumbled on \"Stopping\" when doing something similar to this:\r\n```\r\nrequire(caret)\r\nset.seed(42)\r\ndata_temp = data.frame(yvalue = rnorm(50),\r\n                       X = rnorm(50))\r\n\r\ntemp = caret::train(\r\n  form = yvalue~X , data = data_temp, \r\n  method = \"gaussprLinear\", \r\n  trControl = caret::trainControl(method = \"cv\"))\r\n```\r\nThis code gives several warnings like\r\n```\r\n10: model fit failed for Fold10: parameter=none Error in `kernlab::vanilladot`() : \r\n  could not find function \"kernlab::vanilladot\"\r\n```\r\n\r\nBy comparing the other places in the package where vanilladot is used, I think there might just need a parenthesis in this line:\r\nhttps://github.com/topepo/caret/blob/6adf7faa6a9c3d7f50be415dda79e1273d9b1463/models/files/gaussprLinear.R#L11\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/topepo/caret/issues/comments/341976263","html_url":"https://github.com/topepo/caret/issues/762#issuecomment-341976263","issue_url":"https://api.github.com/repos/topepo/caret/issues/762","id":341976263,"user":{"login":"topepo","id":5731043,"avatar_url":"https://avatars1.githubusercontent.com/u/5731043?v=4","gravatar_id":"","url":"https://api.github.com/users/topepo","html_url":"https://github.com/topepo","followers_url":"https://api.github.com/users/topepo/followers","following_url":"https://api.github.com/users/topepo/following{/other_user}","gists_url":"https://api.github.com/users/topepo/gists{/gist_id}","starred_url":"https://api.github.com/users/topepo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topepo/subscriptions","organizations_url":"https://api.github.com/users/topepo/orgs","repos_url":"https://api.github.com/users/topepo/repos","events_url":"https://api.github.com/users/topepo/events{/privacy}","received_events_url":"https://api.github.com/users/topepo/received_events","type":"User","site_admin":false},"created_at":"2017-11-05T14:16:11Z","updated_at":"2017-11-05T14:16:11Z","author_association":"OWNER","body":"I'm shooting for the end of the month. "}}
{"actor":{"display_login":"topepo"}}