Does this work:
library(dplyr)
df %>% group_by(Category) %>%
mutate(description = str_c('"',description, '"')) %>%
summarise(description = str_c('(',toString(description),')'))
`summarise()` ungrouping output (override with `.groups` argument)
# A tibble: 3 x 2
Category description
<chr> <chr>
1 Analysis "(\"This is one\", \"This is four\")"
2 Hybrid "(\"This is two\", \"This is six\")"
3 Other "(\"This is three\", \"This is five\")"
cat(x$description)
("This is one", "This is four") ("This is two", "This is six") ("This is three", "This is five")
Data used:
dput(df)
structure(list(Category = c("Analysis", "Hybrid", "Other", "Analysis",
"Other", "Hybrid"), description = c("This is one", "This is two",
"This is three", "This is four", "This is five", "This is six"
)), class = c("spec_tbl_df", "tbl_df", "tbl", "data.frame"), row.names = c(NA,
-6L), spec = structure(list(cols = list(Category = structure(list(), class = c("collector_character",
"collector")), description = structure(list(), class = c("collector_character",
"collector"))), default = structure(list(), class = c("collector_guess",
"collector")), skip = 1L), class = "col_spec"))