{"action":"closed","issue":{"url":"https://api.github.com/repos/protViz/quantable/issues/5","repository_url":"https://api.github.com/repos/protViz/quantable","labels_url":"https://api.github.com/repos/protViz/quantable/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/protViz/quantable/issues/5/comments","events_url":"https://api.github.com/repos/protViz/quantable/issues/5/events","html_url":"https://github.com/protViz/quantable/issues/5","id":306204838,"node_id":"MDU6SXNzdWUzMDYyMDQ4Mzg=","number":5,"title":"using factors in caret::confusionMatrix","user":{"login":"topepo","id":5731043,"node_id":"MDQ6VXNlcjU3MzEwNDM=","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},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-18T01:23:32Z","updated_at":"2018-05-31T13:13:55Z","closed_at":"2018-05-31T13:13:55Z","author_association":"NONE","body":"The version of caret being sent to CRAN (6.0-79) has a change that affects your package. The details are here: \r\n\r\n   https://github.com/topepo/caret/commit/e4dc43d679f25f7289b835c29dfbae1527c7f880 \r\n\r\nIn summary, when creating a confusion matrix using two vectors, the input data are now required to be factors with the same levels. If this is an issue, you can get around it by creating a table and using `confusionMatrix.table` to get around the requirement.   \r\n\r\nThe issues for your respective packages are shown below. When you submit to CRAN, please make sure that the dependency has `caret (>= 6.0-79)`.  \r\n\r\nLet me know if you have any questions.  \r\n\r\nThanks, \r\n\r\nMax \r\n\r\n```\r\n    ...\r\n    \r\n    > ### Name: determineCut\r\n    > ### Title: determine best Accuracy cuttoff\r\n    > ### Aliases: determineCut\r\n    > \r\n    > ### ** Examples\r\n    > \r\n    > library(pROC)\r\n    Type 'citation(\"pROC\")' for a citation.\r\n    \r\n    Attaching package: ‘pROC’\r\n    \r\n    The following objects are masked from ‘package:stats’:\r\n    \r\n        cov, smooth, var\r\n    \r\n    > cases <- rnorm(100,-1,1.1)\r\n    > controls <- rnorm(500,1,1.1)\r\n    > cut <- determineCut(cases,controls)\r\n    Error: `data` and `reference` should be factors with the same levels.\r\n    Execution halted\r\n ```\r\n"}}
{"actor":{"display_login":"wolski"}}