{"action":"reopened","issue":{"url":"https://api.github.com/repos/boost-R/mboost/issues/47","repository_url":"https://api.github.com/repos/boost-R/mboost","labels_url":"https://api.github.com/repos/boost-R/mboost/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/boost-R/mboost/issues/47/comments","events_url":"https://api.github.com/repos/boost-R/mboost/issues/47/events","html_url":"https://github.com/boost-R/mboost/issues/47","id":172934909,"number":47,"title":"bols for factors with unobserved levels breaks","user":{"login":"hofnerb","id":8823088,"avatar_url":"https://avatars.githubusercontent.com/u/8823088?v=3","gravatar_id":"","url":"https://api.github.com/users/hofnerb","html_url":"https://github.com/hofnerb","followers_url":"https://api.github.com/users/hofnerb/followers","following_url":"https://api.github.com/users/hofnerb/following{/other_user}","gists_url":"https://api.github.com/users/hofnerb/gists{/gist_id}","starred_url":"https://api.github.com/users/hofnerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hofnerb/subscriptions","organizations_url":"https://api.github.com/users/hofnerb/orgs","repos_url":"https://api.github.com/users/hofnerb/repos","events_url":"https://api.github.com/users/hofnerb/events{/privacy}","received_events_url":"https://api.github.com/users/hofnerb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/boost-R/mboost/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"hofnerb","id":8823088,"avatar_url":"https://avatars.githubusercontent.com/u/8823088?v=3","gravatar_id":"","url":"https://api.github.com/users/hofnerb","html_url":"https://github.com/hofnerb","followers_url":"https://api.github.com/users/hofnerb/followers","following_url":"https://api.github.com/users/hofnerb/following{/other_user}","gists_url":"https://api.github.com/users/hofnerb/gists{/gist_id}","starred_url":"https://api.github.com/users/hofnerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hofnerb/subscriptions","organizations_url":"https://api.github.com/users/hofnerb/orgs","repos_url":"https://api.github.com/users/hofnerb/repos","events_url":"https://api.github.com/users/hofnerb/events{/privacy}","received_events_url":"https://api.github.com/users/hofnerb/received_events","type":"User","site_admin":false},"assignees":[{"login":"hofnerb","id":8823088,"avatar_url":"https://avatars.githubusercontent.com/u/8823088?v=3","gravatar_id":"","url":"https://api.github.com/users/hofnerb","html_url":"https://github.com/hofnerb","followers_url":"https://api.github.com/users/hofnerb/followers","following_url":"https://api.github.com/users/hofnerb/following{/other_user}","gists_url":"https://api.github.com/users/hofnerb/gists{/gist_id}","starred_url":"https://api.github.com/users/hofnerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hofnerb/subscriptions","organizations_url":"https://api.github.com/users/hofnerb/orgs","repos_url":"https://api.github.com/users/hofnerb/repos","events_url":"https://api.github.com/users/hofnerb/events{/privacy}","received_events_url":"https://api.github.com/users/hofnerb/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-24T12:09:47Z","updated_at":"2016-08-24T16:00:25Z","closed_at":null,"body":"```r\r\nlibrary(\"mboost\")\r\nz <- factor(sample(1:5, 100, replace = TRUE), levels = 1:6)\r\ny <- rnorm(100)\r\nmboost(y ~ bols(z))\r\n## Error in solve.default(XtX, crossprod(X, y), LINPACK = FALSE) : \r\n##  Lapack routine dgesv: system is exactly singular: U[6,6] = 0\r\n\r\nz <- droplevels(z)\r\nmboost(y ~ bols(z)) # works\r\n```\r\n\r\nThus, perhaps we should use `droplevels()` within `bols` and issue a warning if any levels are dropped."}}
{"actor":{"display_login":"sbrockhaus"}}