is.numeric(x) is not TRUE when all data is numeric

You are asking a lot for us to critique code which we cant see ... :slight_smile: