format a map.
map_to_char(mp, ..., sep = " ", assignment = "=", quote_fn = base::shQuote)
mp | named vector or list |
---|---|
... | not used, foce later arguments to bind by name. |
sep | separator suffix, what to put after commas |
assignment | assignment string |
quote_fn | string quoting function |
character formatted representation
#> c('a' = 'b', 'c' = 'd')#> c('a' = 'b', 'd', 'e' = 'f')#> c('a' = 'b', 'd' = NA, 'e' = 'f')#> c('1', NA, '2')