I am trying to use Caret\'s rfe function to do feature selection. My code worked not even a few days ago. Now I am getting a subscript of of bounds error. The weird part is