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

generateDesign(n = 0) fails #223

Open
mb706 opened this issue Dec 17, 2019 · 3 comments
Open

generateDesign(n = 0) fails #223

mb706 opened this issue Dec 17, 2019 · 3 comments

Comments

@mb706
Copy link
Collaborator

mb706 commented Dec 17, 2019

> generateDesign(n = 0, par.set = makeParamSet(makeLogicalParam("x")))
Error in (function (n, k, preserveDraw = FALSE)  : 
  Invalid Argument: n and k must be integers > 0, n=0 k=1

This should return a 0-row data.frame.

@berndbischl
Copy link
Sponsor Member

do we have to change this here? or rather in paradox? is this really pressing in PH?

@berndbischl
Copy link
Sponsor Member

or does this create a known bug?

@mb706
Copy link
Collaborator Author

mb706 commented Dec 18, 2019

It doesn't create any problems in other packages that I am aware of, but it is an inconsistency in itself.

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

2 participants