RStudio diagnostics is flagging single quote string delimitation as unexpected token error

(topic deleted by author)