Check to make sure matrices never drop
skent259 opened this issue · comments
Sean Kent commented
Adjust code to use X[ , ,drop = FALSE] when subsetting matrices (and non-tibble data frames) to make sure that the 2D structure is maintained. (from https://tidymodels.github.io/model-implementation-principles/function-interfaces.html)