as.col_spec function

Generate a column specification