Used to check the input data format
testdata(X, y, model = NA)
X
should be a data frame or data.table
y
should be a string specifying the dependent variable
null