The idea is to add quotation marks for all strings inside an string list representation.
Tried the next:
input_text <- "[innovation manager, manager director, senior manager]"
scan(text=input_text, what="")
Which returns:
'[innovation" "manager," "manager" "director," "senior" "manager]'
Expected output could look like this:
'["innovation manager", "manager director", "senior manager"]'
What am I missing?