Remove caret dependency
erikcs opened this issue · comments
Erik Sverdrup commented
caret is being used only 3 places to center and scale a matrix
https://github.com/som-shahlab/survmetabench/blob/master/survlearners/R/slasso_surv.R#L52
https://github.com/som-shahlab/survmetabench/blob/master/survlearners/R/rlasgrf.R#L75
https://github.com/som-shahlab/survmetabench/blob/master/survlearners/R/rlasso.R#L67
this seems like something that can easily be done with Base R and caret can be deleted