This is most useful for generating a specification using the short form
as.col_spec(x)Input object
as.col_spec("cccnnn")
#> cols(
#> col_character(),
#> col_character(),
#> col_character(),
#> col_number(),
#> col_number(),
#> col_number()
#> )