Support caret::train() object as input to earth2sas()