r check dataframe column type