Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generateDesignOfDefaults does not handle parameters that are invalid R variable names #166

Open
mb706 opened this issue Mar 11, 2017 · 0 comments

Comments

@mb706
Copy link
Collaborator

mb706 commented Mar 11, 2017

Discovered by MariaErdmann in mlr issue #1637. If a parameter contains characters that can not be part of a data.frame column name, they are usually replaced by dots. (Most parts of ParamHelpers handle this correctly.) However, some part of generateDesignOfDefaults gets confused somewhere along the way.

> generateDesignOfDefaults(makeParamSet(makeLogicalParam("a-b", default=TRUE)))
Error in as(des[, p], types[p]) : 
  no method or default for coercinglogicaltoNA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant