Error in `[.data.table`(xdt, , search_space$ids(), with = FALSE) :
column(s) not found: y
This error message looks like an internal bug and not like the user did something wrong. This is especially confusing when the search space has dependencies and y is not feasible (but the call still needs the y column to contain an NA). It would be nicer if the error message were something like error in eval_batch: colnames(xdt) must include {'x', 'y'} etc.; I believe assert_names does that.
gives error
This error message looks like an internal bug and not like the user did something wrong. This is especially confusing when the search space has dependencies and y is not feasible (but the call still needs the
y
column to contain anNA
). It would be nicer if the error message were something likeerror in eval_batch: colnames(xdt) must include {'x', 'y'}
etc.; I believe assert_names does that.