generateDesign(n = 0) fails
Opened this issue · 3 comments
mb706 commented
> 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 commented
do we have to change this here? or rather in paradox? is this really pressing in PH?
berndbischl commented
or does this create a known bug?
mb706 commented
It doesn't create any problems in other packages that I am aware of, but it is an inconsistency in itself.