library(tidyverse)
# toy data
df <- tibble(v = c(-3:3))
df
#> # A tibble: 7 x 1
#> v
#> <int>
#> 1 -3
#> 2 -2
#> 3 -1
#> 4 0
#> 5 1
#> 6 2
#> 7 3
Given the above data, how can I achieve the following?
#> # A tibble: 1 x 1
#> wanted
#> <chr>
#> 1 '-3', '-2', '-1', '0', '1', '2', '3'
Note that every number is surrounder by ''
and separated by a comma.