Closed g-rho closed 2 years ago
Thanks for the PR. Please update the condition of the if-statement as follows:
if ( isTRUE(currenttask$task$properties == "twoclass") ) {}
Otherwise, for regression the statement will throw an error as the task$properties is logical(0) and thus argument in if-statement is of length zero