Why does Caret featurePlot returns returns NULL?
I had this problem due to my y variable not being a factor which is required. call:

typeof(df$ud)


make sure it is not interpreting the binary as character or numeric but indeed ad a factor.